add coordinate transforms to surface writer output
cross-ref EP1886 @martin.werther
Discussed the need to have different locations for the output sampled surface (eg, to relocate into the original car coordinate system and scale in mm).
We already have geometry scaling, but that is mostly ad hoc for a few select writers. With this change it would make sense to add in a general cartesian coordsys transform. For example,
transform
{
origin (5 1 0);
e1 (0 1 0);
e3 (0 0 1)
}
This syntax can also be extended with the rotation
sub-entry. For example,
transform
{
origin (5 1 0);
rotation
{
type euler;
order rollPitchYaw;
angles (0 0 90)
}
}
scale 1000; // [m] -> [mm]
These are applied in the OpenFOAM global MKS coordinate system, and the scaling is applied afterwards.
Edited by Mark OLESEN