mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Tutorials: Updated for thermo changes
This commit is contained in:
@ -53,7 +53,7 @@ boundaryField
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,12 +27,12 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss limitedLinear 0.2;
|
||||
div(phi,K) Gauss limitedLinear 0.2;
|
||||
div(phi,h) Gauss limitedLinear 0.2;
|
||||
div(phi,k) Gauss limitedLinear 0.2;
|
||||
div(phi,epsilon) Gauss limitedLinear 0.2;
|
||||
div(phi,omega) Gauss limitedLinear 0.2;
|
||||
div(phi,U) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,K) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,h) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,k) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,epsilon) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,omega) bounded Gauss limitedLinear 0.2;
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
|
||||
@ -15,32 +15,32 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [ 0 1 -1 0 0 0 0 ];
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform ( 0.1 0 0 );
|
||||
internalField uniform (0.1 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform ( 0.1 0 0 );
|
||||
value uniform (0.1 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform ( 0 0 0 );
|
||||
value uniform ( 0 0 0 );
|
||||
inletValue uniform (0 0 0);
|
||||
value uniform (0.1 0 0);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
|
||||
@ -44,6 +44,7 @@ FoamFile
|
||||
fixedWalls
|
||||
{
|
||||
type empty;
|
||||
inGroups 1(empty);
|
||||
nFaces 4000;
|
||||
startFace 4062;
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle.*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle1.*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ dictionaryReplacement
|
||||
{
|
||||
"region0_to_.*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
|
||||
@ -27,12 +27,12 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss limitedLinear 0.2;
|
||||
div(phi,K) Gauss limitedLinear 0.2;
|
||||
div(phi,h) Gauss limitedLinear 0.2;
|
||||
div(phi,k) Gauss limitedLinear 0.2;
|
||||
div(phi,epsilon) Gauss limitedLinear 0.2;
|
||||
div(phi,omega) Gauss limitedLinear 0.2;
|
||||
div(phi,U) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,K) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,h) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,k) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,epsilon) bounded Gauss limitedLinear 0.2;
|
||||
div(phi,omega) bounded Gauss limitedLinear 0.2;
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
|
||||
@ -28,26 +28,17 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss upwind;
|
||||
div(phi,K) Gauss upwind;
|
||||
div(phi,h) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
div(phi,epsilon) Gauss upwind;
|
||||
div(phi,R) Gauss upwind;
|
||||
div(R) Gauss linear;
|
||||
div(phi,U) bounded Gauss upwind;
|
||||
div(phi,K) bounded Gauss upwind;
|
||||
div(phi,h) bounded Gauss upwind;
|
||||
div(phi,k) bounded Gauss upwind;
|
||||
div(phi,epsilon) bounded Gauss upwind;
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear corrected;
|
||||
laplacian(Dp,p_rgh) Gauss linear corrected;
|
||||
laplacian(alphaEff,h) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(gammaRad,G) Gauss linear corrected;
|
||||
default Gauss linear corrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -28,27 +28,18 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss upwind;
|
||||
div(phi,K) Gauss upwind;
|
||||
div(phi,h) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
div(phi,epsilon) Gauss upwind;
|
||||
div(phi,R) Gauss upwind;
|
||||
div(R) Gauss linear;
|
||||
div(phi,U) bounded Gauss upwind;
|
||||
div(phi,K) bounded Gauss upwind;
|
||||
div(phi,h) bounded Gauss upwind;
|
||||
div(phi,k) bounded Gauss upwind;
|
||||
div(phi,epsilon) bounded Gauss upwind;
|
||||
div(Ji,Ii_h) Gauss linearUpwind grad(Ii_h);
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(muEff,U) Gauss linear corrected;
|
||||
laplacian(Dp,p_rgh) Gauss linear corrected;
|
||||
laplacian(alphaEff,h) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(gammaRad,G) Gauss linear corrected;
|
||||
default Gauss linear corrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -100,7 +100,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -149,7 +149,7 @@ dictionaryReplacement
|
||||
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -136,7 +136,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -102,7 +102,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -132,7 +132,7 @@ dictionaryReplacement
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ boundaryField
|
||||
|
||||
".*"
|
||||
{
|
||||
type buoyantPressure;
|
||||
type fixedFluxPressure;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user