mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: generalize (parameterize) blockMeshDict for half-cylinder geometries
- profit from some of the recent modifications to parser expansion TUT: adjust some #eval statements for less clutter
This commit is contained in:
@ -25,7 +25,7 @@ boundaryField
|
||||
type rotatingWallVelocity;
|
||||
axis (0 1 0);
|
||||
origin (0 0 0);
|
||||
omega constant #eval{ 2.1 * (2*pi()) }; // rev/s -> rads/s
|
||||
omega constant ${{ 2.1 * (2*pi()) }}; // rev/s -> rads/s
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ boundaryField
|
||||
type rotatingWallVelocity;
|
||||
axis (0 1 0);
|
||||
origin (0 0 0);
|
||||
omega constant #eval{ 2.1 * (2*pi()) }; // rev/s -> rads/s
|
||||
omega constant ${{ 2.1 * (2*pi()) }}; // rev/s -> rads/s
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
vessel
|
||||
|
||||
@ -42,7 +42,7 @@ solvers
|
||||
|
||||
centreOfMass (0.5 0.5 0.4);
|
||||
cOfGdisplacement CofG;
|
||||
|
||||
|
||||
// Cuboid dimensions
|
||||
Lx 0.24;
|
||||
Ly 0.24;
|
||||
|
||||
Reference in New Issue
Block a user