Go to the documentation of this file.
39 EulerCoordinateRotation,
45 EulerCoordinateRotation,
90 return NullObjectRef<tensorField>();
109 return (R_ & st & Rtr_);
135 fld[i] = transformPrincipal(R_, st[i]);
146 return transformPrincipal(R_, st);
154 const scalar phiAngle,
155 const scalar thetaAngle,
156 const scalar psiAngle,
160 scalar
phi = phiAngle;
161 scalar theta = thetaAngle;
162 scalar
psi = psiAngle;
204 const vector& phiThetaPsi,
223 const scalar phiAngle,
224 const scalar thetaAngle,
225 const scalar psiAngle,
232 calcTransform(phiAngle, thetaAngle, psiAngle, inDegrees);
void calcTransform(const scalar phiAngle, const scalar thetaAngle, const scalar psiAngle, const bool inDegrees=true)
Calculate transformation tensor.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
dimensionedScalar sin(const dimensionedScalar &ds)
Tensor< scalar > tensor
Tensor of scalars.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual tmp< vectorField > transform(const vectorField &st) const
Transform vectorField using transformation tensor field.
virtual tmp< tensorField > transformTensor(const tensorField &st) const
Transform tensor field using transformation tensorField.
tensor Rtr_
Global-to-Local transformation tensor.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const Cmpt & component(const direction) const
virtual tmp< vectorField > invTransform(const vectorField &st) const
Inverse transform vectorField using transformation tensor field.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
Registry of regIOobjects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual const tensorField & Tr() const
Return transformation tensor field.
Pre-declare SubField and related Field type.
EulerCoordinateRotation()
Construct null.
virtual void write(Ostream &) const
Write.
static const sphericalTensor I(1)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
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))
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
const volScalarField & psi
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
A coordinateRotation defined in the z-x-y Euler convention.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
static const SphericalTensor I
tensor R_
Local-to-global transformation tensor.
virtual tmp< symmTensorField > transformVector(const vectorField &st) const
Transform vectorField using transformation tensorField and return.
dimensionedScalar cos(const dimensionedScalar &ds)