CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Netgen] Netgen - convertToMeters (https://www.cfd-online.com/Forums/openfoam-meshing/132839-netgen-converttometers.html)

mikeR April 7, 2014 04: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 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

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 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 02:18.