CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (
-   -   Netgen - convertToMeters (

mikeR April 7, 2014 04:43

Netgen - convertToMeters
I searched the openFoam wiki 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?


mikeR April 14, 2014 09: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 10:05


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:


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

Now you can calculate scaling coefficients.

mikeR April 14, 2014 10:35

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

alexeym April 14, 2014 10:37

Yes, it's in meters.

All times are GMT -4. The time now is 19:53.