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 |
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.
|
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. |