56 const modelType& region1D =
59 "thermalBaffleProperties"
62 dc = 2.0/(
pp.thickness()/region1D.nLayers());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const polyPatch & patch() const noexcept
Return the polyPatch.
Take thickness field and number of layers and returns deltaCoeffs as 2.0/thickness/nLayers....
void makeDeltaCoeffs(scalarField &dc) const
Read neighbour cell distances from dictionary.
Foam::mappedVariableThicknessWallPolyPatch.
const Time & time() const noexcept
Return time registry.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
const polyMesh & mesh() const noexcept
Return the mesh reference.
A patch is a list of labels that address the faces in the global face list.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
Base class for 1-D region models.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.