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

@ -20,13 +20,13 @@ internalField uniform 0.0;
boundaryField
{
"bottom|top"
"(bottom|top)"
{
type fixedValue;
value uniform 0;
}
"inlet|outlet|left|right"
"(inlet|outlet|left|right)"
{
type cyclic;
}

View File

@ -35,7 +35,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

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

View File

@ -20,13 +20,13 @@ internalField uniform 0.0;
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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -18,4 +17,5 @@ FoamFile
dimensions [0 1 -2 0 0 0 0];
value (0 0 -9.81);
// ************************************************************************* //

View File

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

View File

@ -47,10 +47,10 @@ timePrecision 6;
runTimeModifiable false;
functions
{
#includeFunc "samples"
}
// ************************************************************************* //

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

@ -49,7 +49,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -45,7 +45,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -50,7 +50,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -48,7 +48,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -45,7 +45,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -48,7 +48,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -40,7 +40,7 @@ boundaryField
type slip;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

@ -38,7 +38,7 @@ boundaryField
value uniform 10.123;
}
"upperInterface|lowerInterface"
"(upperInterface|lowerInterface)"
{
type cyclicAMI;
value $internalField;

View File

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

View File

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

View File

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

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

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

View File

@ -21,4 +21,5 @@ cuttingPatches
terrain top
);
// ************************************************************************* //

View File

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