|
[Sponsors] |
No 'g' file in pimpleFoam tutorials (except RAS/waveSubSurface) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Pratik Chakraborty
Join Date: Nov 2022
Location: Liege, Belgium
Posts: 3
Rep Power: 3 ![]() |
Hi all,
I wanted to understand what the situation is with regards to gravity for the pimpleFoam solver. There doesn't seem to be a file for gravity, g in the constant folder. I am guessing that this means gravity is not considered (?). However, the waveSubSurface tutorial under pimpleFoam/RAS/ does have a g file. What does that mean? Is it that - in case there does exist that file, gravity will be considered? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
hui cheng
Join Date: Jul 2017
Posts: 4
Rep Power: 9 ![]() |
The g file also shows in tutorials\incompressible\pimpleFoam\RAS\rotatingFa nInRoom, However, I think the pimplefoam solver does not read the g file at all!
Last edited by chenghui62000; November 6, 2023 at 06:22. |
|
![]() |
![]() |
![]() |
![]() |
#3 | ||
New Member
Alex Krochak
Join Date: May 2022
Posts: 9
Rep Power: 4 ![]() |
Quote:
Quote:
HTML Code:
https://www.openfoam.com/documentation/guides/latest/api/pimpleFoam_8C_source.html \ddt{\vec{U}} + \div \left( \vec{U} \vec{U} \right) - \div \gvec{R} = - \grad p + \vec{S}_U It may be possible to include gravity by using a source term with fvOptions file, but you're probably better off using a solver for heat-transfer, such as buoyantPimpleFoam or buoyantBoussinesqPimpleFoam. You can read more here: HTML Code:
https://www.openfoam.com/documentation/guides/latest/doc/guide-applications-solvers-variable-transform-p-rgh.html |
|||
![]() |
![]() |
![]() |
Tags |
gravity force, gravity openfoam, pimple. openfoam, pimplefoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 06:47 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 21:03 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |