ENH: Move stabilisation to steady-state part of LES motorBike tutorial. See #856.

This commit is contained in:
mattijs
2018-06-18 15:00:47 +01:00
parent 48dafdedcf
commit 0c5f36f40a
5 changed files with 9 additions and 64 deletions

View File

@ -49,68 +49,14 @@ runTimeModifiable true;
functions
{
streamLines
{
type streamLine;
writeControl writeTime;
setFormat vtk;
trackForward true;
fields (p U);
lifeTime 10000;
nSubCycle 5;
cloud particleTracks;
seedSampleSet
{
type uniform;
axis x;
start (-1.001 1e-07 0.0011);
end (-1.001 1e-07 1.0011);
nPoints 20;
}
}
cuttingPlane
{
type surfaces;
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;
fields (p U);
interpolationScheme cellPoint;
surfaces
(
yNormal
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
point (0 0 0);
normal (0 1 0);
}
interpolate true;
}
);
}
forces
{
type forceCoeffs;
libs ("libforces.so");
writeControl timeStep;
writeInterval 1;
patches ("motorBike.*");
rho rhoInf;
log true;
rhoInf 1;
liftDir (0 0 1);
dragDir (1 0 0);
CofR (0.72 0 0);
pitchAxis (0 1 0);
magUInf 20;
lRef 1.42;
Aref 0.75;
}
// Demonstrate runtime postprocessing
#include "streamLines"
#include "cuttingPlane"
#include "runtimePostProcessing"
// Do some other functionObjects
#include "forceCoeffs"
#include "stabilizationSchemes"
}

View File

@ -30,7 +30,7 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) bounded Gauss linearUpwindV grad(U);
div(phi,U) bounded Gauss localBlended linearUpwindV grad(U) linear;
div(phi,k) bounded Gauss upwind;
div(phi,omega) bounded Gauss upwind;
div((nuEff*dev2(T(grad(U))))) Gauss linear;

View File

@ -51,7 +51,6 @@ functions
#include "cuttingPlane"
#include "forceCoeffs"
#include "ensightWrite"
#include "stabilizationSchemes"
}

View File

@ -28,7 +28,7 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) bounded Gauss localBlended linearUpwindV grad(U) linear;
div(phi,U) bounded Gauss linearUpwindV grad(U);
div(phi,k) bounded Gauss upwind;
div(phi,omega) bounded Gauss upwind;
div((nuEff*dev2(T(grad(U))))) Gauss linear;