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

[Tutorials] How to prepare a case for OpenFOAM (for beginners)

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By taalf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2014, 05:19
Post How to prepare a case for OpenFOAM (for beginners)
  #1
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hello,

I would like to give here a small guide (neither perfect nor exhaustive) for OpenFOAM beginners about how to prepare an OpenFOAM case.

The aim is to speed-up the understanding of OpenFOAM.

Here it is:

  1. Choose a solver compatible with the case to simulate: http://openfoam.org/docs/user/standard-solvers.php#x13-890003.5

  2. Look for an existing case in the OpenFOAM tutorials cases (installed on your computer at the same time than OpenFOAM itself, in the $FOAM_TUTORIALS folder) being the closest to what you want to simulate.

  3. Change the simulation parameters in the system/controlDict file (start time, end time, time step, such things - see http://openfoam.org/docs/user/controlDict.php) and constant/* files (fluid properties, turbulence model, such things - see http://openfoam.org/docs/user/models.php).

  4. Create a mesh thanks to blockMesh (http://openfoam.org/docs/user/blockM...#x25-1420005.3) or snappyHexMesh (http://openfoam.org/docs/user/snappy...#x26-1510005.4) or import an existing mesh (http://openfoam.org/docs/user/mesh-c...#x27-1600005.5).

  5. Modify the type of boundaries in constant/polymesh/boundary file (http://openfoam.org/docs/user/boundaries.php).

  6. Modify the boundary conditions + initial condition in the first time folder (eg. 0). See http://openfoam.org/docs/user/boundaries.php.

  7. Launch the solver.

  8. Post-process with paraFoam.

Here is a tutorial :

http://openfoam.org/docs/user/cavity.php#x5-40002.1

Hope this will help people.

Best regards,
wyldckat, Ruli, Gallienus and 4 others like this.
taalf is offline   Reply With Quote

Old   November 6, 2022, 02:22
Default
  #2
New Member
 
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 4
revathi_3011 is on a distinguished road
Hey, I would like to know how could we use rhoreactingFoam solver for Sandia_D_LTS tutorial case which is available in combustion tutorial?
revathi_3011 is offline   Reply With Quote

Reply

Tags
beginner, case creation, openfoam


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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
MRFSimpleFoam wind turbine case diverges ysh1227 OpenFOAM Running, Solving & CFD 2 May 7, 2015 11:13
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Transient case running with a super computer microfin FLUENT 0 March 31, 2009 12:20
Turbulent Flat Plate Validation Case Jonas Larsson Main CFD Forum 0 April 2, 2004 11:25


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