|
[Sponsors] |
May 22, 2016, 17:32 |
simpleFoam with gravity
|
#1 |
New Member
Anonymous
Join Date: Mar 2015
Posts: 6
Rep Power: 11 |
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 |
|
May 23, 2016, 04:01 |
|
#2 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
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 |
|
|
|
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 |