|
[Sponsors] |
January 14, 2009, 05:32 |
Error fluentMeshToFoam
|
#1 |
New Member
xinguang cui
Join Date: Mar 2009
Location: Heidelberg, Germany
Posts: 9
Rep Power: 17 |
I am the newer of OpenFoam, and now I am stopped in the begin. I hope someone could help me:
system: opensuse 10.3 version: openfoam 1.5 The grid was generated with icem in the windows xp system in the form of .msh. Then it is imported to the fluent in the opensuse 10.3. The mesh file was exported from Fluent with ASCII. But there is error information as follows: cui@mfc-falter:~/OpenFOAM/cui-1.5/run/project/Simple_geometry_circular/Flow_1/system> fluentMeshToFoam sucess /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.5 | | \ / A nd | Web: http://www.OpenFOAM.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : fluentMeshToFoam sucess Date : Jan 14 2009 Time : 10:19:40 Host : mfc-falter PID : 31021 Case : /home/cui/OpenFOAM/cui-1.5/run/project/Simple_geometry_circular/Flow_1/system nProcs : 1 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time cannot open file file: /home/cui/OpenFOAM/cui-1.5/run/project/Simple_geometry_circular/Flow_1/system/sy stem/controlDict at line 0. From function regIOobject::readStream(const word&) in file db/regIOobject/regIOobjectRead.C at line 66. FOAM exiting And I also try to use fluent3DMeshToFoam, but there is the error information too. Moreover, I have tried to import ASII file in the windows xp, and then converted to linux file format, but it doesn't work. I have tried almost every way in the forum, but it doesn't work. Who could help me? I feel crazy |
|
January 14, 2009, 05:42 |
Hi,
you should move to Open
|
#2 |
Member
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 17 |
Hi,
you should move to OpenFOAM 1.5.x There, the fluent converters have been improved to handle files written under windows. Remember: Use ASCII Best regards Christian |
|
January 14, 2009, 06:01 |
Thank you!!!
In fact, I hav
|
#3 |
New Member
xinguang cui
Join Date: Mar 2009
Location: Heidelberg, Germany
Posts: 9
Rep Power: 17 |
Thank you!!!
In fact, I have converted windows file to linux format. Do you think it is problem that I generated the file in the windows system? |
|
January 14, 2009, 06:05 |
i never succeeded converting f
|
#4 |
Member
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 17 |
i never succeeded converting fluent cases generated on windows to OF in version 1.5, even when using dos2unix first.
the problem went away with the bugfix in 1.5.x workaround: load your fluent case into the linux version and rewrite it as ascii Christian |
|
January 14, 2009, 06:09 |
Thanks!!!
I have tried to l
|
#5 |
New Member
xinguang cui
Join Date: Mar 2009
Location: Heidelberg, Germany
Posts: 9
Rep Power: 17 |
Thanks!!!
I have tried to load my fluent case into linux version and rewritten it as ascii, but it doesn't work! Maybe I need to try to solve it openfoam 1.5.x |
|
January 14, 2009, 11:50 |
Hi
I think it is just a pro
|
#6 |
Member
florian
Join Date: Mar 2009
Location: Mannheim - Vincennes - Valenciennes, Deutchland - France
Posts: 34
Rep Power: 17 |
Hi
I think it is just a problem of folder At the bigining you ar in system instead of your case directory cannot open file file: /home/cui/OpenFOAM/cui-1.5/run/project/Simple_geometry_circular/Flow_1/system/sy stem/controlDict at line 0. OpenFoam look for controlDict in system folder which doesn't exist. Try to do the conversion by lunching the command from your case directory : cd /home/cui/OpenFOAM/cui-1.5/run/project/Simple_geometry_circular/Flow_1 fluentMeshToFoam system/sucess Florian |
|
January 14, 2009, 11:57 |
Thanks florian,
i should ha
|
#7 |
Member
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 17 |
Thanks florian,
i should have read the error massage more closely. You are right of course. But still of 1.5.x has a bugfix for the fluent converter for files from windows. best regards christian |
|
January 15, 2009, 02:49 |
hi everyone
i am new to
|
#8 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17 |
hi everyone
i am new to openfoam and i used to import gambitmsh to foam but i am not able to convert it into openfoam 1.4.1....could u please send me how to import gambitmsh(ascii format) to foam.. |
|
January 15, 2009, 04:30 |
Hi Naveen,
In v1.4.1 you ne
|
#9 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Naveen,
In v1.4.1 you need be outside your case directory, e.g. in your run directory where the case is located. The format is then gambitToFoam <root> <casename> <meshfile> <scale> In this format <root> is just a dot ("."), e.g. for a case called "cavity" with mesh file "cavity.msh" (located in your cavity case file), built in Gambit in millimeters, type: gambitToFoam . cavity ./cavity/cavity.msh -scale 0.001 Rgds, Gijs
__________________
Regards, Gijs |
|
January 15, 2009, 04:34 |
Of course you might also use f
|
#10 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Of course you might also use fluentMeshToFoam, depending on the solver type you chose in Gambit when building the mesh ...
__________________
Regards, Gijs |
|
January 15, 2009, 06:03 |
Hi Naveen,
Hmm, that's a na
|
#11 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Naveen,
Hmm, that's a nasty one. I read that more people have problems with it (in OF-1.5) and that 1.5-dev has bug fixes for it, as written in this thread: http://www.cfd-online.com/cgi-bin/Op...126&post=29311. Do you have possibility to install OpenFOAM-1.5-dev? And another thing, are you the mesh file is in the right format? Did you try using the Fluent 5/6 solver in gambit, save the mesh, and then export it with fluentMeshToFoam? Rgds, Gijsbert
__________________
Regards, Gijs |
|
January 16, 2009, 05:45 |
hi Gijsbert sir
i am
|
#12 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17 |
hi Gijsbert sir
i am new to openfoam 1.4.1...i did naca 0012 airfoil case in fluent and now i used fluentMeshToFoam in openfoam 1.4.1...even though i followed your procedure to convert it into openfoam but i am getting error message....could u please solve this problem... |
|
January 16, 2009, 08:19 |
It seems to me that your mesh
|
#13 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
It seems to me that your mesh is not good (but this is just a guess). I would build a very simple mesh in Gambit (like a square box or something) and try to export that to OpenFOAM. This way you may find out if it's a mesh related or openFOAM related issue. Also, read this post on defect meshes: http://www.cfd-online.com/OpenFOAM_D...es/1/3443.html. With the content of the error message I can't help you, would need more specific one.
__________________
Regards, Gijs |
|
February 2, 2009, 05:01 |
Hi freinds
can any he
|
#14 |
Guest
Posts: n/a
|
Hi freinds
can any help me to convert fluentMeshtoFoam i am finding some difficulty |
|
February 2, 2009, 05:14 |
Hi freinds
can any he
|
#15 |
Guest
Posts: n/a
|
Hi freinds
can any help me to convert fluentMeshtoFoam i am finding some difficulty |
|
February 2, 2009, 06:46 |
Hi Venkatesh,
Can you speci
|
#16 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Venkatesh,
Can you specify your problem? What is the error message, for example? Rgds, Gijsbert
__________________
Regards, Gijs |
|
February 2, 2009, 06:57 |
Gijsbert Wierink sir
|
#17 |
Guest
Posts: n/a
|
Gijsbert Wierink 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...can u tell me the procedure how to import the (.msh) file to openfoam 1.4.1..for example i used this format for conversion(my case name is-naca0012.msh) fluentMeshToFoam . naca0012 ./naca0012/naca0012.msh -scale 0.001...please send me the procedure of conversion.. |
|
February 2, 2009, 07:09 |
Hi Venkatesh,
The command y
|
#18 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Venkatesh,
The command you use seems the right one. Do you get an error message? And what does it say? Also, where do you run the command, i.e. are you in the right path? You need to run the command when you are in the path where the case file is located. Rgds, Gijsbert
__________________
Regards, Gijs |
|
February 4, 2009, 02:59 |
hi Christian Winkler sir
|
#19 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17 |
hi Christian Winkler sir
I have tried to load my fluent case into linux version and rewritten it as ascii, but it doesn't work! Maybe I need to try to solve it in openfoam 1.4.1 ..could u please help me how to import to openfoam using fluentMeshTofoam.. |
|
February 4, 2009, 03:49 |
Hello Naveen,
W
|
#20 |
Member
Maruthamuthu Venkatraman
Join Date: Mar 2009
Location: Norway
Posts: 80
Rep Power: 17 |
Hello Naveen,
While writing the case file in Fluent remember to uncheck the Binary Opitions ... This works well in OpenFoam 1.5 version. It wroked well for me sofar in simple geomtery cases.. Try this option. May be it works in 1.4 version aswell... Regards |
|
|
|