Problem converting fluent mesh
Hi everybody,
A client gave me a fluent mesh, to try the case in OpenFOAM. I tried to use fluentMeshToFoam and got the error message: Dimension of grid: 3 Number of points: 31955 Reading points Number of cells: 158329 Reading uniform cells number of faces: 326387 Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data Reading zone data FINISHED LEXING dimension of grid: 3 Creating shapes for 3-D cells --> FOAM FATAL ERROR : Cannot find match for face 1. Model: tet model face: 3(0 3 2) Mesh faces: 4 ( 3(-1 16435 12859) 3(12859 12868 16435) 3(12871 12868 12859) 3(12868 12871 16435) ) Matched points: 4(-1 -1 16435 12859) From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID) in file create3DCellShape.C at line 281. FOAM aborting Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) Foam::error::abort() fluentMeshToFoam [0x804ffe6] fluentMeshToFoam [0x80558ff] __libc_start_main __gxx_personality_v0 Abort Does someone know what is going wrong? Please notice I'm not famiiar with fluent format so I don't know what's wrong either the mesh or the converter. However the mesh looks to run fine under Fluent. Help would be much appreciated. Vincent |
Hello all,
I got the same e
Hello all,
I got the same error error message when converting mesh from fluent.But it is starnge that I already converted the same mesh by 'fluentmeshToFoam' a few days ago and now that mesh conversion does not work. The error is as follows: --> FOAM FATAL ERROR : Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces: 4 ( 4(786 1968 1563 415) 4(1563 1968 1362 1263) 4(1362 1968 786 154) 4(154 786 415 63) ) #0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) #1 Foam::error::abort() #2 Foam::create3DCellShape(int, Foam::List<int> const&, Foam::List<foam::face> const&, Foam::List<int> const&, Foam::List<int> const&, int) #3 main #4 __libc_start_main #5 __gxx_personality_v0 I have been doing stuff with fluentMeshtoFoam.L which is posted in other forums ,maybe that is the reason it stopped working.But I copied the original file again and compiled then also the same error is shown. Can anybody help me with this. Mayank. |
Hi I got a similar Problem wit
Hi I got a similar Problem with OpenFoam-1.4
error with fluentMeshToFoam.L from OpenFoam-1.4: dimension of grid: 3 Creating shapes for 3-D cells --> FOAM FATAL ERROR : Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces: 4 ( 4(4046 5039 5022 3597) 4(5022 5039 12844 11579) 4(5039 4046 12832 12844) 4(4046 3597 11580 12832) ) #0 Foam::error::printStack #1 Foam::error::abort #2 Foam::create3DCellShape(int, Foam::List<int> const&, Foam::List<foam::face> const&, Foam::List<int> const&, Foam::List<int> const&, int) #3 main #4 __libc_start_main #5 __gxx_personality_v0 at ../sysdeps/x86_64/elf/start.S:116 From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID) in file create3DCellShape.C at line 186. FOAM aborting Aborted If I use fluentMeshToFoam.L from OpenFoam-1.3 with OpenFOAM-1.4 I get the following error: --> FOAM FATAL ERROR : Trying to add 5th face to a cell with 4 faces. Face index: 7101 Current faces: 4(5888 7098 7099 7100)#0 Foam::error::printStack #1 Foam::error::abort #2 main #3 __libc_start_main #4 __gxx_personality_v0 at ../sysdeps/x86_64/elf/start.S:116 From function fluentMeshToFoam in file fluentMeshToFoam.L at line 907. FOAM aborting If I use OpenFOAM 1.3 I the conversion works. I thought the problem is within fluentMeshToFoam.L, but this doesn't seem to be the case. Where do I have to dig to find more information? Jens |
sorry but I'm a newbie in Open
sorry but I'm a newbie in OpenFoam.
Why don't you use gambitToFoam to import your mesh in OpenFoam? I do this in gambit: - create mesh - change solver to "generic" - create patches with differents name (wall, inlet, ...) and the same type: "ELEMENT_SIDE" - use gambitToMesh to convert mesh - In FoamX define the patch types bye Davide |
Hy Davide,
because I didn't
Hy Davide,
because I didn't create the mesh myself and I just have *.msh file. And it worked with OpenFOAM-1.3 but not with OpenFOAM-1.4. Best regards Jens |
Convert it with OF 1.3 and the
Convert it with OF 1.3 and then use it with 1.4
Is a workaround, I know, but it could work... Francesco |
I don't know if this can help
I don't know if this can help you.....
another workaround: if you have a .msh (or .cas) file import in gambit the mesh (file>import>mesh) after do this: - change solver to "generic" - create patches with differents name (wall, inlet, ...) and the same type: "ELEMENT_SIDE" - use gambitToMesh to convert mesh - In FoamX define the patch types bye Davide |
@Francesco this workarounds wo
@Francesco this workarounds works. Thank you!
@Davide thanks for your hints @all: I don't want workarounds. I actually want to know, why it worked with OF-1.3 and not with OF-1.4. Maybe Mattijs, Henry, Eugene or Hrv has a hint where to dig further to get this bug. Jens |
The file create3DCellShape.C h
The file create3DCellShape.C has not changed, which means there is a problem with the parsing. Run a diff on fluentMeshToFoam.L and start chasing it from there.
I would assume the face belongs to a zone that should be ignored - looks silly to add a fifth face on a quad. Hrv |
Yes, indeed within the fluentM
Yes, indeed within the fluentMeshToFoam directory only the fluentMeshToFoam.L has changed. I made a diff, which shows me a lot of changes. But I still have the problem that the fluentMeshToFoam (version OF-1.4) doesn't work with the fluentMeshToFoam.L taken from OF-1.3, which is strange (With OF-1.3 it works.).
Since this is not working I thought the error must come from somewhere else. Regards Jens PS: Don't know if the fluentMeshToFoam (version OF-1.3) works with the fluentMeshToFoam.L taken from OF-1.4? |
Hi all
I hope there is still
Hi all
I hope there is still someone to answer my question on a friday afternoon ... in july ...with this weather (sunny here) ... I created a mesh with Gambit, and importing to OF-1.3. In fact, I just tried to import it; this is the OF message: ..... FINISHED LEXING dimension of grid: 3 Creating shapes for 3-D cells --> FOAM FATAL ERROR : Number of face labels not equal tonumber of face in the model. Number of face labels: 32774 number of faces in model: 6 so, if the number of face labels was close to the number of face in the model, I should correct by hand ... but there I don't know where I can look to understand the problem and then, find a solution. I've defined only 5 BC on gambit so where the 6 and the 32774 come from ? Can anybody help me with this problem before week end? thanks, Cedric |
Hi.
I'm trying to convert fluent mesh to OF. Code:
$ fluentMeshToFoam fluent_V6_ascii_1.msh Code:
$ fluentMeshToFoam fluent_V6_ascii_1.msh |
Don't know why this not written in User Guide. Or I read inattentively?
fluent mesh file was successfully converted to OpenFOAM after 1. creating system folder in folder with fluent file 2. copying any controlDict file to system folder 3. run fluentMeshToFoam <fluent mesh file name> from directory with fluent mesh file. Running from other folder threw fluentMeshToFoam <fluent mesh file path> didn't work for me. |
I have also met this problem in OpenFOAM 1.5, Is there some solution for it?
The error information is as following: FINISHED LEXING dimension of grid: 3 Creating shapes for 3-D cells Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces: 4 ( 0() 0() 0() 0() ) #0 Foam::error::printStack(Foam::Ostream&) in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::Ostream& Foam::operator<< <Foam::error>(Foam::Ostream&, Foam::errorManip<Foam::error>) in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/fluentMeshToFoam" #3 Foam::create3DCellShape(int, Foam::List<int> const&, Foam::List<Foam::face> const&, Foam::List<int> const&, Foam::List<int> const&, int) in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/fluentMeshToFoam" #4 main in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/fluentMeshToFoam" #5 __libc_start_main in "/lib64/libc.so.6" #6 __gxx_personality_v0 in "/opt/bwgrid/cae/openfoam/1.5/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/fluentMeshToFoam" |
Hi
i am new in OpenFOAM. i am trying to convert Fluent mesh file to OpenFOAM by using fluentMeshToFoam command in command prompt but i got "fluentMeshToFoam is not recognized as internal or external command operable program or batch file " massage .Can any one help me on this problem if possible send me step by step Procedure of mesh conversion. thanks Kumavat |
OpenFOAM mesh conversion Problem
Hi
i am new in OpenFOAM. i am trying to convert Fluent mesh file to OpenFOAM by using fluentMeshToFoam command in command prompt but i got "fluentMeshToFoam is not recognized as internal or external command operable program or batch file " massage .Can any one help me on this problem if possible send me step by step Procedure of mesh conversion. thanks Kumavat |
I want to import my gambit mesh to open foam
I did create a case directory but still when i do fluent3DMeshToFoam i obtain " command not find" can anyone please explain to me step by step what must i do? i am a newbie in both openfoam and ubuntu... any help would be welcome. regards zaynah |
hii,
1) put your mesh file in working directory where o, constant ...folders are their . 2)after that go to working directory through command prompt. 3)then type fluent3DMeshToFoam <space> mesh file name. try it.... regards kumavat |
hi
thanks for your quick reply.. i did it but still i get " command not found" |
ok,
after entering into working directory just type fluent and after that tab button (keybord) two times then yes you will get commands which you can use on your system in that search fluent3DMeshToFoam if available then only you can able to convert mesh in your system. Also remember that "fluent3DMeshToFoam" is case sensetive |
All times are GMT -4. The time now is 13:21. |