mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: define slip boundaries in building motion tutorial
- define nut conditions explicitly, without fallback definition
This commit is contained in:
committed by
Andrew Heather
parent
f084309b37
commit
ad5be0586b
@ -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"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -24,6 +24,8 @@ boundaryField
|
||||
{
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
#include "include/environ"
|
||||
|
||||
inlet
|
||||
{
|
||||
type zeroGradient;
|
||||
@ -44,8 +46,6 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
#include "include/environ"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -57,7 +57,7 @@ boundaryField
|
||||
uniformValue (0 0 0);
|
||||
}
|
||||
|
||||
// the ground
|
||||
// Ground
|
||||
z_
|
||||
{
|
||||
type slip;
|
||||
|
||||
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user