Go to the documentation of this file.
37 namespace regionModels
39 namespace areaSurfaceFilmModels
51 const word& modelType,
114 for (
int corr=1; corr<=
nCorr_; corr++)
165 Info<<
"Film h min/max = " <<
min(
h_).value() <<
", "
int debug
Static debugging option.
areaScalarField ppf_
Primary region pressure.
#define InfoInFunction
Report an information message using Foam::Info.
const edgeVectorField & Le() const
Return edge length vectors.
edgeScalarField phif_
Film momentum flux.
forceList forces_
Transfer with the continuous phase.
A special matrix type and solver, designed for finite area solutions of scalar equations....
A class for handling words, derived from Foam::string.
const dimensionSet dimVelocity
virtual void preEvolveRegion()
Pre-evolve film.
label nFilmCorr_
Number of film thickness correctors.
virtual void postEvolveRegion()
Post-evolve film.
areaScalarField pnSp_
Normal pressure by particles.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
tmp< GeometricField< Type, faePatchField, edgeMesh > > flux() const
Return the face-flux field from the matrix.
areaScalarField gn_
Normal gravity field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void evolveRegion()
Evolve the film.
addToRunTimeSelectionTable(liquidFilmBase, kinematicThinFilm, dictionary)
Switch momentumPredictor_
Momentum predictor.
dimensionedScalar h0_
Smallest numerical thickness.
virtual void postEvolveRegion()
Post-evolve film.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
tmp< faMatrix< Type > > ddt(const GeometricField< Type, faPatchField, areaMesh > &vf)
void correctThermoFields()
Correct thermo.
areaScalarField pf_
Film pressure.
tmp< faVectorMatrix > correct(areaVectorField &U)
Return (net) force system.
tmp< areaScalarField > pg() const
Map primary static pressure.
uniformDimensionedVectorField g_
Gravity.
areaScalarField rhoSp_
Mass source.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const areaVectorField & faceAreaNormals() const
Return face area normals.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
areaVectorField Uf_
Film velocity.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const edgeScalarField & magLe() const
Return edge length magnitudes.
label nOuterCorr_
Number of outer correctors.
const faMesh & regionMesh() const
Return the region mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void preEvolveRegion()
Pre-evolve film.
kinematicThinFilm(const word &modelType, const fvPatch &patch, const dictionary &dict)
Construct from components and dict.
Macros for easy insertion into run-time selection tables.
void correctBoundaryConditions()
Correct boundary field.
autoPtr< filmTurbulenceModel > turbulence_
Turbulence model.
void storePrevIter() const
Store the field as the previous iteration value.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
defineTypeNameAndDebug(kinematicThinFilm, 0)
const std::string patch
OpenFOAM patch number as a std::string.
areaVectorField USp_
Momentum source.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void relax(const scalar alpha)
Relax field (for steady-state solution).
Foam::fa::options & faOptions()
Return faOptions.
areaScalarField sigma_
Surface tension [m/s2].
areaScalarField rho_
Density [kg/m3].
areaScalarField h_
Film hight.
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
edgeScalarField phi2s_
Film height flux.
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
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.
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
label nCorr_
Number of PISO-like correctors.
tmp< faMatrix< Type > > div(const edgeScalarField &flux, const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
Base class for thermal 2D shells.