With the selection of the Boussinesq equation of state the general buoyancy solvers buoyantSimpleFoam and buoyantPimpleFoam can be used instead of the specialised Boussinesq solvers avoiding the need for special implementation of thermal and pressure boundary conditions and providing support for radiation and fvOptions which would not have been feasible or practical in the Boussinesq solvers. Other incompressible equations of state are also supported; for most gaseous problems the incompressiblePerfectGas equation of state is likely to be more accurate than the Boussinesq equation of state. The buoyantBoussinesq[SP]impleFoam tutorials have been updated and moved to the corresponding buoyant[SP]impleFoam directories.
56 lines
1.1 KiB
C++
56 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application buoyantSimpleFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 1000;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 50;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 8;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable true;
|
|
|
|
// adjustTimeStep yes;
|
|
|
|
// maxCo 1;
|
|
|
|
functions
|
|
{
|
|
}
|
|
|
|
// ************************************************************************* //
|