|
[Sponsors] |
[Commercial meshers] Problem converting fluent mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2007, 06:54 |
Problem converting fluent mesh
|
#1 |
Senior Member
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18 |
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:stream&) 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 |
|
July 3, 2007, 09:21 |
Hello all,
I got the same e
|
#2 |
Guest
Posts: n/a
|
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:stream&) #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. |
|
July 10, 2007, 07:58 |
Hi I got a similar Problem wit
|
#3 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
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 |
|
July 10, 2007, 08:27 |
sorry but I'm a newbie in Open
|
#4 |
Member
Davide Pasini
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
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 |
|
July 10, 2007, 08:55 |
Hy Davide,
because I didn't
|
#5 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
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 |
|
July 10, 2007, 09:11 |
Convert it with OF 1.3 and the
|
#6 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Convert it with OF 1.3 and then use it with 1.4
Is a workaround, I know, but it could work... Francesco |
|
July 10, 2007, 09:28 |
I don't know if this can help
|
#7 |
Member
Davide Pasini
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
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 |
|
July 10, 2007, 10:32 |
@Francesco this workarounds wo
|
#8 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
@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 |
|
July 10, 2007, 10:45 |
The file create3DCellShape.C h
|
#9 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
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
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
July 10, 2007, 11:07 |
Yes, indeed within the fluentM
|
#10 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
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? |
|
July 27, 2007, 10:25 |
Hi all
I hope there is still
|
#11 |
Senior Member
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17 |
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 |
|
August 30, 2011, 03:59 |
|
#12 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
Hi.
I'm trying to convert fluent mesh to OF. Code:
$ fluentMeshToFoam fluent_V6_ascii_1.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : fluentMeshToFoam fluent_V6_ascii_1.msh Date : Aug 30 2011 Time : 10:39:14 Host : debian-toshiba PID : 4364 Case : /home/jenek/msh1/fluentMsh nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM FATAL IO ERROR: cannot find file file: /home/jenek/msh1/fluentMsh/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Code:
$ fluentMeshToFoam fluent_V6_ascii_1.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : fluentMeshToFoam fluent_V6_ascii_1.msh Date : Aug 30 2011 Time : 10:40:48 Host : debian-toshiba PID : 4431 Case : /home/jenek/msh1/fluentMsh nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Serious Error : From function IOobject::readHeader(Istream&) in file db/IOobject/IOobjectReadHeader.C at line 89 Reading "/home/jenek/msh1/fluentMsh/system/controlDict" at line 3 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM FATAL IO ERROR: problem while reading header for object controlDict file: /home/jenek/msh1/fluentMsh/system/controlDict at line 3. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 95. FOAM exiting Last edited by j-avdeev; August 30, 2011 at 04:17. |
|
August 30, 2011, 11:32 |
|
#13 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
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. |
|
November 30, 2011, 04:55 |
|
#14 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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:rintStack(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:perator<< <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" |
|
June 19, 2012, 03:47 |
|
#15 |
New Member
kumawat
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
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 |
|
June 19, 2012, 03:50 |
OpenFOAM mesh conversion Problem
|
#16 |
New Member
kumawat
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
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 |
|
November 17, 2012, 04:30 |
|
#17 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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 |
|
November 17, 2012, 04:47 |
|
#18 |
New Member
kumawat
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
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 |
|
November 17, 2012, 04:57 |
|
#19 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
hi
thanks for your quick reply.. i did it but still i get " command not found" |
|
November 17, 2012, 06:25 |
|
#20 |
New Member
kumawat
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 07:41 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[ICEM] Problem making structured mesh on a surface | froztbear | ANSYS Meshing & Geometry | 4 | November 10, 2011 09:52 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |