mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Deleting parabolicCylindricalCS, sphericalCS and toroidalCS
coordinate systems Modifying constructors from dictionary of coordinateSystem class (no default type) Adding localAxesRotation type. It constructs a axes-rotation tensor on each cell centre. Adding functionality to coordinateRotation blase class (transformTensor, transformVector, etc)
This commit is contained in:
@ -48,7 +48,7 @@ Foam::fieldCoordinateSystemTransform::fieldCoordinateSystemTransform
|
||||
obr_(obr),
|
||||
active_(true),
|
||||
fieldSet_(),
|
||||
coordSys_(dict, obr)
|
||||
coordSys_(obr, dict)
|
||||
{
|
||||
// Check if the available mesh is an fvMesh otherise deactivate
|
||||
if (!isA<fvMesh>(obr_))
|
||||
|
||||
@ -39,7 +39,7 @@ void Foam::fieldCoordinateSystemTransform::transformField
|
||||
{
|
||||
const word& fieldName = field.name() + "Transformed";
|
||||
|
||||
dimensionedTensor R("R", field.dimensions(), coordSys_.R());
|
||||
dimensionedTensor R("R", field.dimensions(), coordSys_.R().R());
|
||||
|
||||
if (obr_.foundObject<Type>(fieldName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user