Go to the documentation of this file.
41 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p)),
56 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p)),
60 if (!isType<cyclicAMIPointPatch>(
p))
65 ) <<
"patch " << this->patch().index() <<
" not cyclicAMI type. "
66 <<
"Patch type = " <<
p.type()
82 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p)),
86 if (!isType<cyclicAMIPointPatch>(this->patch()))
89 <<
"Field type does not correspond to patch type for patch "
90 << this->patch().index() <<
"." <<
endl
91 <<
"Field type: " << typeName <<
endl
92 <<
"Patch type: " << this->patch().type()
121 if (cyclicAMIPatch_.cyclicAMIPatch().owner())
132 refCast<const GeometricField<Type, pointPatchField, pointMesh> >
138 refCast<const cyclicAMIPointPatchField<Type> >
140 fld.boundaryField()[nbrPatch.
index()]
144 Field<Type> ptFld(this->patchInternalField(pField));
145 Field<Type> nbrPtFld(nbr.patchInternalField(pField));
150 const tensor& forwardT = this->forwardT()[0];
151 const tensor& reverseT = this->reverseT()[0];
161 Field<Type> nbrFcFld(nbrPpi().pointToFaceInterpolate(nbrPtFld));
164 if (cyclicAMIPatch_.cyclicAMIPatch().applyLowWeightCorrection())
166 Field<Type> fcFld(ppi().pointToFaceInterpolate(ptFld));
169 cyclicAMIPatch_.cyclicAMIPatch().interpolate
178 cyclicAMIPatch_.cyclicAMIPatch().interpolate(nbrFcFld);
182 this->addToInternalField
185 ppi().faceToPointInterpolate(nbrFcFld)()
191 Field<Type> fcFld(ppi().pointToFaceInterpolate(ptFld));
194 if (cyclicAMIPatch_.cyclicAMIPatch().applyLowWeightCorrection())
196 Field<Type> nbrFcFld(nbrPpi().pointToFaceInterpolate(nbrPtFld));
199 cyclicAMIPatch_.cyclicAMIPatch().neighbPatch().interpolate
208 cyclicAMIPatch_.cyclicAMIPatch().neighbPatch().interpolate
215 nbr.addToInternalField
218 nbrPpi().faceToPointInterpolate(fcFld)()
Cyclic AMI front and back plane patch field.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
A Coupled boundary condition for pointField.
Cyclic AMI point patch - place holder only.
rDeltaT dimensionedInternalField()
Ostream & endl(Ostream &os)
Add newline and flush stream.
Basic pointPatch represents a set of points from the mesh.
Foam::pointPatchFieldMapper.
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
dimensionSet transform(const dimensionSet &)
virtual void swapAddSeparated(const Pstream::commsTypes commsType, Field< Type > &) const
Complete swap of patch point values and add to local values.
const cyclicAMIPointPatch & cyclicAMIPatch_
Local reference cast into the cyclicAMI patch.
const cyclicAMIPointPatch & neighbPatch() const
Return neighbour point patch.
A list of keyword definitions, which are a keyword followed by any number of values (e....
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
errorManipArg< error, int > exit(error &err, const int errNo=1)
commsTypes
Types of communications.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Generic GeometricField class.
cyclicAMIPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...