CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

making a sphere in openfoam!!! please help me

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 24, 2012, 10:13
Default making a sphere in openfoam!!! please help me
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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 is offline   Reply With Quote

Old   July 25, 2012, 07:21
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Is here anyone can help me?!!!please.

OK, a new question: How can I model a sphere in OpenFoam?
adambarfi is offline   Reply With Quote

Old   July 25, 2012, 08:10
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by adambarfi View Post
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
gschaider is offline   Reply With Quote

Old   July 25, 2012, 12:47
Default
  #4
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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.
adambarfi is offline   Reply With Quote

Old   July 25, 2012, 13:23
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by adambarfi View Post
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
gschaider is offline   Reply With Quote

Old   July 25, 2012, 13:26
Default
  #6
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by gschaider View Post
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?
adambarfi is offline   Reply With Quote

Old   July 25, 2012, 18:17
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by adambarfi View Post
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
gschaider is offline   Reply With Quote

Old   July 26, 2012, 01:56
Default
  #8
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by gschaider View Post
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.
adambarfi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help: wave making resistance on submerged sphere amin66 OpenFOAM 10 July 29, 2012 02:10
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


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