Go to the documentation of this file.
53 #ifndef cyclicACMIFvPatchField_H
54 #define cyclicACMIFvPatchField_H
94 TypeName(cyclicACMIFvPatch::typeName_());
180 if (
gMax(mask) > 1
e-5)
304 virtual int rank()
const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
const fvPatchField< Type > & nonOverlapPatchField() const
Return reference to non-overlapping patchField.
A class for managing temporary objects.
virtual bool doTransform() const
Does the patch field perform the transformation.
tmp< Field< Type2 > > neighbourSideField(const Field< Type2 > &) const
Return neighbour side field given internal fields.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
This boundary condition enforces a cyclic condition between a pair of boundaries, whereby communicati...
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
Abstract base class for cyclic ACMI coupled interfaces.
void updateCoeffs()
Update the coefficients associated with the patch field.
const cyclicACMIFvPatchField< Type > & neighbourPatchField() const
Return reference to neighbour patchField.
TypeName(cyclicACMIFvPatch::typeName_())
Runtime type information.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
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.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Pre-declare SubField and related Field type.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual bool coupled() const
Return true if coupled. Note that the underlying patch.
virtual void manipulateMatrix(fvMatrix< Type > &matrix)
Manipulate matrix.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const cyclicACMIFvPatch & cyclicACMIPatch_
Local reference cast into the cyclic patch.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
const double e
Elementary charge.
commsTypes
Types of communications.
virtual int rank() const
Return rank of component for transform.
Abstract base class for coupled patches.
Traits class for primitives.
virtual void write(Ostream &os) const
Write.
const cyclicACMIPolyPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic patch.
cyclicACMIFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour coupled internal cell data.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const cyclicACMIFvPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic AMI patch.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual const tensorField & forwardT() const
Return face transformation tensor.
const scalarField & mask() const
Mask field where 1 = overlap, 0 = no-overlap.
Type gMax(const FieldField< Field, Type > &f)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool fixesValue() const
Return true if this patch field fixes a value.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)