91#ifndef Foam_functionObjects_fieldCoordinateSystemTransform_H
92#define Foam_functionObjects_fieldCoordinateSystemTransform_H
109class fieldCoordinateSystemTransform
118 volFieldSelection fieldSet_;
121 autoPtr<coordinateSystem> csysPtr_;
125 mutable autoPtr<surfaceTensorField> rotTensorSurface_;
129 mutable autoPtr<volTensorField> rotTensorVolume_;
135 word transformFieldName(
const word& fieldName)
const;
145 template<
class FieldType>
146 void transformField(
const FieldType&
field);
149 template<
class FieldType,
class RotationFieldType>
152 const RotationFieldType& rot,
153 const FieldType&
field
164 TypeName(
"fieldCoordinateSystemTransform");
170 fieldCoordinateSystemTransform
178 fieldCoordinateSystemTransform(
const fieldCoordinateSystemTransform&)
182 void operator=(
const fieldCoordinateSystemTransform&) =
delete;
186 virtual ~fieldCoordinateSystemTransform() =
default;
195 virtual bool execute();
198 virtual bool write();
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
refinementData transform(const tensor &, const refinementData val)
No-op rotational transform for base types.
GeometricField< tensor, fvPatchField, volMesh > volTensorField
GeometricField< tensor, fvsPatchField, surfaceMesh > surfaceTensorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.