46 transform_(
mesh.nCells(), Zero),
50 scalar
b = 0.5854101966249685;
51 scalar c = 0.1381966011250105;
94 transform_[celli] =
inv(
A);
110 transform_(am.transform_)
138 const label celli = tetIs.
cell();
147 const Type v = value/this->mesh_.V()[celli];
148 const TypeGrad dv = transform_[celli] & (v*
delta/scale_[celli]);
151 dataX_[celli] += v + dv.x();
152 dataY_[celli] += v + dv.y();
153 dataZ_[celli] += v + dv.z();
164 const label celli = tetIs.
cell();
178 dataX_[celli] - data_[celli],
179 dataY_[celli] - data_[celli],
180 dataZ_[celli] - data_[celli]
182 &
delta/scale_[celli]
195 const label celli(tetIs.
cell());
200 dataX_[celli] - data_[celli],
201 dataY_[celli] - data_[celli],
202 dataZ_[celli] - data_[celli]
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Base class for lagrangian averaging methods.
Moment lagrangian averaging procedure.
tmp< Field< Type > > primitiveField() const
Return an internal field of the average.
virtual ~Moment()
Destructor.
TypeGrad interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
A field of fields is a PtrList of fields with reference counting.
tmp< FieldField< Field, Type > > T() const
Return the field transpose (only defined for second rank tensors)
Generic templated field type.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Tensor< Cmpt > T() const
Return non-Hermitian transpose.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Sums a given list of (at least two or more) fields and outputs the result into a new field,...
Mesh data needed to do the Finite Volume discretisation.
const volVectorField & C() const
Return cell centres as volVectorField.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
static List< tetIndices > cellTetIndices(const polyMesh &mesh, label cI)
Return the tet decomposition of the given cell, see.
virtual const pointField & points() const
Return raw points.
bool interpolate() const noexcept
Same as isPointData()
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
triFace faceTriIs(const polyMesh &mesh, const bool warn=true) const
Return the indices corresponding to the tri on the face for.
tetPointRef tet(const polyMesh &mesh) const
Return the geometry corresponding to this tet.
label cell() const noexcept
Return the cell index.
scalar mag() const
Return volume.
A class for managing temporary objects.
A triangular face using a FixedList of labels corresponding to mesh vertices.
type
Volume classification types.
PtrList< coordinateSystem > coordinates(solidRegions.size())
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
static constexpr const zero Zero
Global zero (0)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensionedScalar cbrt(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.