Go to the documentation of this file.
31 #include "surfaceInterpolate.H"
38 namespace functionObjects
47 Foam::functionObjects::filmFlux::filmModel()
49 return time_.objectRegistry::lookupObject<filmType>(filmName_);
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
Global zero (0)
const Time & time_
Reference to the time database.
bool read(const char *buf, int32_t &val)
Same as readInt32.
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)
filmFlux(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual bool read(const dictionary &dict)
Read and set the function object if its data have changed.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
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.
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)
Interpolate field onto faces using scheme given by Istream.
fvMesh filmMesh(IOobject(filmRegionName, runTime.timeName(), runTime, IOobject::MUST_READ))
virtual bool read(const dictionary &)
Read the field data.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
virtual bool write()
Write the field.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
defineTypeNameAndDebug(ObukhovLength, 0)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool execute()
Execute.