|
[Sponsors] |
February 25, 2008, 22:19 |
Fluent3DMeshToFoam
|
#1 |
New Member
Simon Vun
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
Hi there,
I have a fluent mesh (.msh) file that i wanted to convert in OF-1.4.1 and when using fluent3DMeshToFoam got the following error: Exec : fluent3DMeshToFoam /home/vuns/OpenFOAM/vuns-1.4.1/run/BluntBody/ BB01 fluent.msh Date : Feb 26 2008 Time : 12:39:10 Host : flightlab4 PID : 17426 Root : /home/vuns/OpenFOAM/vuns-1.4.1/run/BluntBody/ Case : BB01 Nprocs : 1 Create time Dimension of grid: 3 --> FOAM FATAL ERROR : Do not understand characters: From function fluentMeshToFoam::lexer in file fluentMeshToFoam.L at line 703. FOAM exiting However when i used fluentMeshToFoam the converter worked fine. Was just wondering if anyone has seen this before or if i've done something wrong? Thanks Simon. |
|
February 26, 2008, 04:27 |
Is this a mesh only file? We f
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Is this a mesh only file? We found that the '#' character (used in boolean constants) can give problems. Have a look through the file and remove the offending sections or resave as mesh only.
|
|
February 27, 2008, 01:41 |
Hi Mattijs,
Thanks for the
|
#3 |
New Member
Simon Vun
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
Hi Mattijs,
Thanks for the advice because on your recommendation i went into the file and realized it was in a dos format. So just converted the file using "dos2unix" command and it worked. However i've struck another problem but this time with the mesh. Here's the error, Exec : fluent3DMeshToFoam /home/vuns/OpenFOAM/vuns-1.4.1/run/BluntBody/test/ PotentialBB01 fluent.msh Date : Feb 27 2008 Time : 16:33:50 Host : flightlab4 PID : 9037 Root : /home/vuns/OpenFOAM/vuns-1.4.1/run/BluntBody/test/ Case : PotentialBB01 Nprocs : 1 Create time Dimension of grid: 3 Number of points: 55387 PointGroup: 11 start: 0 end: 55386. Reading points...done. Number of cells: 185764 CellGroup: 12 start: 0 end: 185763 type: 1 Number of faces: 408736 FaceGroup: 13 start: 0 end: 395703. Reading mixed faces...done. FaceGroup: 14 start: 395704 end: 395747. Reading uniform faces...done. FaceGroup: 15 start: 395748 end: 395786. Reading uniform faces...done. FaceGroup: 16 start: 395787 end: 399056. Reading mixed faces...done. FaceGroup: 17 start: 399057 end: 399289. Reading uniform faces...done. FaceGroup: 18 start: 399290 end: 399497. Reading uniform faces...done. FaceGroup: 19 start: 399498 end: 401062. Reading uniform faces...done. FaceGroup: 20 start: 401063 end: 408735. Reading uniform faces...done. Zone: 12 name: BODY type: fluid. Reading zone data...done. Zone: 13 name: int_BODY type: interior. Reading zone data...done. Zone: 14 name: INLET type: velocity-inlet. Reading zone data...done. Zone: 15 name: OUTLET type: pressure-outlet. Reading zone data...done. Zone: 16 name: SYMM type: symmetry. Reading zone data...done. Zone: 17 name: SYMM02 type: symmetry. Reading zone data...done. Zone: 18 name: SYMM03 type: symmetry. Reading zone data...done. Zone: 19 name: GROUND type: wall. Reading zone data...done. Zone: 20 name: CARBODY type: wall. Reading zone data...done. FINISHED LEXING --> FOAM Warning : From function boundBox::boundBox(const pointField& points) in file meshes/boundBox/boundBox.C at line 52 cannot find bounding box for zero sized pointFieldreturning zero Creating patch 0 for zone: 14 name: INLET type: velocity-inlet Creating patch 1 for zone: 15 name: OUTLET type: pressure-outlet Creating patch 2 for zone: 16 name: SYMM type: symmetry Creating patch 3 for zone: 17 name: SYMM02 type: symmetry Creating patch 4 for zone: 18 name: SYMM03 type: symmetry Creating patch 5 for zone: 19 name: GROUND type: wall Creating patch 6 for zone: 20 name: CARBODY type: wall Creating cellZone 0 name: BODY type: fluid patch 0 from Fluent indices: 395704 to: 395747 type: velocity-inlet patch 1 from Fluent indices: 395748 to: 395786 type: pressure-outlet patch 2 from Fluent indices: 395787 to: 399056 type: symmetry patch 3 from Fluent indices: 399057 to: 399289 type: symmetry patch 4 from Fluent indices: 399290 to: 399497 type: symmetry patch 5 from Fluent indices: 399498 to: 401062 type: wall patch 6 from Fluent indices: 401063 to: 408735 type: wall Writing mesh to "/home/vuns/OpenFOAM/vuns-1.4.1/run/BluntBody/test//PotentialBB01/constant/regio n0" End Not sure if it will cause a problem or not down the track? Thanks Simon. |
|
February 27, 2008, 04:03 |
Don't think that is a problem.
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Don't think that is a problem. Might be a region with zero faces in it. Run
checkMesh -allTopology -allGeometry to see whether there is a problem. |
|
May 5, 2008, 22:14 |
I have experienced a similar e
|
#5 |
New Member
Ryan Middleton
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
I have experienced a similar error with fluent3DMeshToFoam:
FINISHED LEXING --> FOAM Warning : From function boundBox::boundBox(const pointField& points) in file meshes/boundBox/boundBox.C at line 52 cannot find bounding box for zero sized pointFieldreturning zero Creating patch 0 for zone: 3 name: Wingbottom type: wall Creating patch 1 for zone: 4 name: Wingtop type: wall Creating patch 2 for zone: 5 name: Wingtip type: wall Creating patch 3 for zone: 6 name: Elevatortop type: wall Creating patch 4 for zone: 7 name: Elevatorbottom type: wall Creating patch 5 for zone: 8 name: Elevatorside type: wall Creating patch 6 for zone: 9 name: Stubwingside type: wall Creating patch 7 for zone: 10 name: Stubwingbottom type: wall Creating patch 8 for zone: 11 name: Stubwingtop type: wall Creating patch 9 for zone: 12 name: Rudder type: wall Creating patch 10 for zone: 13 name: Floatpack type: wall Creating patch 11 for zone: 14 name: Fuselage type: wall Creating patch 12 for zone: 15 name: Bottomnose type: wall Creating patch 13 for zone: 16 name: Topnose type: wall Creating patch 14 for zone: 17 name: Symwall type: symmetry Creating patch 15 for zone: 18 name: Bottomwall type: wall Creating patch 16 for zone: 19 name: Topwall type: wall Creating patch 17 for zone: 20 name: Sidewall type: wall Creating patch 18 for zone: 21 name: Outlet type: pressure-outlet Creating patch 19 for zone: 22 name: Inlet type: velocity-inlet Creating cellZone 0 name: fluid type: fluid patch 0 from Fluent indices: 0 to: 74094 type: wall patch 1 from Fluent indices: 74095 to: 147814 type: wall patch 2 from Fluent indices: 147815 to: 156374 type: wall patch 3 from Fluent indices: 156375 to: 171950 type: wall patch 4 from Fluent indices: 171951 to: 187454 type: wall patch 5 from Fluent indices: 187455 to: 187730 type: wall patch 6 from Fluent indices: 187731 to: 193600 type: wall patch 7 from Fluent indices: 193601 to: 226482 type: wall patch 8 from Fluent indices: 226483 to: 256634 type: wall patch 9 from Fluent indices: 256635 to: 288315 type: wall patch 10 from Fluent indices: 288316 to: 357419 type: wall patch 11 from Fluent indices: 357420 to: 490004 type: wall patch 12 from Fluent indices: 490005 to: 498824 type: wall patch 13 from Fluent indices: 498825 to: 532124 type: wall patch 14 from Fluent indices: 532125 to: 679769 type: symmetry patch 15 from Fluent indices: 679770 to: 687631 type: wall patch 16 from Fluent indices: 687632 to: 695591 type: wall patch 17 from Fluent indices: 695592 to: 700623 type: wall patch 18 from Fluent indices: 700624 to: 701969 type: pressure-outlet patch 19 from Fluent indices: 701970 to: 705957 type: velocity-inlet --> FOAM FATAL ERROR : Face 19175673 contains vertex labels out of range: 3(10254 0 17727361) Max point index = 5798594#0 Foam::error::printStack(Foam:stream&) in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::polyMesh::resetPrimitives(int, Foam::Field<foam::vector<double> > const&, Foam::List<foam::face> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, bool) in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #3 Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool) in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libdynamicMesh.so" #4 main in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluent3 DMeshToFoam" #5 __libc_start_main in "/lib64/libc.so.6" #6 __gxx_personality_v0 in "/home/a1099275/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluent3 DMeshToFoam" From function polyMesh::polyMesh::resetPrimitives ( const label nUsedFaces, const pointField& points, const faceList& faces, const labelList& owner, const labelList& neighbour, const labelList& patchSizes, const labelList& patchStarts ) in file meshes/polyMesh/polyMesh.C at line 670. FOAM aborting No polyMesh folder was created. Any ideas about the problem? Thanks very much for any help. Ryan |
|
November 14, 2008, 09:31 |
hi Foamers..
I am having a li
|
#6 |
Member
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17 |
hi Foamers..
I am having a little problem with fluent3DMeshToFoam. This the error I am getting.. Exec : fluent3DMeshToFoam disk_imp_14nov.msh Date : Nov 14 2008 Time : 19:05:27 Host : linux PID : 18173 Case : /home/ms.wankhede/OpenFOAM/ms.wankhede-1.5/CFD_Projects/disk_trial nProcs : 1 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Do not understand characters: From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 708. FOAM exiting How can i get rid of it? Regards, Mahendra. |
|
November 14, 2008, 10:43 |
Did you export your mesh ascii
|
#7 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Did you export your mesh ascii?
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 15, 2008, 00:24 |
hello Hrvoje,
I exported th
|
#8 |
Member
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17 |
hello Hrvoje,
I exported the mesh with default settings in Gambit. Just now i checked it shows format as dos. Regards, Mahendra. |
|
November 15, 2008, 02:18 |
Dear Hrvoje Hi !
Now my mes
|
#9 |
Member
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17 |
Dear Hrvoje Hi !
Now my mesh in the ascii format works with OpenFOAM. Also all the internal walls are recognised as walls by OpenFOAM and i do not need to use <splitmesh>. Thanks and Regards, Mahendra. |
|
January 20, 2009, 08:26 |
hello,
I have some trouble
|
#10 |
Senior Member
Pawel Sosnowski
Join Date: Mar 2009
Location: Munich, Germany
Posts: 105
Rep Power: 18 |
hello,
I have some trouble with importing mesh file written in fluent format *.msh. First, I took the mesh and used dos2unix utility on it (since it was created under Win). After that I used fluent3DMeshToFoam. The only unxepected message during this work was: --> FOAM Warning : From function boundBox::boundBox(const pointField& points) in file meshes/boundBox/boundBox.C at line 52 Cannot find bounding box for zero sized pointField, returning zero Anyway, the mesh was written. I tried to take a look at it in paraView. I could find the declared patches in "Region Status" field but every time I chose any of them and tried to update, the paraView dumped with "Segmentation Fault" message. I run the "checkMesh -allTopology -allGeometry" and got those results: Mesh stats points: 132745 #0 Foam::error::printStack(Foam:stream&) in "/home/pawel/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/pawel/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: [0xb7f49420] #3 Foam::primitiveMesh::calcCells(Foam::List<foam::ce ll>&, Foam::UList<int> const&, Foam::UList<int> const&, int) in "/home/pawel/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #4 Foam::primitiveMesh::calcCells() const in "/home/pawel/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #5 Foam::primitiveMesh::cells() const in "/home/pawel/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #6 Foam::printMeshStats(Foam::polyMesh const&, bool) in "/home/pawel/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/checkMesh" #7 main in "/home/pawel/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/checkMesh" #8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #9 Foam::regIOobject::readIfModified() in "/home/pawel/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/checkMesh" Segmentation fault can you help me understand what is wrong? Regards, Pawel |
|
February 2, 2009, 05:14 |
Hi Hrvoje Jasak sir
i
|
#11 |
Guest
Posts: n/a
|
Hi Hrvoje Jasak sir
i am new to openFoam so can you help me to convert fluentMeshToopenfoam |
|
February 2, 2009, 09:48 |
Sure:
- save the case from
|
#12 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Sure:
- save the case from Fluent in ASCII format - leave it for me on an ftp server and I'll pick it up and convert it. Please let me know where to pick up the case. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
February 3, 2009, 01:50 |
Simon Vun sir
my problem
|
#13 |
Guest
Posts: n/a
|
Simon Vun sir
my problem is that i hav done the naca 0012 airfoil case in gambit and i solved in fluent 6.3 ...now i want to compare these results in openfoam 1.4.1..now i need to import to fluentMeshTofoam in openfoam 1.4.1..i am facing problem for converting fluentMeshTofoam ...i hav created the mesh file using gambit and i used windows for importing..can u tell me how to import cas file from dosTounix to be used in opeenfoam... |
|
February 6, 2009, 10:58 |
I have added a page to wiki. M
|
#14 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
I have added a page to wiki. Maybe it will help you to solve your case.
However it is for OF-1.5 and with a different converter. Note: its a procedure for .msh file, so only mesh can be imported and you will have to do the tweaking yourself. -Rishi PS: I would request/recommend you to first read the forums and wiki before jumping into any thread and asking fundamental questions, that have been answered a few times. |
|
February 6, 2009, 10:58 |
sorry I forgot the wiki link:
|
#15 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
||
February 11, 2009, 13:07 |
hello,
since my last post (
|
#16 |
Senior Member
Pawel Sosnowski
Join Date: Mar 2009
Location: Munich, Germany
Posts: 105
Rep Power: 18 |
hello,
since my last post ( http://www.cfd-online.com/cgi-bin/Op...0910#POST30910 ), I tried to find some way of getting the mesh. Unfortunately I failed. Any hint how to overcome this problem will be great. Thanks in advantage. |
|
April 15, 2009, 11:58 |
|
#17 |
Senior Member
|
Hi all!
I converted 3D FLUENT mesh to OpenFOAM format. It has 6 interface patches. So they are saved as type wall. But actually they are just interfaces between to regions of simulation area. Would you please point me, how to exclude those patches from mesh, so one should not set boundary conditions for them? Thank you in advance!
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
April 15, 2009, 13:02 |
|
#18 |
Senior Member
|
Hmm..!!
Found, that previously in OF v1.3 fluentMeshToFoam http://openfoamwiki.net/index.php/Im...ith_interfaces saved FLUENT mesh keeping interface patches. And it was possible to treat that patches by yourself with stitchMesh. Is it available in OF v1.5, because it just combines all interfaces into default wall...
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
June 22, 2009, 04:14 |
|
#19 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
Hi,
I've got a valid 1.5-mesh and need to transform it into 1.4.1... Therefore I use foamMeshToFluent and after that fluent3DMeshToFoam. In 1.5 both works. In 1.4.1-dev it reports (after lexing): FOAM FATAL ERROR: attempt to access element from zero sized list... Thats not fine... Any ideas??? Marco |
|
September 8, 2009, 09:13 |
fluent3DMeshToFoam
|
#20 |
Member
任芸
Join Date: Jun 2009
Posts: 75
Rep Power: 17 |
hi all,
i want to convert my .msh file to FOAM format on OpenFOAM-1.5,but when i use the fluent3DMeshToFoam,i have some question,would you please give me some advice? before i used fluent3DMeshToFoam,i have used the dos2unix,but an unexpected error has been occured as follows: Exec : fluent3DMeshToFoam voim2.msh -scale 0.001 Date : Sep 08 2009 Time : 17:17:23 Host : linux-pw3p PID : 7618 Case : /home/ry/OpenFOAM/ry-1.5/tutorials/MRFSimpleFoam/voim/mixerVessel2D nProcs : 1 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 3 Number of points: 80727 PointGroup: 1 start: 0 end: 80726. Reading points...done. --> FOAM Warning : Found unknown block of type: "13" --> FOAM Warning : Found unknown block of type: "13" Number of cells: 385309 CellGroup: 2 start: 0 end: 278416 type: 1 CellGroup: 3 start: 278417 end: 385308 type: 1 Zone: 2 name: rotor type: fluid. Reading zone data...done. Zone: 3 name: stator type: fluid. Reading zone data...done. Zone: 4 name: wall type: wall. Reading zone data...done. Zone: 5 name: interface.4 type: interface. Reading zone data...done. Zone: 6 name: interface.3 type: interface. Reading zone data...done. Zone: 7 name: pressure_outlet.2 type: pressure-outlet. Reading zone data...done. Zone: 8 name: inlet type: velocity-inlet. Reading zone data...done. Zone: 10 name: default-interior type: interior. Reading zone data...done. FINISHED LEXING --> FOAM Warning : From function boundBox::boundBox(const pointField& points) in file meshes/boundBox/boundBox.C at line 52 Cannot find bounding box for zero sized pointField, returning zero Creating cellZone 0 name: rotor type: fluid Creating cellZone 1 name: stator type: fluid #0 Foam::error:rintStack(Foam::Ostream&) in "/home/ry/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/ry/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: [0xffffe420] #3 Foam:olyTopoChange::getFaceOrder(int, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int>&, Foam::List<int>&, Foam::List<int>&) const in "/home/ry/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdynamicMesh.so" #4 Foam:olyTopoChange::compact(bool, bool, int&, Foam::List<int>&, Foam::List<int>&) in "/home/ry/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdynamicMesh.so" #5 Foam:olyTopoChange::compactAndReorder(Foam:oly Mesh const&, bool, bool, bool, int&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&, Foam::List<int>&, what can i do ? regards jennifer |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
periodic (cyclic) boundary - fluent3DMeshToFoam | cyln | OpenFOAM | 1 | October 17, 2017 03:59 |
[Commercial meshers] fluent3DMeshToFoam conversion problem | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 14 | March 12, 2014 06:16 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
OpenFOAM command from inside MATLAB | sega | OpenFOAM Post-Processing | 18 | September 25, 2012 08:35 |