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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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