44 cyclicPatch_(refCast<const cyclicFvPatch>(p))
58 cyclicPatch_(refCast<const cyclicFvPatch>(p))
60 if (!isA<cyclicFvPatch>(this->patch()))
64 "cyclicFvPatchField<Type>::cyclicFvPatchField" 66 "const cyclicFvPatchField<Type>& ," 68 "const DimensionedField<Type, volMesh>&, " 69 "const fvPatchFieldMapper&" 71 ) <<
" patch type '" << p.type()
72 <<
"' not constraint type '" << typeName <<
"'" 73 <<
"\n for patch " << p.name()
90 cyclicPatch_(refCast<const cyclicFvPatch>(p))
92 if (!isA<cyclicFvPatch>(p))
96 "cyclicFvPatchField<Type>::cyclicFvPatchField" 99 "const Field<Type>&, " 103 ) <<
" patch type '" << p.type()
104 <<
"' not constraint type '" << typeName <<
"'" 105 <<
"\n for patch " << p.name()
123 cyclicPatch_(ptf.cyclicPatch_)
135 cyclicPatch_(ptf.cyclicPatch_)
146 cyclicPatch().cyclicPatch().neighbPatch().faceCells();
158 forwardT()[0], iField[nbrFaceCells[facei]]
166 pnf[facei] = iField[nbrFaceCells[facei]];
184 return refCast<const cyclicFvPatchField<Type> >
202 cyclicPatch().cyclicPatch().neighbPatch().faceCells();
207 transformCoupleField(pnf, cmpt);
210 const labelUList& faceCells = cyclicPatch_.faceCells();
214 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
229 cyclicPatch().cyclicPatch().neighbPatch().faceCells();
234 transformCoupleField(pnf);
237 const labelUList& faceCells = cyclicPatch_.faceCells();
241 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
virtual void write(Ostream &os) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
cyclicFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Foam::fvPatchFieldMapper.
A list of keyword definitions, which are a keyword followed by any number of values (e...
This boundary condition enforces a cyclic condition between a pair of boundaries. ...
virtual void write(Ostream &) const
Write.
Abstract base class for cyclic coupled interfaces.
tmp< Field< Type > > patchNeighbourField() const
Return neighbour coupled internal cell data.
Abstract base class for coupled patches.
dimensionSet transform(const dimensionSet &)
commsTypes
Types of communications.
Spatial transformation functions for primitive fields.
Pre-declare SubField and related Field type.
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 ))
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
rDeltaT dimensionedInternalField()
Generic GeometricField class.
virtual void updateInterfaceMatrix(scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const cyclicFvPatchField< Type > & neighbourPatchField() const
Return reference to neighbour patchField.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
A class for managing temporary objects.
conserve internalField()+