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] Importing mesh for complex 2D cases (https://www.cfd-online.com/Forums/openfoam-meshing/61963-importing-mesh-complex-2d-cases.html)

edvardsenpriv December 5, 2005 17:12

Importing mesh for complex 2D cases
 
As I understand OpenFOAM solves cases in 3 dimensions by default, but can be instructed to solve in 2 dimensions by specifying the "empty" boundary condition on boundaries normal to the (3rd) dimension. When using Netgen the only elements that seem to be possible to convert is tet-elements, for which the "empty" boundary condition can not be used (I assume). I had an idea that it maybe was possible to import a surface-mesh, which then could be extruded, but haven't succeded so far. Anyone has good experience in running 2D cases on imported automesh (netgen / other meshers)? sometimes even a 2D geometry gets complex...

Lars

eugene December 6, 2005 04:07

If you have a 2D surface and w
 
If you have a 2D surface and want to make a 2D mesh, you want to use extrudeMesh followed by autoPatch. Of course, tetrahedral elements cannot form a 2D mesh.

edvardsenpriv December 6, 2005 05:23

Thanks, but are you able to i
 
Thanks,
but are you able to import any 2D surface to OpenFOAM (from which mesher?), or do you use blockmesh? I have mainly used Netgen (which can also mesh 2D surface mesh), but in the netgenNeutralToFoam converter, 2D surface seems not yet to be supported.

Lars


All times are GMT -4. The time now is 13:31.