ENH: support coordinateSystem/transform for sampled planes

- previously only defined for cell-cutting version, now for
  iso-surface version too

TUT: remove old transform/coordinateSystem syntax
This commit is contained in:
Mark Olesen
2022-06-08 12:28:02 +02:00
parent fbaadf3a94
commit 9a75ce8434
10 changed files with 197 additions and 79 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -53,28 +53,17 @@ geometry
surface box1;
scale (1.0 1.0 2.1);
// Old syntax
transform
{
coordinateSystem
{
type cartesian;
origin (2 2 0);
rotation
{
type axes;
e1 (1 0 0);
e3 (0 0 1);
}
}
origin (2 2 0);
rotation none;
}
}
herring
{
surface box1;
scale (1.0 1.0 2.1);
scale (1.0 1.0 2.1);
// Simplified syntax
transform
{
origin (3.5 3 0);