- can specify rotations that are not "axes" in a compact form: transform { origin (0 0 0); rotation none; } transform { origin (0 0 0); rotation axisAngle; axis (0 0 1); angle 45; } An expanded dictionary form also remains possible: transform { origin (0 0 0); rotation { type axisAngle; axis (0 0 1); angle 45; } } STYLE: verbose deprecation for "coordinateRotation" keyword - the "coordinateRotation" keyword was replaced by the "rotation" keyword (OpenFOAM-v1812 and later) but was handled silently. Now elevated to non-silent. STYLE: alias lookups "axesRotation", "EulerRotation", "STARCDRotation" - these warn and report the equivalent short form, which aids in upgrading. Previously had silent lookups.
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2206 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvOptions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
porosity1
|
|
{
|
|
type explicitPorositySource;
|
|
|
|
explicitPorositySourceCoeffs
|
|
{
|
|
selectionMode cellZone;
|
|
|
|
cellZone stator;
|
|
|
|
type DarcyForchheimer;
|
|
|
|
d (1e5 -1000 -1000);
|
|
f (0 0 0);
|
|
|
|
coordinateSystem
|
|
{
|
|
origin (0 0 0);
|
|
rotation none;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|