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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -35,7 +35,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;
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@ boundaryField
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
"inlet|outlet|left|right"
|
||||
"(inlet|outlet|left|right)"
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
@ -33,4 +33,5 @@ RAS
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -47,10 +47,10 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable false;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc "samples"
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -49,7 +49,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -45,7 +45,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -50,7 +50,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -48,7 +48,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -45,7 +45,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -48,7 +48,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
type slip;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -38,7 +38,7 @@ boundaryField
|
||||
value uniform 10.123;
|
||||
}
|
||||
|
||||
"upperInterface|lowerInterface"
|
||||
"(upperInterface|lowerInterface)"
|
||||
{
|
||||
type cyclicAMI;
|
||||
value $internalField;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object fvOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -47,7 +47,6 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable false;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
fieldAverage1
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -70,7 +70,6 @@ relaxationFactors
|
||||
cache
|
||||
{
|
||||
grad(U);
|
||||
grad(T);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -21,4 +21,5 @@ cuttingPatches
|
||||
terrain top
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*/
|
||||
// -*- C++ -*-
|
||||
|
||||
type sets;
|
||||
libs (sampling);
|
||||
|
||||
Reference in New Issue
Block a user