Go to the documentation of this file.
40 const bool allowUnknownPatchFields
54 procMesh_.boundary()[
patchi],
68 procMesh_.time().timeName(),
90 if (patchFieldDecomposerPtrs_[
patchi])
98 procMesh_.boundary()[
patchi],
100 *patchFieldDecomposerPtrs_[
patchi]
104 else if (isA<processorCyclicFvPatch>(procMesh_.boundary()[
patchi]))
111 procMesh_.boundary()[
patchi],
116 *processorVolPatchFieldDecomposerPtrs_[
patchi]
121 else if (isA<processorFvPatch>(procMesh_.boundary()[
patchi]))
128 procMesh_.boundary()[
patchi],
133 *processorVolPatchFieldDecomposerPtrs_[
patchi]
138 else if (allowUnknownPatchFields)
145 procMesh_.boundary()[
patchi],
174 procMesh_.nInternalFaces()
205 const label patchStart = field.mesh().boundaryMesh()[
patchi].start();
209 allFaceField[patchStart + i] =
p[i];
225 procMesh_.boundary()[
patchi],
238 procMesh_.time().timeName(),
260 if (patchFieldDecomposerPtrs_[
patchi])
268 procMesh_.boundary()[
patchi],
270 *patchFieldDecomposerPtrs_[
patchi]
274 else if (isA<processorCyclicFvPatch>(procMesh_.boundary()[
patchi]))
281 procMesh_.boundary()[
patchi],
286 *processorSurfacePatchFieldDecomposerPtrs_[
patchi]
291 else if (isA<processorFvPatch>(procMesh_.boundary()[
patchi]))
298 procMesh_.boundary()[
patchi],
303 *processorSurfacePatchFieldDecomposerPtrs_[
patchi]
320 template<
class GeoField>
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField(const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
Decompose volume field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
DimensionedInternalField & dimensionedInternalField()
Return dimensioned internal field.
#define forAll(list, i)
Loop across all elements in list.
This boundary condition enables processor communication across patches.
A class for managing temporary objects.
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
A List obtained as a section of another List.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Foam::calculatedFvsPatchField.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
bool set(const label) const
Is element set.
This boundary condition enables processor communication across cyclic patches.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void decomposeFields(const PtrList< GeoField > &fields) const
InternalField & internalField()
Return internal field.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
This boundary condition provides an 'empty' condition for reduced dimensions cases,...
Foam::processorCyclicFvsPatchField.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
errorManip< error > abort(error &err)
conserve internalField()+
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Foam::processorFvsPatchField.
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...