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

simpleFoam with gravity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2016, 17:32
Default simpleFoam with gravity
  #1
New Member
 
Anonymous
Join Date: Mar 2015
Posts: 6
Rep Power: 11
tagabi3 is on a distinguished road
Hi,

Is it possible to add gravity to simpleFoam in OpenFOAM 3.0? I have seen that there are files such "g" and "gravitationalProperties", but I am not so sure if gravity is included in my simulation (I have set up both in constant/ but still not sure if they actually worked). Can anyone help me how to include gravity in my simulation (or which files do I need)?

Thank you in advance!
Gabor
tagabi3 is offline   Reply With Quote

Old   May 23, 2016, 04:01
Default
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello,

The tutorial multiRegionHeaterRadiation includes already Gravity.

Under constant bottomAir as example...

Now going to installation folder

/opt/openfoam30/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid

And looking in pEqn.H you will see the gravity included. At least here. If somewhere else, I am not sure

Regards

Peter
peterhess 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
MPI error with simpleFoam blaise OpenFOAM Running, Solving & CFD 0 November 7, 2015 15:01
simpleFoam parallel solver & Fluent polyhedral mesh Zlatko OpenFOAM Running, Solving & CFD 3 September 26, 2014 07:53
Laminar simpleFoam and inviscid simpleFoam herenger OpenFOAM Running, Solving & CFD 7 July 11, 2013 07:27
Trying to run a benchmark case with simpleFoam spsb OpenFOAM 3 February 24, 2012 10:07


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