34 namespace regionModels
36 namespace surfaceFilmModels
51 void constantFilmThermo::init(thermoData& td)
269 extrapolatedCalculatedFvPatchScalarField::typeName
273 trho.
ref().primitiveFieldRef() = this->
rho(0, 0);
274 trho.
ref().correctBoundaryConditions();
289 extrapolatedCalculatedFvPatchScalarField::typeName
293 tmu.
ref().primitiveFieldRef() = this->
mu(0, 0);
294 tmu.
ref().correctBoundaryConditions();
309 extrapolatedCalculatedFvPatchScalarField::typeName
313 tsigma.
ref().primitiveFieldRef() = this->
sigma(0, 0);
314 tsigma.
ref().correctBoundaryConditions();
329 extrapolatedCalculatedFvPatchScalarField::typeName
333 tCp.
ref().primitiveFieldRef() = this->
Cp(0, 0);
334 tCp.
ref().correctBoundaryConditions();
349 extrapolatedCalculatedFvPatchScalarField::typeName
353 tkappa.
ref().primitiveFieldRef() = this->
kappa(0, 0);
354 tkappa.
ref().correctBoundaryConditions();
Base class for surface film models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
tmp< volScalarField > trho
virtual const word & name() const
Return the specie name.
virtual scalar Tb(const scalar p) const
Return boiling temperature [K].
const dictionary coeffDict_
Coefficients dictionary.
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
Macros for easy insertion into run-time selection tables.
virtual scalar D(const scalar p, const scalar T) const
Return diffusivity [m^2/s].
virtual tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
A class for handling words, derived from string.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
virtual scalar W() const
Return molecular weight [kg/kmol].
constantFilmThermo(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model and dictionary.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
filmThermoModel(surfaceFilmRegionModel &film)
Construct null.
const dimensionSet dimPressure
const dimensionSet dimPower
virtual tmp< volScalarField > sigma() const
Return surface tension [kg/s^2].
virtual tmp< volScalarField > mu() const
Return dynamic viscosity [Pa.s].
const dimensionSet dimEnergy
virtual tmp< volScalarField > rho() const
Return density [kg/m^3].
const dimensionSet dimDensity
virtual scalar hl(const scalar p, const scalar T) const
Return latent heat [J/kg].
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > kappa() const
Return thermal conductivity [W/m/K].
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual ~constantFilmThermo()
Destructor.
virtual scalar pv(const scalar p, const scalar T) const
Return vapour pressure [Pa].
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.