mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -26,8 +26,9 @@ porosity1
|
||||
coordinateSystem
|
||||
{
|
||||
origin (0 0 0);
|
||||
e1 (0.70710678 0.70710678 0);
|
||||
e2 (0 0 1);
|
||||
rotation axisAngle;
|
||||
axis (0 0 1);
|
||||
angle 45;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@ plane
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
fields ( cellZoneID );
|
||||
fields ( cellZoneID U );
|
||||
|
||||
surfaces
|
||||
{
|
||||
@ -105,6 +105,24 @@ plane
|
||||
normal (0 0 1);
|
||||
interpolate false;
|
||||
}
|
||||
|
||||
slices
|
||||
{
|
||||
type cuttingPlane;
|
||||
point (0 0 0);
|
||||
normal (1 0 0);
|
||||
offsets (0.02 0.04 0.06 0.08);
|
||||
|
||||
interpolate true;
|
||||
|
||||
transform
|
||||
{
|
||||
origin (0 0 0);
|
||||
rotation axisAngle;
|
||||
axis (0 0 1);
|
||||
angle 45;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user