Solver for the Navier Stokes equations for the infinite Prandtl case in the Boussinesq approximation.
General non dimensional problem:
The model is developed on the OpenFOAM platform, based on pimpleFoam and buoyantBoussinesqPimpleFoam (See www.openfoam.org.) by Matteo Cerminara (https://github.com/cerminara) and Sara Lenzi.
The buoyancy term is written explicitly, no subgrid model is adopted.
Model equations of this code (OpenFOAM):
where n indicates the n-th PIMPLE iteration and m the m-th PISO iteration.
A tutorial folder is provided, to simulate a simplified (isoviscous, 3D) convection problem at infinite Prandtl number .
BCs: fixed temperature and free slip velocity on top and bottom, periodicity along horizontal directions.
How to use convectiveFoam1.0 :
- Installation
- Download the source files
- Make everything executable if necessary
- chmod -R +x *
- Be sure the environment variables of OpenFoam 4.x have been loaded in your terminal window
- Enter in the convectiveFoam1.0 folder and install it running the script:
- ./Allwmake
- Run the tutorial
- Enter in the PrInfRa3e6 folder and run:
- ./Allclean
- ./Allrun