mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: use #eval instead of #calc where possible
This commit is contained in:
committed by
Andrew Heather
parent
02914539f7
commit
e7f380dcd5
@ -14,12 +14,12 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
scale 1;
|
||||
scale 1;
|
||||
|
||||
L 0.125664;// "20*M_PI";
|
||||
H #calc "1";
|
||||
H2 #calc "2*$H";
|
||||
W #calc "M_PI";
|
||||
L 0.125664;
|
||||
H 1.0;
|
||||
H2 #eval{ 2*$H };
|
||||
W #eval{ pi() };
|
||||
|
||||
vertices
|
||||
(
|
||||
|
||||
@ -48,7 +48,7 @@ runTimeModifiable false;
|
||||
adjustTimeStep false;
|
||||
|
||||
// Allow 10% run-up before calculating mean
|
||||
timeStart #calc #{ 0.1 * ${/endTime} #};
|
||||
timeStart #eval #{ 0.1 * ${/endTime} #};
|
||||
|
||||
functions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user