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
92 lines
1.9 KiB
C++
92 lines
1.9 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 "constant";
|
|
object cloudProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type cloud;
|
|
|
|
solution
|
|
{
|
|
coupled false;
|
|
transient yes;
|
|
cellValueSourceCorrection off;
|
|
maxCo 0.3;
|
|
|
|
interpolationSchemes
|
|
{
|
|
rho cell;
|
|
U cellPoint;
|
|
mu cell;
|
|
}
|
|
|
|
integrationSchemes
|
|
{
|
|
U Euler;
|
|
}
|
|
}
|
|
|
|
constantProperties
|
|
{
|
|
rho0 964;
|
|
}
|
|
|
|
subModels
|
|
{
|
|
particleForces
|
|
{
|
|
sphereDrag;
|
|
}
|
|
|
|
injectionModels
|
|
{
|
|
model1
|
|
{
|
|
type patchInjection;
|
|
massTotal 0;
|
|
SOI 0;
|
|
duration 5;
|
|
parcelBasisType fixed;
|
|
nParticle 1;
|
|
parcelsPerSecond 1000;
|
|
patchName inlet;
|
|
U0 (1 0 0);
|
|
flowRateProfile constant 1;
|
|
sizeDistribution
|
|
{
|
|
type fixedValue;
|
|
fixedValueDistribution
|
|
{
|
|
value 1e-4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dispersionModel none;
|
|
|
|
patchInteractionModel standardWallInteraction;
|
|
|
|
standardWallInteractionCoeffs
|
|
{
|
|
type rebound;
|
|
}
|
|
|
|
surfaceFilmModel none;
|
|
|
|
stochasticCollisionModel none;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|