mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: atm wall functions: fix double "value" entry issue (#1900)
STYLE: atm wall functions: use auto and bool types wherever possible TUT: atmosphericModels: changes for style consistency
This commit is contained in:
committed by
Andrew Heather
parent
14e86437ae
commit
1bc2ffad99
@ -36,7 +36,7 @@ boundaryField
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -20,18 +20,17 @@ internalField uniform 0.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
"bottom|top"
|
||||
"(bottom|top)"
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
rho rhok;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -20,13 +20,13 @@ internalField uniform 0.2;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
"bottom|top"
|
||||
"(bottom|top)"
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -20,13 +20,13 @@ internalField uniform Q_PLANT;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
"bottom|top"
|
||||
"(bottom|top)"
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object fvOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,6 +25,7 @@ pressureGradient
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
atmCoriolisUSource1
|
||||
{
|
||||
type atmCoriolisUSource;
|
||||
@ -36,6 +36,7 @@ atmCoriolisUSource1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
atmAmbientTurbSource1
|
||||
{
|
||||
type atmAmbientTurbSource;
|
||||
@ -47,6 +48,7 @@ atmAmbientTurbSource1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
atmBuoyancyTurbSource1
|
||||
{
|
||||
type atmBuoyancyTurbSource;
|
||||
@ -59,6 +61,7 @@ atmBuoyancyTurbSource1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
atmLengthScaleTurbSource1
|
||||
{
|
||||
type atmLengthScaleTurbSource;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
|
||||
@ -47,7 +47,6 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable false;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
ObukhovLength1
|
||||
|
||||
@ -28,11 +28,14 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,T) bounded Gauss upwind;
|
||||
div(phi,U) bounded Gauss upwind;
|
||||
div(phi,k) bounded Gauss upwind;
|
||||
div(phi,epsilon) bounded Gauss upwind;
|
||||
div(phi,omega) bounded Gauss upwind;
|
||||
|
||||
turbulence bounded Gauss upwind;
|
||||
div(phi,k) $turbulence;
|
||||
div(phi,epsilon) $turbulence;
|
||||
div(phi,omega) $turbulence;
|
||||
|
||||
div(phi,T) bounded Gauss upwind;
|
||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -69,7 +69,6 @@ relaxationFactors
|
||||
cache
|
||||
{
|
||||
grad(U);
|
||||
grad(T);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*/
|
||||
// -*- C++ -*-
|
||||
|
||||
type sets;
|
||||
libs (sampling);
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*/
|
||||
// -*- C++ -*-
|
||||
|
||||
type turbulenceFields;
|
||||
libs (fieldFunctionObjects);
|
||||
|
||||
Reference in New Issue
Block a user