This boundary condition is designed to be used in conjunction with surface film and pyrolysis modelling. It provides a temperature boundary condition for patches on the primary region based on whether the patch is seen to be 'wet', retrieved from the film alpha field. More...
Public Member Functions | |
TypeName ("filmPyrolysisTemperatureCoupled") | |
Runtime type information. More... | |
filmPyrolysisTemperatureCoupledFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
filmPyrolysisTemperatureCoupledFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
filmPyrolysisTemperatureCoupledFvPatchScalarField (const filmPyrolysisTemperatureCoupledFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
filmPyrolysisTemperatureCoupledFvPatchScalarField (const filmPyrolysisTemperatureCoupledFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
filmPyrolysisTemperatureCoupledFvPatchScalarField (const filmPyrolysisTemperatureCoupledFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const word & | phiName () const |
Return the name of phi. More... | |
word & | phiName () |
Return reference to the name of phi to allow adjustment. More... | |
const word & | rhoName () const |
Return the name of rho. More... | |
word & | rhoName () |
Return reference to the name of rho to allow adjustment. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
This boundary condition is designed to be used in conjunction with surface film and pyrolysis modelling. It provides a temperature boundary condition for patches on the primary region based on whether the patch is seen to be 'wet', retrieved from the film alpha field.
Example of the boundary condition specification:
<patchName> { type filmPyrolysisTemperatureCoupled; phi phi; // name of flux field (default = phi) rho rho; // name of density field (default = rho) deltaWet 1e-4; // threshold height for 'wet' film value uniform 300; // initial temperature / [K] }
Definition at line 64 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
filmPyrolysisTemperatureCoupledFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 32 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
Referenced by filmPyrolysisTemperatureCoupledFvPatchScalarField::clone().
filmPyrolysisTemperatureCoupledFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 64 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
filmPyrolysisTemperatureCoupledFvPatchScalarField | ( | const filmPyrolysisTemperatureCoupledFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
filmPyrolysisTemperatureCoupledFvPatchScalarField onto a new patch
Definition at line 47 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
filmPyrolysisTemperatureCoupledFvPatchScalarField | ( | const filmPyrolysisTemperatureCoupledFvPatchScalarField & | fptpsf | ) |
Construct as copy.
Definition at line 86 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
filmPyrolysisTemperatureCoupledFvPatchScalarField | ( | const filmPyrolysisTemperatureCoupledFvPatchScalarField & | fptpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 100 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
TypeName | ( | "filmPyrolysisTemperatureCoupled" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 144 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
References filmPyrolysisTemperatureCoupledFvPatchScalarField::filmPyrolysisTemperatureCoupledFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 165 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
References filmPyrolysisTemperatureCoupledFvPatchScalarField::filmPyrolysisTemperatureCoupledFvPatchScalarField().
|
inline |
Return the name of phi.
Definition at line 183 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
|
inline |
Return reference to the name of phi to allow adjustment.
Definition at line 191 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
|
inline |
Return the name of rho.
Definition at line 199 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
|
inline |
Return reference to the name of rho to allow adjustment.
Definition at line 207 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 115 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
References objectRegistry::findObject(), UPstream::msgType(), Foam::foamVersion::patch, Field< Type >::T(), and regionModel::time().
|
virtual |
Write.
Definition at line 179 of file filmPyrolysisTemperatureCoupledFvPatchScalarField.C.
References os(), fvPatchField< scalar >::write(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.