36 namespace regionModels
38 namespace surfaceFilmModels
53 void constantFilmThermo::init(thermoData& td)
64 constantFilmThermo::constantFilmThermo
66 surfaceFilmRegionModel& film,
70 filmThermoModel(typeName, film,
dict),
71 name_(coeffDict_.
lookup(
"specie")),
282 trho.ref().primitiveFieldRef() = this->
rho(0, 0);
283 trho.
ref().correctBoundaryConditions();
305 extrapolatedCalculatedFvPatchScalarField::typeName
309 tmu.ref().primitiveFieldRef() = this->
mu(0, 0);
310 tmu.ref().correctBoundaryConditions();
332 extrapolatedCalculatedFvPatchScalarField::typeName
336 tsigma.ref().primitiveFieldRef() = this->
sigma(0, 0);
337 tsigma.ref().correctBoundaryConditions();
359 extrapolatedCalculatedFvPatchScalarField::typeName
363 tCp.ref().primitiveFieldRef() = this->
Cp(0, 0);
364 tCp.ref().correctBoundaryConditions();
386 extrapolatedCalculatedFvPatchScalarField::typeName
390 tkappa.ref().primitiveFieldRef() = this->
kappa(0, 0);
391 tkappa.ref().correctBoundaryConditions();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const tmp< volScalarField > & tCp
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< volScalarField > trho
virtual const word & name() const
Return the specie name.
Ignore writing from objectRegistry::writeObject()
virtual scalar Tb(const scalar p) const
Return boiling temperature [K].
Lookup type of boundary radiation properties.
const dictionary coeffDict_
Coefficients dictionary.
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
Macros for easy insertion into run-time selection tables.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
virtual scalar D(const scalar p, const scalar T) const
Return diffusivity [m2/s].
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
A class for handling words, derived from Foam::string.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
virtual scalar W() const
Return molecular weight [kg/kmol].
const dimensionSet dimPressure
const dimensionSet dimPower
virtual tmp< volScalarField > sigma() const
Return surface tension [kg/s2].
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry if present, and assign to T val. FatalIOError if it is found and the number of tokens i...
virtual tmp< volScalarField > mu() const
Return dynamic viscosity [Pa.s].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const dimensionSet dimEnergy
virtual tmp< volScalarField > rho() const
Return density [kg/m3].
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].
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.
static const word & extrapolatedCalculatedType() noexcept
The type name for extrapolatedCalculated patch fields combines zero-gradient and calculated.
Defines the attributes of an object for which implicit objectRegistry management is supported...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual ~constantFilmThermo()
Destructor.
virtual scalar pv(const scalar p, const scalar T) const
Return vapour pressure [Pa].
static constexpr const zero Zero
Global zero (0)