TUT: Updates - see #856

This commit is contained in:
Andrew Heather
2018-06-26 11:16:24 +01:00
parent f5628d72aa
commit 1e5919f8b0
6 changed files with 50 additions and 41 deletions

View File

@ -77,7 +77,7 @@ copyParallelPointDisplacement()
if notTest $@
then
latestTime=$(cd steady && foamListTimes -noZero -latestTime -processor)
latestTime=$(\cd steady && foamListTimes -noZero -latestTime -processor)
# Clone the steady-state case to transient
cloneParallelCase steady transient 0 $latestTime
@ -86,7 +86,7 @@ then
# Do the transient case
\cp files/Allrun.transient transient/Allrun
(cd transient && foamRunTutorials)
(\cd transient && foamRunTutorials)
fi
#------------------------------------------------------------------------------

View File

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs ("liblumpedPointMotion.so");
libs ("libmeshTools.so" "liblumpedPointMotion.so");
application pimpleFoam;

View File

@ -16,18 +16,19 @@ FoamFile
solvers
{
"pcorr.*"
{
solver GAMG;
tolerance 1e-2;
relTol 0;
smoother GaussSeidel;
}
p
{
solver GAMG;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
agglomerator faceAreaPair;
nCellsInCoarsestLevel 10;
mergeLevels 1;
$pcorr;
tolerance 1e-7;
relTol 0.01;
}
"(cellDisplacement)"