54void constantFilmThermo::init(thermoData&
td)
65constantFilmThermo::constantFilmThermo
67 surfaceFilmRegionModel& film,
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();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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())
@ NO_REGISTER
Do not request registration (bool: false).
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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,...
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...
static const word & extrapolatedCalculatedType() noexcept
The type name for extrapolatedCalculated patch fields combines zero-gradient and calculated.
Lookup type of boundary radiation properties.
virtual scalar W() const
Return molecular weight [kg/kmol].
virtual tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
virtual tmp< volScalarField > kappa() const
Return thermal conductivity [W/m/K].
virtual scalar Tb(const scalar p) const
Return boiling temperature [K].
virtual const word & name() const
Return the specie name.
virtual scalar pv(const scalar p, const scalar T) const
Return vapour pressure [Pa].
virtual ~constantFilmThermo()
Destructor.
virtual tmp< volScalarField > sigma() const
Return surface tension [kg/s2].
virtual scalar hl(const scalar p, const scalar T) const
Return latent heat [J/kg].
virtual tmp< volScalarField > mu() const
Return dynamic viscosity [Pa.s].
virtual tmp< volScalarField > rho() const
Return density [kg/m3].
virtual scalar D(const scalar p, const scalar T) const
Return diffusivity [m2/s].
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
Base class for film thermo models.
Base class for surface film models.
const dictionary coeffDict_
Coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const tmp< volScalarField > & tCp
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
const dimensionSet dimPressure
const dimensionSet dimPower
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimEnergy
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimDensity
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
tmp< volScalarField > trho