I have created a mesh where all the units for the input surfaces are in feet. During my meshing process I always used ${Units(‘ft-lbf-s’)} at the beginning of my journal files.
When I export the mesh in exodus format I obtain length dimensions in feet, which is consistent with what I expect.
I would like to know if it would be possible to convert the units of “length” in my mesh from feet to meters before exporting the mesh? See example below.
If this is not possible, then the only way to obtain the mesh in units of meters is to convert the original surface to meters and redo the meshing, correct?
Here’s an example journal file. The key thing to note is that the scales are persistent, so you either have to Transform Mesh Output reset or scale by the inverse of the current scale factor.
reset
brick x 1
mesh vol 1
block 1 vol 1
set exodus netcdf4 off
set large exodus file on
export mesh "unit_1.e" overwrite
transform Mesh Output scale 10
export mesh "unit_10.e" overwrite
transform Mesh Output scale 10
export mesh "unit_100.e" overwrite
transform Mesh Output scale 0.5
export mesh "unit_50.e" overwrite
transform Mesh Output reset
export mesh "unit_1.e" overwrite
Hope you find this helpful!
Greg Vernon | Director of Product Management
Coreform LLC