Go to the documentation of this file.
55 #ifndef cyclicACMIFvPatchField_H
56 #define cyclicACMIFvPatchField_H
105 TypeName(cyclicACMIFvPatch::typeName_());
173 return cyclicACMIPatch_;
191 if (
gMax(mask) > 1
e-5)
275 virtual int rank()
const
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
The class contains the addressing required by the lduMatrix: upper, lower and losort.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
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.
This boundary condition enforces a cyclic condition between a pair of boundaries, whereby communicati...
virtual bool parallel() const
Are the cyclic planes parallel.
Abstract base class for cyclic ACMI coupled interfaces.
virtual 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 const tensorField & forwardT() const
Return face transformation tensor.
Generic templated 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.
Field< solveScalar > solveScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
commsTypes
Types of communications.
virtual int rank() const
Return rank of component for transform.
Abstract base class for coupled patches.
A traits class, which is primarily used 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.
const dimensionedScalar e
Elementary charge.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour coupled internal cell data.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
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 const tensorField & forwardT() const
Return face transformation tensor.
const scalarField & mask() const
Mask field where 1 = overlap(coupled), 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)