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

[Other] making a sphere in openfoam!!! please help me

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2012, 11:13
Default making a sphere in openfoam!!! please help me
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
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, 08:21
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
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, 09:10
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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, 13:47
Default
  #4
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
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, 14:23
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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, 14:26
Default
  #6
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
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, 19:17
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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, 02:56
Default
  #8
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


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