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,8 +14,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
|
||||
dynamicFvMesh dynamicOversetFvMesh;
|
||||
|
||||
solvers
|
||||
@ -55,7 +53,7 @@ solvers
|
||||
rhoSolid 500;
|
||||
|
||||
// Cuboid mass
|
||||
mass #calc "$rhoSolid*$Lx*$Ly*$Lz";
|
||||
mass #eval{ $rhoSolid*$Lx*$Ly*$Lz };
|
||||
|
||||
// Cuboid moment of inertia about the centre of mass
|
||||
momentOfInertia #codeStream
|
||||
|
||||
Reference in New Issue
Block a user