Commit 0c5f36f4 authored by mattijs's avatar mattijs
Browse files

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

parent 48dafded
......@@ -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"
}
......
......@@ -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;
......
......@@ -51,7 +51,6 @@ functions
#include "cuttingPlane"
#include "forceCoeffs"
#include "ensightWrite"
#include "stabilizationSchemes"
}
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment