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
90 lines
1.7 KiB
C++
90 lines
1.7 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;
|
|
location "system";
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
(0 -1.8 0) (0 1.8 0) (0 1.8 2) (0 -1.8 2)
|
|
(12 -1.8 0) (12 1.8 0) (12 1.8 2) (12 -1.8 2)
|
|
(24 -1.8 0) (24 1.8 0) (24 1.8 2) (24 -1.8 2)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) (20 24 72) simpleGrading (1 4 1)
|
|
hex (4 5 6 7 8 9 10 11) (20 24 24) simpleGrading (1 4 6)
|
|
);
|
|
|
|
boundary
|
|
(
|
|
top
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(2 3 7 6)
|
|
(6 7 11 10)
|
|
);
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 1 2 3)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(8 9 10 11)
|
|
);
|
|
}
|
|
bottom
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 1 5 4)
|
|
(4 5 9 8)
|
|
);
|
|
}
|
|
front
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(0 4 7 3)
|
|
(4 8 11 7)
|
|
);
|
|
}
|
|
back
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(1 5 6 2)
|
|
(5 9 10 6)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|