39namespace areaSurfaceFilmModels
51 const word& modelType,
114 for (
int corr=1; corr<=
nCorr_; corr++)
165 Info<<
"Film h min/max = " <<
min(
h_).value() <<
", "
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,...
A special matrix type and solver, designed for finite area solutions of scalar equations....
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.
const areaVectorField & faceAreaNormals() const
Return face area normals.
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
tmp< faVectorMatrix > correct(areaVectorField &U)
Return (net) force system.
virtual void postEvolveRegion()
Post-evolve film.
virtual void preEvolveRegion()
Pre-evolve film.
virtual void evolveRegion()
Evolve the film.
areaVectorField Uf_
Film velocity.
areaScalarField h_
Film hight.
areaScalarField ppf_
Primary region pressure.
areaScalarField gn_
Normal gravity field.
label nFilmCorr_
Number of film thickness correctors.
uniformDimensionedVectorField g_
Gravity.
edgeScalarField phif_
Film momentum flux.
Switch momentumPredictor_
Momentum predictor.
Foam::fa::options & faOptions()
Return faOptions.
tmp< areaScalarField > pg() const
Map primary static pressure.
dimensionedScalar h0_
Smallest numerical thickness.
label nOuterCorr_
Number of outer correctors.
label nCorr_
Number of PISO-like correctors.
areaScalarField pf_
Film pressure.
edgeScalarField phi2s_
Film height flux.
virtual void postEvolveRegion()
Post-evolve film.
forceList forces_
Transfer with the continuous phase.
areaScalarField pnSp_
Normal pressure by particles.
areaScalarField rho_
Density [kg/m3].
areaScalarField rhoSp_
Mass source.
areaVectorField USp_
Momentum source.
virtual void preEvolveRegion()
Pre-evolve film.
areaScalarField sigma_
Surface tension [m/s2].
void correctThermoFields()
Correct thermo.
autoPtr< filmTurbulenceModel > turbulence_
Turbulence model.
const faMesh & regionMesh() const
Return the region mesh database.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define InfoInFunction
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.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimVelocity
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.