mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
TUT: incompressible: clean up tutorials
This commit is contained in:
committed by
Andrew Heather
parent
3395cba40e
commit
e81cf778a1
@ -54,4 +54,5 @@ boundary
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -56,4 +55,5 @@ functions
|
||||
#include "relVelocity"
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -47,4 +47,5 @@ patches
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object decomposeParDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
numberOfSubdomains 4;
|
||||
@ -24,4 +23,5 @@ coeffs
|
||||
n (2 2 1);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -28,11 +27,13 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(U) Gauss linear;
|
||||
|
||||
div(phi,U) Gauss linearUpwind grad(U);
|
||||
div(U) Gauss linear;
|
||||
|
||||
div(phi,k) Gauss linearUpwind grad(U);
|
||||
div(phi,K) Gauss linearUpwind grad(U);
|
||||
div(phi,omega) Gauss linearUpwind grad(U);
|
||||
|
||||
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -53,7 +54,7 @@ snGradSchemes
|
||||
|
||||
wallDist
|
||||
{
|
||||
method meshWave;
|
||||
method meshWave;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -24,12 +23,14 @@ solvers
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(p|pcorr)Final"
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|k|omega)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
@ -37,6 +38,7 @@ solvers
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(U|k|omega)Final"
|
||||
{
|
||||
$U;
|
||||
@ -45,7 +47,6 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
momentumPredictor yes;
|
||||
@ -54,4 +55,5 @@ PIMPLE
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -135,4 +135,5 @@ meshQualityControls
|
||||
|
||||
mergeTolerance 1e-6;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,30 +19,36 @@ AMI.stl
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
door.stl
|
||||
{
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
fan.stl
|
||||
{
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
outlet.stl
|
||||
{
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
room.stl
|
||||
{
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
desk.stl
|
||||
{
|
||||
extractionMethod extractFromSurface;
|
||||
includedAngle 150;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user