TUT: use #eval instead of #calc where possible

This commit is contained in:
Mark Olesen
2019-10-01 10:14:55 +02:00
committed by Andrew Heather
parent 02914539f7
commit e7f380dcd5
12 changed files with 119 additions and 123 deletions

View File

@ -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