50 const word& modelType,
102 for (
int corr=1; corr<=
nCorr_; corr++)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void relax(const scalar alpha)
Relax field (for steady-state solution).
void storePrevIter() const
Store the field as the previous iteration value.
void correctBoundaryConditions()
Correct boundary field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
tmp< GeometricField< Type, faePatchField, edgeMesh > > flux() const
Return the face-flux field from the matrix.
tmp< GeometricField< Type, faPatchField, areaMesh > > H() const
Return the H operation source.
tmp< areaScalarField > A() const
Return the central coefficient.
const edgeScalarField & magLe() const
Return edge length magnitudes.
const edgeVectorField & Le() const
Return edge length vectors.
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
Mesh data needed to do the Finite Volume discretisation.
Thin film model with support for immersed boundary method (IBM).
regionFaIBMList immersedBoundary_
Immersed boundaries.
virtual void preEvolveRegion()
Pre-evolve film.
kinematicThinFilmIBM(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components and dict.
virtual void evolveRegion()
Evolve the film.
virtual void preEvolveRegion()
Pre-evolve film.
kinematicThinFilm(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components and dict.
areaVectorField Uf_
Film velocity.
areaScalarField h_
Film height.
areaScalarField ppf_
Primary region pressure.
areaScalarField gn_
Normal gravity field.
label nFilmCorr_
Number of film thickness correctors.
edgeScalarField phif_
Film momentum flux.
Switch momentumPredictor_
Flag to enable momentum predictor.
dimensionedScalar h0_
Smallest film thickness.
label nOuterCorr_
Number of outer correctors.
Foam::fa::options & faOptions() noexcept
Return faOptions.
label nCorr_
Number of PISO-like inner correctors.
areaScalarField pf_
Film pressure.
edgeScalarField phi2s_
Film height flux.
areaScalarField pnSp_
Normal pressure by particles.
areaScalarField rho_
Density [kg/m3].
areaScalarField rhoSp_
Mass source.
areaScalarField sigma_
Surface tension [m/s^2].
const areaVectorField & Ustar() const noexcept
Ustar velocity.
void zeroFilter(Type &fld) const
Apply the zero filter to an area field.
const Time & time() const noexcept
Return the reference to the time database.
const faMesh & regionMesh() const
Return the region mesh database.
const fvMesh & primaryMesh() const noexcept
Return the reference to the primary mesh database.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define DebugInFunction
Report an information message using Foam::Info.
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
tmp< faMatrix< Type > > div(const edgeScalarField &flux, const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< faMatrix< Type > > ddt(const GeometricField< Type, faPatchField, areaMesh > &vf)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const dimensionSet dimVelocity
faMatrix< scalar > faScalarMatrix
messageStream Info
Information stream (stdout output on master, null elsewhere).
scalarMinMax gMinMaxMag(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< vector, faPatchField, areaMesh > areaVectorField
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
faMatrix< vector > faVectorMatrix
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
constexpr char nl
The newline '\n' character (0x0a).