|
[Sponsors] |
March 25, 2012, 09:03 |
trouble with fluentmeshtofoam
|
#1 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
Hi ,friends.I use fluent to get a .cas file with ascii format.when i use the command of fluent3DMeshToFoam Lask.cas.I get the following error:--> FOAM FATAL ERROR:
Do not understand characters: / on line 157058 From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. FOAM exiting I do not understand why there are so many error about the characters.Please tell me how to get rid of it if you know.Thanks a lot. |
|
March 25, 2012, 09:37 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
Hi,
fluent3DMeshToFoam takes the fluent ".msh" mesh file as an input, not the fluent case file. Philip |
|
March 25, 2012, 09:50 |
|
#3 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
when i use .msh file ,i also get trouble:--> FOAM FATAL ERROR:
Do not understand characters: on line 1066402 From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. FOAM exiting can you tell me how to get rid of it.thanks a lot. |
|
March 25, 2012, 10:00 |
|
#4 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
It should work with the mesh ".msh" file.
Essentially fluent3DMeshToFoam is complaining that it doesn't recognise the character on line 1066402 of the msh file, is it possible that the msh file is corrupt? It seems like quite a large mesh, maybe try converting a simple small mesh and see if it works. Or you can upload a msh you are having trouble with here and I can try it out. Philip |
|
March 25, 2012, 10:06 |
|
#5 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
I am so sorry i do not know how to upload my case on it.Can you tell me ?Thanks a lot.
|
|
March 25, 2012, 10:15 |
|
#6 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
I saw some people use dos2unix,is my file's format wrong?
|
|
March 25, 2012, 10:17 |
|
#7 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
if you are free.i can give you my case through e-mail.
|
|
March 25, 2012, 10:45 |
|
#8 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
You do not need to convert the file with dos2unix.
You can create a dropbox account (www.dropbox.com), then upload the msh file and post the public link to the file here. Did you try making a small simple msh file? Philip |
|
March 25, 2012, 11:04 |
|
#9 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
No,becase i am in the ubuntu system.and i think the number of the mesh should not the matter ,but i will try it tommrow.i will also upload my mesh to the dropbox.
|
|
March 26, 2012, 04:29 |
|
#10 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Are you converting an ASCII file? Binary won't work (I know, I wrote it).
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 26, 2012, 08:23 |
|
#11 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
Yes,i get .cas file through fluent,and i delete the binary.I make my number of mesh become smaller,it works.Can you find the reason? thanks a lot.
|
|
March 26, 2012, 08:24 |
|
#12 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
I make a small simple mesh .it works. can you find the reason?thanks a lot.
|
|
March 26, 2012, 08:52 |
|
#13 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
hei@ge,
There may be a number of reasons why your large mesh is not being converted, possibly there are errors in your large mesh, or maybe your large mesh is not being written correctly, or maybe the mesh file is being corrupted if it is not copied properly. I would check in fluent that your mesh does not have errors. Also you could try upload a dropbox link to your mesh here and I can have a look at it. Philip |
|
March 26, 2012, 08:56 |
|
#14 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
Thank you very much for your sincere help.I do not have a dropbox. and i am in the ubuntu,can you give me your e-mail adreass if you are free.Thanks again.
|
|
March 26, 2012, 09:04 |
|
#15 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
i try to get a account of dropbox ,but i fail.
|
|
March 26, 2012, 09:13 |
|
#16 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
the following is the information for Grid Check in fluent
Grid Check Domain Extents: x-coordinate: min (m) = -1.500000e+003, max (m) = 6.894960e+002 y-coordinate: min (m) = -1.199900e+003, max (m) = 1.500000e+003 z-coordinate: min (m) = 0.000000e+000, max (m) = 1.500000e+003 Volume statistics: minimum volume (m3): 2.909061e+003 maximum volume (m3): 4.902152e+004 total volume (m3): 8.715825e+009 Face area statistics: minimum face area (m2): 1.248621e+002 maximum face area (m2): 2.106185e+003 Checking number of nodes per cell. Checking number of faces per cell. Checking thread pointers. Checking number of cells per face. Checking face cells. Checking bridge faces. Checking right-handed cells. Checking face handedness. Checking face node order. Checking element type consistency. Checking boundary types: Checking face pairs. Checking periodic boundaries. Checking node count. Checking nosolve cell count. Checking nosolve face count. Checking face children. Checking cell children. Checking storage. |
|
March 26, 2012, 10:04 |
|
#17 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
hei@ge,
I am not familiar with fluent grid check. If you go to www.dropbox.com, you can create an account for free using your email address. then upload your mesh and post a public link to it here. Philip |
|
March 26, 2012, 22:16 |
|
#18 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
https://dl-web.dropbox.com/u/69253136/Lask.cas,this is my .cas file.please help me to check it when you are free.Thanks again.
|
|
March 27, 2012, 02:01 |
|
#19 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
Hi,bigphil,Thanks very much for your help.I get another .cas file which also has a large number of mesh. To my surprised ,it works.but i do not know the reason. do you have a look at my case? I hope you can get the reason.thanks again.
My English is so so. |
|
March 27, 2012, 05:46 |
|
#20 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,096
Rep Power: 34 |
Quote:
I am not sure why some of your meshes convert correctly and some do not. Just make sure the mesh files are copied properly when moving them. Philip |
||
Tags |
fluentmeshtofoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] fluentMeshToFoam: "fluent patch type shadow not recognised" | preibie | OpenFOAM Meshing & Mesh Conversion | 28 | March 29, 2017 05:56 |
[Commercial meshers] Converting a mesh with splitted cells using fluentMeshToFoam | jlpelerin | OpenFOAM Meshing & Mesh Conversion | 4 | April 25, 2011 17:56 |
[ICEM] trouble with mesh quality from ICEM in CFX Solver | escher25 | ANSYS Meshing & Geometry | 0 | February 28, 2011 08:38 |
[GAMBIT] Trouble meshing complex VOF geometry | RPJones | ANSYS Meshing & Geometry | 2 | February 14, 2011 19:54 |
trouble with velocity BC at the inlet | sambatra | OpenFOAM Running, Solving & CFD | 0 | October 18, 2010 12:11 |