Hi Cris, After using *gmshToFoam* your channel should have a height of 1186.84 m (since, as far as I know, Gmsh doesn't distinguish units); you can check this by running the *checkMesh* utility and looking at the "Overall domain bounding box" line.
You can scale the whole mesh using the utility transformPoints<http://openfoamwiki.net/index.php/TransformPoints> with the "-scale" option. (there a thread on this topic here<http://www.cfd-online.com/Forums/openfoam-meshing-open/72332-gmsh-units.html> ) I assume you should also be able to do this within Gmsh using the *Dilate* transformation. Hope this helps. Cheers, Felipe -- Felipe Alves Portela MSc student in Aerospace Eng. at TU Delft http://www.linkedin.com/in/felipealvesportela On 11 June 2013 13:58, Cris G <[email protected]>wrote: > Hi everybody, > > the following might be a silly question, however I found it crucial for my > modeling. > > Background: > I have received a *.geo file which contains a channel whose height H is > 1186.84 (in the CAD file this height H is measured in mm). > > I will use OpenFOAM 2.1.1 in order to run my simulations, hence I will > make use of the "gmshToFoam" application to convert the Gmsh file (*.msh) > into an OpenFOAM mesh. In addition, I know that the natural units of > OpenFoam are the MKS system (meter, kilogram, second), thus this leads to > my question: > > > Question: > Once my OpenFOAM mesh is generated by "gmshToFoam", for OpenFoam the > height H of the channel will be 1186.84 meters or 1186.84 mm? > > Best regards, > Cris > > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh > >
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
