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

OpenFoam beginer

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 03:45
Default OpenFoam beginer
  #1
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Dear all,
I am Phd student, i want to do CFD model for two phase mixing problem.
I am new to openFom. i went through some tutorials that mentioned in openFoam user guide & also run some cases in OpenFoam. I want your valuable guidance regarding how should i proceed on my problem? Is any literature or demo available for how to start the work? How to define & mention my mixing case in openFoam?
monty86 is offline   Reply With Quote

Old   July 25, 2013, 10:49
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
I suggest looking at multiphase tutorials, especially:
- interMixingFoam
- twoLiquidMixingFoam
- interDyMFoam (there are quite a few tutorials in this one)

Also, in incompressible/pimpleDyMFoam/mixerVesselAMI2D. Perhaps the propeller tutorial in the same directory as well, depending on what exactly you'll be doing.
Artur is offline   Reply With Quote

Old   July 30, 2013, 03:21
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/
MSc/PhD course in CFD with OpenSource software, 2013
also read the courses of the previous years 2012 back to 2007 http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2012
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007

http://www.openfoamworkshop2013.org/...p?Main=2&sub=1 8th OF workshop with training courses @ day 1
there might be valueable presentations on your topic
once again to a look at the workshops of the previous years it contains training material & valueable presentations as well
http://www.openfoamworkshop2013.org/...p?Main=1&sub=2

If you become quite familare with OpenFOAM and you have applied successfully
you might get the chance to attend OpenFOAM SummerSchool http://www.cfd-online.com/Forums/ope...ol-2011-a.html (just found that link Summer school usually takes place every year)
apple-tree likes this.
elvis is offline   Reply With Quote

Old   August 16, 2013, 04:26
Default
  #4
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Artur View Post
I suggest looking at multiphase tutorials, especially:
- interMixingFoam
- twoLiquidMixingFoam
- interDyMFoam (there are quite a few tutorials in this one)

Also, in incompressible/pimpleDyMFoam/mixerVesselAMI2D. Perhaps the propeller tutorial in the same directory as well, depending on what exactly you'll be doing.
Dear Artur,
As per your suggestion i tried t check the above mention tutorials, but when i am tryinig to run the tutorials by blockMesh command after that following error occured,here i am attaching the error message. i am not able understand what does it mean.

sloshingTank2D# cd $FOAM_RUN/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D
root@PU-LT-~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D# blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : blockMesh
Date : Aug 16 2013
Time : 09:13:18
Host : "PU-LT-"
PID : 2404
Case : /root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D
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 ERROR:
Cannot open mesh description file
"/root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/polyMesh/blockMeshDict"


From function blockMesh
in file blockMeshApp.C at line 137.

FOAM exiting

root@PU-LT-:~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D# ^C
root@PU-LT-:~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D#
monty86 is offline   Reply With Quote

Old   August 16, 2013, 04:40
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
That tutorial case requires an extra step before running blockMesh. Check the accompanying Allrun file.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   August 16, 2013, 04:55
Default
  #6
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Quote:
Originally Posted by monty86 View Post
Cannot open mesh description file
"/root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/polyMesh/blockMeshDict"
I think it's useful to learn from the start to read the error logs carefully because they are actually meant to help you understand what is wrong. By looking at this one it stands out that the blockMesh dictionary file is missing.

Just as the previous reply said, you need to run this command first to remedy this, as shown in the Allrun script:

Code:
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
which simply creates the dictionary file.
Artur is offline   Reply With Quote

Old   August 16, 2013, 04:59
Default
  #7
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by akidess View Post
That tutorial case requires an extra step before running blockMesh. Check the accompanying Allrun file.

Thanks alot. i checked that command & now its running
monty86 is offline   Reply With Quote

Old   August 16, 2013, 05:01
Default
  #8
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Artur View Post
I think it's useful to learn from the start to read the error logs carefully because they are actually meant to help you understand what is wrong. By looking at this one it stands out that the blockMesh dictionary file is missing.

Just as the previous reply said, you need to run this command first to remedy this, as shown in the Allrun script:

Code:
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
which simply creates the dictionary file.
Thanks Artur.., i was unware ot this command as this command is not mentioned in userguide. In case of any difficulty I will get back to you for your help
monty86 is offline   Reply With Quote

Old   August 16, 2013, 06:14
Default
  #9
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Check this out:

