CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] making a sphere in openfoam!!! please help me (https://www.cfd-online.com/Forums/openfoam-meshing/105171-making-sphere-openfoam-please-help-me.html)

adambarfi July 24, 2012 10:13

making a sphere in openfoam!!! please help me
 
hi everybody,

I want to analyze the convection in a sphere. I create my meshes in gambit and use the fluent3DMeshToFoam to convert it to openfoam file, but the below error appear:

PHP Code:

Build  2.0.1-51f1de99a4bc
Exec   
fluent3DMeshToFoam 01.msh
Date   
Jul 24 2012
Time   
18:37:42
Host   
mostafa-desktop
PID    
3522
Case   : /home/mostafa/mantleconvection
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/mostafa/mantleconvection/system/controlDict at line 0.

    From 
function regIOobject::readStream()
    
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting 

what should I do?

adambarfi July 25, 2012 07:21

Is here anyone can help me?!!!please.

OK, a new question: How can I model a sphere in OpenFoam?

gschaider July 25, 2012 08:10

Quote:

Originally Posted by adambarfi (Post 373253)
hi everybody,

I want to analyze the convection in a sphere. I create my meshes in gambit and use the fluent3DMeshToFoam to convert it to openfoam file, but the below error appear:

PHP Code:

Build  2.0.1-51f1de99a4bc
Exec   
fluent3DMeshToFoam 01.msh
Date   
Jul 24 2012
Time   
18:37:42
Host   
mostafa-desktop
PID    
3522
Case   : /home/mostafa/mantleconvection
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/mostafa/mantleconvection/system/controlDict at line 0.

    From 
function regIOobject::readStream()
    
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting 

what should I do?

OF doesn't find the controlDict. Either you're in the wrong directory or there is no controlDict

adambarfi July 25, 2012 12:47

Thank you Bernhard,

I create files and run it again, all things was alright except the blockMeshDict file. It remains without change. If I want to fill it, I don't know what is the number of vertexes and which vertexes are connected to each other!!!!! I have more than 200000 nodes.

What should I do? please.

gschaider July 25, 2012 13:23

Quote:

Originally Posted by adambarfi (Post 373520)
Thank you Bernhard,

I create files and run it again, all things was alright except the blockMeshDict file. It remains without change. If I want to fill it, I don't know what is the number of vertexes and which vertexes are connected to each other!!!!! I have more than 200000 nodes.

What should I do? please.

I don't understand your problem. If you import a fluent-mesh then you don't need a blockMeshDict. After the import you should have a valid mesh in constant/polyMesh

adambarfi July 25, 2012 13:26

Quote:

Originally Posted by gschaider (Post 373524)
I don't understand your problem. If you import a fluent-mesh then you don't need a blockMeshDict. After the import you should have a valid mesh in constant/polyMesh


this file is initially empty, after converting and running blockMesh it still remain empty?!?!?
is it your mean that blockMeshDict isn't necessary?

gschaider July 25, 2012 18:17

Quote:

Originally Posted by adambarfi (Post 373525)
this file is initially empty, after converting and running blockMesh it still remain empty?!?!?
is it your mean that blockMeshDict isn't necessary?

Yep. blockMesh is only one way to get a mesh. A converter like fluentMeshToFoam is another. You only need one of those at a time

adambarfi July 26, 2012 01:56

Quote:

Originally Posted by gschaider (Post 373573)
Yep. blockMesh is only one way to get a mesh. A converter like fluentMeshToFoam is another. You only need one of those at a time

Oh damn. so I was fooled for 2 dayes!!!!! yes, I done it.
but I have many other problems and questions that if I cannot solve them, I will come back again!

Thank you Bernhard so much.


All times are GMT -4. The time now is 00:43.