37 namespace regionModels
39 namespace surfaceFilmModels
54 void constantFilmThermo::init(thermoData&
td)
65 constantFilmThermo::constantFilmThermo
67 surfaceFilmRegionModel& film,
71 filmThermoModel(typeName, film,
dict),
72 name_(coeffDict_.
lookup(
"specie")),
274 trho.ref().primitiveFieldRef() = this->
rho(0, 0);
275 trho.ref().correctBoundaryConditions();
289 extrapolatedCalculatedFvPatchScalarField::typeName
292 tmu.ref().primitiveFieldRef() = this->
mu(0, 0);
293 tmu.ref().correctBoundaryConditions();
307 extrapolatedCalculatedFvPatchScalarField::typeName
310 tsigma.ref().primitiveFieldRef() = this->
sigma(0, 0);
311 tsigma.ref().correctBoundaryConditions();
325 extrapolatedCalculatedFvPatchScalarField::typeName
328 tCp.ref().primitiveFieldRef() = this->
Cp(0, 0);
329 tCp.ref().correctBoundaryConditions();
343 extrapolatedCalculatedFvPatchScalarField::typeName
346 tkappa.ref().primitiveFieldRef() = this->
kappa(0, 0);
347 tkappa.ref().correctBoundaryConditions();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const tmp< volScalarField > & tCp
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< volScalarField > trho
virtual const word & name() const
Return the specie name.
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.
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
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
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
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.
defineTypeNameAndDebug(kinematicSingleLayer, 0)
Do not request registration (bool: false)
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)