2013 UNIGE Introductory OpenFOAM course-training:
http://www.dicat.unige.it/guerrero/O...ourse2013.html

As a FOAM learner I got lots of useful tips in there.


Best.
mgdenno and Artur like this.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   August 19, 2013, 01:51
Default
  #10
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Check this out:

2013 UNIGE Introductory OpenFOAM course-training:
http://www.dicat.unige.it/guerrero/O...ourse2013.html

As a FOAM learner I got lots of useful tips in there.


Best.
Dear sir,
Thanks for your suggestion, but i am not able to view or download these documents. Please can you suggest any alternate route for these documents?
monty86 is offline   Reply With Quote

Old   August 19, 2013, 11:23
Default
  #11
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by monty86 View Post
Dear sir,
Thanks for your suggestion, but i am not able to view or download these documents. Please can you suggest any alternate route for these documents?
Are you sure? I just checked the download links and they are ok.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   August 19, 2013, 11:55
Default
  #12
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Quote:
Originally Posted by Mojtaba.a View Post
Are you sure? I just checked the download links and they are ok.
Same here, downloaded without any problems using chrome and firefox
Artur is offline   Reply With Quote

Old   August 20, 2013, 00:42
Default
  #13
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Are you sure? I just checked the download links and they are ok.
Sorry.. Problem was with my system. Its working now.
Artur likes this.
monty86 is offline   Reply With Quote

Old   September 2, 2013, 06:50
Default
  #14
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Are you sure? I just checked the download links and they are ok.
Hello sir,
Now i am trying to study single phase fluid flow in anchor type agitated vessel as a case to learn more about openFoam. i came to know that i must generate stl file of geometry. can you suggest me how can i proceed & generate ctl file with autocad? i heard about salome but its looking tedious job.
monty86 is offline   Reply With Quote

Old   September 2, 2013, 07:57
Default
  #15
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by monty86 View Post
Hello sir,
Now i am trying to study single phase fluid flow in anchor type agitated vessel as a case to learn more about openFoam. i came to know that i must generate stl file of geometry. can you suggest me how can i proceed & generate ctl file with autocad? i heard about salome but its looking tedious job.
Well, I think you have got to just export your file with .stl format.
You can use any other CAD programs to do such a thing.

Best
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   September 2, 2013, 08:04
Default
  #16
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Well, I think you have got to just export your file with .stl format.
You can use any other CAD programs to do such a thing.

Best
My problem is that i have only 2D geometry in CAD, I dont know how to develop 3D geometry in AutoCAD. I am also not much aware about other software. can u help out me which software or route will be simple as i am running out of time for my work?
monty86 is offline   Reply With Quote

Old   September 2, 2013, 14:29
Default
  #17
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by monty86 View Post
My problem is that i have only 2D geometry in CAD, I dont know how to develop 3D geometry in AutoCAD. I am also not much aware about other software. can u help out me which software or route will be simple as i am running out of time for my work?
I am not familiar with AutoCAD. There is no need to make it 3D, you just need 2D surfaces in order to get it used with snappyHexMesh.

Right now I am using Solidworks for generating my CAD geometry. Its handy and powerful.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   September 3, 2013, 00:39
Default
  #18
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
I am not familiar with AutoCAD. There is no need to make it 3D, you just need 2D surfaces in order to get it used with snappyHexMesh.

Right now I am using Solidworks for generating my CAD geometry. Its handy and powerful.
Thank you sir. I will try this
monty86 is offline   Reply With Quote

Old   September 6, 2013, 01:25
Default
  #19
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Quote:
Originally Posted by monty86 View Post
Thank you sir. I will try this
Dear sir,
Is there any free soliwork version available? if yes please send me link to donload it..,
monty86 is offline   Reply With Quote

Old   September 6, 2013, 02:48
Default
  #20
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by monty86 View Post
Dear sir,
Is there any free soliwork version available? if yes please send me link to donload it..,
Well unfortunately it is a commercial software and you have to get a license to use it.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a 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
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 19:28
2009 OpenFOAM Summer School in Zagreb, Croatia hjasak OpenFOAM Announcements from Other Sources 0 March 27, 2009 13:08
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 14:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Getting OpenFOAM to coexist with an existing JAVA VM nik777 OpenFOAM Installation 5 February 22, 2007 08:21


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