TUT: define slip boundaries in building motion tutorial

- define nut conditions explicitly, without fallback definition
This commit is contained in:
Mark Olesen
2019-11-02 19:46:12 +01:00
committed by Andrew Heather
parent f084309b37
commit ad5be0586b
8 changed files with 28 additions and 24 deletions

View File

@ -25,6 +25,7 @@ boundaryField
#includeEtc "caseDicts/setConstraintTypes"
#include "include/fixedInlet"
#include "include/environ"
outlet
{
@ -33,7 +34,7 @@ boundaryField
value $internalField;
}
// the ground
// Ground
z_
{
type noSlip;
@ -43,8 +44,6 @@ boundaryField
{
type noSlip;
}
#include "include/environ"
}
// ************************************************************************* //

View File

@ -25,6 +25,7 @@ boundaryField
#includeEtc "caseDicts/setConstraintTypes"
#include "include/fixedInlet"
#include "include/environ"
outlet
{
@ -44,8 +45,6 @@ boundaryField
type epsilonWallFunction;
value $internalField;
}
#include "include/environ"
}
// ************************************************************************* //

View File

@ -25,6 +25,7 @@ boundaryField
#includeEtc "caseDicts/setConstraintTypes"
#include "include/fixedInlet"
#include "include/environ"
outlet
{
@ -44,8 +45,6 @@ boundaryField
type kqRWallFunction;
value $internalField;
}
#include "include/environ"
}
// ************************************************************************* //

View File

@ -22,22 +22,30 @@ boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
#include "include/environ"
inlet
{
type calculated;
value $internalField;
}
outlet
{
type calculated;
value $internalField;
}
z_
{
type nutkWallFunction;
value uniform 0;
value $internalField;
}
"(?i).*building.*"
{
type nutkWallFunction;
value uniform 0;
}
".*"
{
type nutkWallFunction;
value uniform 0;
value $internalField;
}
}

View File

@ -25,6 +25,7 @@ boundaryField
#includeEtc "caseDicts/setConstraintTypes"
#include "include/fixedInlet"
#include "include/environ"
outlet
{
@ -44,8 +45,6 @@ boundaryField
type omegaWallFunction;
value $internalField;
}
#include "include/environ"
}
// ************************************************************************* //

View File

@ -24,6 +24,8 @@ boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
#include "include/environ"
inlet
{
type zeroGradient;
@ -44,8 +46,6 @@ boundaryField
{
type zeroGradient;
}
#include "include/environ"
}
// ************************************************************************* //

View File

@ -57,7 +57,7 @@ boundaryField
uniformValue (0 0 0);
}
// the ground
// Ground
z_
{
type slip;

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -61,7 +61,7 @@ boundary
}
y_ // -ve Y
{
type wall;
type patch; // (slip)
faces
(
( 0 1 5 4)
@ -69,7 +69,7 @@ boundary
}
_y // +ve Y
{
type wall;
type patch; // (slip)
faces
(
( 3 7 6 2)
@ -85,7 +85,7 @@ boundary
}
_z // +ve Z = sky
{
type wall;
type patch; // (slip)
faces
(
( 4 5 6 7)