mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: Updates - see #856
This commit is contained in:
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
libs ("liblumpedPointMotion.so");
|
||||
libs ("libmeshTools.so" "liblumpedPointMotion.so");
|
||||
|
||||
application pimpleFoam;
|
||||
|
||||
|
||||
@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user