STL->GMSH->simpleFoam
Hi,
I'm looking for a simple example in which: - the mesh is generated with gmsh using an STL object; - the computation is made with simpleFoam. In practice, my attempts always lead to a "Floating point exception"... |
Greetings David,
Have you tried to replicate one of OpenFOAM's tutorials for simpleFoam, but using a mesh generated with Gmsh? Have you checked the validity of your mesh after conversion? Try: Code:
checkMesh Bruno |
In fact, the simple "checkMesh" is Ok, the Topology (-allTopology) is also OK, but the the geometry check (-allGeometry) failed.
How can I modify the gmsh file to solve this kind of problem ? Code:
> Face tets OK. |
Hi David,
Mmm... cell determinant zero can lead to some problems... Run the following command: Code:
foamToVTK -cellSet underdeterminedCells edit: sorry, I forgot to mention that once you see the bad cells, you try and increase refinement or orientation on the zone where those cells are having problems. Best regards, Bruno |
All times are GMT -4. The time now is 17:34. |