2D mesh from netgen to OpenFOam
Hello all,
I have created a 2D backward facing step flow and meshed it in netgen. However, when I try to do the netgenNeutralToFoam filename conversion, openFoam abort the process and give me fatal error. --> FOAM FATAL ERROR: face 0 in patch 1 does not have neighbour cell face: 3(2023 0 8) From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 124. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/share/apps/of/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/share/apps/of/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::polyMesh::facePatchFaceCells(Foam::List<Foam ::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const in "/share/apps/of/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so" #3 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<Foam::word> const&, Foam::word const&, Foam::word const&, Foam::List<Foam::word> const&, bool) in "/share/apps/of/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so" #4 main in "/share/apps/of/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/netgenNeutralToFoam" #5 __libc_start_main in "/lib64/libc.so.6" #6 __gxx_personality_v0 in "/share/apps/of/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/netgenNeutralToFoam" Aborted Anyone know why? thanks so much |
same kind of error
Hi,
I have the same kind of error: Code:
--> FOAM FATAL ERROR: Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Hi, I have found out netgen will not create a 2D geometry. If you want 2D case, you should use block mesh. This is how I get around the problem. hope this helps.
Quote:
|
hex (0 1 2 3 4 5 6 7)
Also: (7 6 2 3) |
Thanks
:o:o:o
so sully... place setting of shame... Of course, it works now. I will try not annoying you anymore for that stupid mistakes... |
No problem, blockMesh is a little hard to master because you don't see what you are doing.
What about switching to another program? For example, you can try SALOME, enGrid, gmsh... Just take a look around the forum. |
discretizer
A colleague of mine adviced me on discretizer (http://www.discretizer.org/).
By the way, I have allready so much to learn about OF, I prefer to concentrate on it and not get involved in different software (I also have to learn Linux-Suse, paraFoam,...). 'nice eveaning, Julien |
All times are GMT -4. The time now is 22:30. |