CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   Netgen - convertToMeters (http://www.cfd-online.com/Forums/openfoam-meshing-open/132839-netgen-converttometers.html)

mikeR April 7, 2014 05:43

Netgen - convertToMeters
 
I searched the openFoam wiki http://openfoamwiki.net/index.php/NetgenNeutralToFoam and also the nets but couldn't find an awnser:

How do I specify the conversion from pixels to meters in a mesh created with netgen?

cheers!

mikeR April 14, 2014 10:52

does anyone have information on this? I looked alot and found some ways to resize the mesh, but no information how one pixel scales to meters after converting a mesh

alexeym April 14, 2014 11:05

Hi,

I guess, you know sizes of the mesh in pixels. Convert mesh to OpenFOAM format, run checkMesh utility, it will show you dimensions of the mesh:

Code:

...
Checking geometry...
    Overall domain bounding box (x1 y1 z1) (x2 y2 z2)
...

Now you can calculate scaling coefficients.

mikeR April 14, 2014 11:35

thank you. I assume the output of the checkMesh utility is in meter?

alexeym April 14, 2014 11:37

Yes, it's in meters.


All times are GMT -4. The time now is 04:51.