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:
Kutalmis Bercin
2020-11-03 10:25:02 +00:00
committed by Andrew Heather
parent 14e86437ae
commit 1bc2ffad99
80 changed files with 323 additions and 311 deletions

View File

@ -36,7 +36,7 @@ boundaryField
value uniform 300;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -31,7 +31,7 @@ boundaryField
type slip;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -37,7 +37,7 @@ boundaryField
value uniform 0;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -34,7 +34,7 @@ boundaryField
type slip;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -31,7 +31,7 @@ boundaryField
type slip;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -32,7 +32,7 @@ boundaryField
value uniform 0;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -36,7 +36,7 @@ boundaryField
value uniform 0;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -34,7 +34,7 @@ boundaryField
type slip;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -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;
}
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
simulationType RAS;
RAS
{

View File

@ -47,7 +47,6 @@ timePrecision 6;
runTimeModifiable false;
functions
{
ObukhovLength1

View File

@ -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;
}

View File

@ -69,7 +69,6 @@ relaxationFactors
cache
{
grad(U);
grad(T);
}

View File

@ -1,4 +1,4 @@
/*--------------------------------*- C++ -*----------------------------------*/
// -*- C++ -*-
type sets;
libs (sampling);

View File

@ -1,4 +1,4 @@
/*--------------------------------*- C++ -*----------------------------------*/
// -*- C++ -*-
type turbulenceFields;
libs (fieldFunctionObjects);