Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
0c5f36f4
Commit
0c5f36f4
authored
Jun 18, 2018
by
mattijs
Browse files
ENH: Move stabilisation to steady-state part of LES motorBike tutorial. See
#856
.
parent
48dafded
Changes
5
Hide whitespace changes
Inline
Side-by-side
tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/controlDict
View file @
0c5f36f4
...
...
@@ -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"
}
...
...
tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/fvSchemes
View file @
0c5f36f4
...
...
@@ -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;
...
...
tutorials/incompressible/
simpleFoam
/motorBike/system/stabilizationSchemes
→
tutorials/incompressible/
pisoFoam/LES/motorBike
/motorBike/system/stabilizationSchemes
View file @
0c5f36f4
File moved
tutorials/incompressible/simpleFoam/motorBike/system/controlDict
View file @
0c5f36f4
...
...
@@ -51,7 +51,6 @@ functions
#include "cuttingPlane"
#include "forceCoeffs"
#include "ensightWrite"
#include "stabilizationSchemes"
}
...
...
tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
View file @
0c5f36f4
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment