Go to the documentation of this file.
31 #include "surfaceInterpolate.H"
38 namespace functionObjects
47 Foam::functionObjects::filmFlux::filmModel()
63 filmName_(
"surfaceFilmProperties"),
64 resultName_(scopedName(
"filmFlux"))
76 dict.readIfPresent<
word>(
"film", filmName_);
77 dict.readIfPresent<
word>(
"result", resultName_);
88 const auto& model = filmModel();
110 filmMesh.objectRegistry::store(resultPtr);
113 auto& result = *resultPtr;
132 zeroGradientFvPatchScalarField::typeName
135 auto& heightc = height.ref();
138 height.correctBoundaryConditions();
148 const auto&
filmMesh = filmModel().regionMesh();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
static constexpr const zero Zero
bool read(const char *buf, int32_t &val)
Base class for function objects, adding functionality to read/write state information (data required ...
Kinematic form of single-cell layer surface film model.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
DimensionedField< Type, GeoMesh > Internal
filmFlux(const word &name, const Time &runTime, const dictionary &dict)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual bool read(const dictionary &dict)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
void correctBoundaryConditions()
fvMesh filmMesh(IOobject(filmRegionName, runTime.timeName(), runTime, IOobject::MUST_READ))
virtual bool read(const dictionary &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
Internal & ref(const bool updateAccessTime=true)
defineTypeNameAndDebug(ObukhovLength, 0)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
word name(const expressions::valueTypeCode typeCode)
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...