executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces pimpleFoam, pisoFoam and simpleFoam and all
the corresponding tutorials have been updated and moved to
tutorials/modules/incompressibleFluid.
Class
Foam::solvers::incompressibleFluid
Description
Solver module for steady or transient turbulent flow of incompressible
isothermal fluids with optional mesh motion and change.
Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
pseudo-transient and steady simulations.
Optional fvModels and fvConstraints are provided to enhance the simulation
in many ways including adding various sources, constraining or limiting
the solution.
Reference:
\verbatim
Greenshields, C. J., & Weller, H. G. (2022).
Notes on Computational Fluid Dynamics: General Principles.
CFD Direct Ltd.: Reading, UK.
\endverbatim
SourceFiles
incompressibleFluid.C
See also
Foam::solvers::fluidSolver
Foam::solvers::isothermalFluid
81 lines
1.4 KiB
C++
81 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
xMin -10;
|
|
xMax 30;
|
|
yMin -5;
|
|
yMax 5;
|
|
zMin 0;
|
|
zMax 8;
|
|
xCells 40;
|
|
yCells 10;
|
|
zCells 8;
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
($xMin $yMin $zMin)
|
|
($xMax $yMin $zMin)
|
|
($xMax $yMax $zMin)
|
|
($xMin $yMax $zMin)
|
|
|
|
($xMin $yMin $zMax)
|
|
($xMax $yMin $zMax)
|
|
($xMax $yMax $zMax)
|
|
($xMin $yMax $zMax)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) ($xCells $yCells $zCells) simpleGrading (1 1 1)
|
|
);
|
|
|
|
boundary
|
|
(
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 3 7 4)
|
|
);
|
|
}
|
|
|
|
freestream
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(1 5 6 2)
|
|
(4 7 6 5)
|
|
(3 2 6 7)
|
|
(0 4 5 1)
|
|
);
|
|
}
|
|
|
|
ground
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 1 2 3)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|