CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (http://www.cfd-online.com/Forums/openfoam-meshing-other/)
-   -   Problem importing mesh in openfoam from fluent (http://www.cfd-online.com/Forums/openfoam-meshing-other/61690-problem-importing-mesh-openfoam-fluent.html)

alessandr0 September 1, 2008 09:24

Hi, I've got openfoam v. 1.5 a
 
Hi, I've got openfoam v. 1.5 and when I import a mesh from fluent happened the follow thing:
openflu@debian:
~/OpenFOAM/openflu-1.5/run/tutorials/icoFoam/airfoil$ fluentMeshToFoam
/home/alessandro/airfoil.msh
/*---------------------------------------------------------------------------
*\
| =========
| |
| \ / F
ield | OpenFOAM: The Open Source CFD Toolbox |
|
\ / O peration | Version:
1.5 |
| \ / A nd |
Web: http://www.OpenFOAM.org |
| \/ M
anipulation | |
\*---------------------------------------------------------------------------
*/
Exec : fluentMeshToFoam /home/alessandro/airfoil.msh
Date : Aug
28 2008
Time : 00:00:37
Host : debian
PID : 5999
Case :
/home/openflu/OpenFOAM/openflu-1.5/run/tutorials/icoFoam/airfoil
nProcs
: 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * //
Create time



cannot open file

file:
/home/openflu/OpenFOAM/openflu-1.5
/run/tutorials/icoFoam/airfoil/system/controlDict at line 0.

From
function regIOobject::readStream(const word&)
in file
db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting

Where do you think the trouble is?

fra76 September 1, 2008 13:23

Do you have a system/controlDi
 
Do you have a system/controlDict file in your case directory?
The converter reads from there at least the settings for writing the OpenFOAM mesh to disk.

Francesco

alessandr0 September 1, 2008 14:55

No, because I don't know what
 
No, because I don't know what I have to write on it. I thought to copy another case ControlDict file but then will it be correct? And If I have to do it in this way, what case should I copy? Does it depends on the type of flow(uncompressible,..) or what else?

fra76 September 4, 2008 13:41

You can find a lot of answers
 
You can find a lot of answers to these questions by reading the user manual...
However, you can copy the whole "system" directory from a similar tutorial case. During the conversion, however, only the lines regarding writing format are used: binary or ascii and compressed or uncompressed. My suggestion is to use ASCII for starting. A bit slower but you can open the mesh and see how it is done.

Hope this helps,
Francesco


All times are GMT -4. The time now is 04:46.