Go to the documentation of this file.
44 transform_(
mesh.nCells(), symmTensor::zero),
45 scale_(0.5*
pow(
mesh.V(), 1.0/3.0))
48 scalar
b = 0.5854101966249685;
49 scalar
c = 0.1381966011250105;
66 polyMeshTetDecomposition::cellTetIndices(
mesh, cellI);
93 transform_[cellI] =
inv(
A);
132 const point position,
139 const Type v = value/this->mesh_.V()[cellI];
144 * (position - this->mesh_.C()[cellI])
149 dataX_[cellI] += v + dv.x();
150 dataY_[cellI] += v + dv.y();
151 dataZ_[cellI] += v + dv.z();
158 const point position,
169 dataX_[cellI] - data_[cellI],
170 dataY_[cellI] - data_[cellI],
171 dataZ_[cellI] - data_[cellI]
173 & (position - this->mesh_.C()[cellI])
183 const point position,
192 dataX_[cellI] - data_[cellI],
193 dataY_[cellI] - data_[cellI],
194 dataZ_[cellI] - data_[cellI]
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tetPointRef tet(const polyMesh &mesh) const
Return the geometry corresponding to this tet from the.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
virtual ~Moment()
Destructor.
tmp< Field< Type > > internalField() const
Return an internal field of the average.
Field< symmTensor > transform_
Transform tensor from moment to gradient.
simpleMatrix< scalar > A(Nc)
label facePtB() const
Return face point B.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Pre-declare SubField and related Field type.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
label face() const
Return the face.
void add(const point position, const tetIndices &tetIs, const Type &value)
Member Functions.
Moment(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
Type interpolate(const point position, const tetIndices &tetIs) const
Interpolate.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label faceBasePt() const
Return the face base point.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Vector< scalar > vector
A scalar version of the templated Vector.
label cell() const
Return the cell.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
Moment lagrangian averaging procedure.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
label facePtA() const
Return face point A.
const dimensionedScalar c
Speed of light in a vacuum.
A face is a list of labels corresponding to mesh vertices.
scalar mag() const
Return volume.
AveragingMethod< Type >::TypeGrad TypeGrad
Public typedefs.
TypeGrad interpolateGrad(const point position, const tetIndices &tetIs) const
Interpolate gradient.
virtual void updateGrad()
Private member functions.
Tensor< Cmpt > T() const
Transpose.