There was an error fetching the commit references. Please try again later.
ENH: improve, simplify coordinateSystem handling (issue #863)
- coordinate systems now simply represent a transformation (translation, rotation) that is uniform for all positions, with a much reduced number of methods. The dictionary entries generated for the coordinate systems and rotations are now usable as input as well. - new coordinateSystem setRotation() method to assist with changing just the rotation matrix (issue #879) - A new cylindricalTransform class for the special case of applying cylindrical coordinate transformations that are position-dependent. This transformation definition is uses a reference to a pointField or an indirect pointField and is intended to be used on demand. (See DarcyForchheimer.C for an example of use). - added coordinateRotations namespace for better organization and reduce potential name clashes. - Streamline dictionary input requirements. * The default type is cartesian. * The default rotation type is the commonly used axes rotation specification, which is assumed if the coordinateRotation sub-dictionary does not exist. Example, Compact specification: coordinateSystem { origin (0 0 0); e2 (0 1 0); e3 (0.5 0 0.866025); } Full specification: coordinateSystem { type cartesian; origin (0 0 0); coordinateRotation { type axes; e2 (0 1 0); e3 (0.5 0 0.866025); } } - Additional rotation specification 'none' (an identity rotation): coordinateSystem { origin (0 0 0); coordinateRotation { type none; } } - Additional rotation specification 'axisAngle', which is similar to the -rotate-angle option for transforming points (issue #660). For some cases this can be more intuitive. For example, coordinateRotation { type axisAngle; axis (0 1 0); angle 30; } vs. coordinateRotation { type axes; e2 (0 1 0); e3 (0.5 0 0.866025); }
Showing
- applications/solvers/heatTransfer/chtMultiRegionFoam/solid/createSolidFields.H 6 additions, 1 deletion...heatTransfer/chtMultiRegionFoam/solid/createSolidFields.H
- applications/test/coordinateSystem/Test-coordinateSystem.C 99 additions, 9 deletionsapplications/test/coordinateSystem/Test-coordinateSystem.C
- applications/test/coordinateSystem/testCase/constant/coordinateSystems 85 additions, 0 deletions...test/coordinateSystem/testCase/constant/coordinateSystems
- applications/test/coordinateSystem/testCase/system/controlDict 48 additions, 0 deletions...cations/test/coordinateSystem/testCase/system/controlDict
- applications/test/coordinateSystem/testCsys1 66 additions, 3 deletionsapplications/test/coordinateSystem/testCsys1
- applications/test/coordinateSystem/testCsys2 59 additions, 0 deletionsapplications/test/coordinateSystem/testCsys2
- applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C 29 additions, 29 deletions...utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
- applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C 33 additions, 30 deletions...s/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
- applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C 35 additions, 31 deletions...s/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
- etc/controlDict 3 additions, 10 deletionsetc/controlDict
- src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H 1 addition, 1 deletion...WallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H
- src/dynamicMesh/meshCut/directions/directions.C 1 addition, 1 deletionsrc/dynamicMesh/meshCut/directions/directions.C
- src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.C 2 additions, 2 deletions.../motionSolvers/displacement/points0/points0MotionSolver.C
- src/engine/enginePiston/enginePiston.C 3 additions, 12 deletionssrc/engine/enginePiston/enginePiston.C
- src/engine/enginePiston/enginePiston.H 2 additions, 1 deletionsrc/engine/enginePiston/enginePiston.H
- src/engine/engineValve/engineValve.C 8 additions, 17 deletionssrc/engine/engineValve/engineValve.C
- src/engine/engineValve/engineValve.H 4 additions, 7 deletionssrc/engine/engineValve/engineValve.H
- src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.C 72 additions, 70 deletions...general/porosityModel/DarcyForchheimer/DarcyForchheimer.C
- src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.H 2 additions, 2 deletions...general/porosityModel/DarcyForchheimer/DarcyForchheimer.H
- src/finiteVolume/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.C 48 additions, 49 deletions...me/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.C
Please register or sign in to comment