Changed boundary conditions for tutorial case and some numerical settings.

This commit is contained in:
Thomas Lichtenegger
2017-08-30 19:16:21 +02:00
parent a761c22ede
commit 557a9d3fad
7 changed files with 40 additions and 8 deletions

View File

@ -38,7 +38,8 @@ boundaryField
inlet
{
type zeroGradient;
type fixedValue;
value uniform 0.0;
}
outlet

View File

@ -38,7 +38,8 @@ boundaryField
inlet
{
type zeroGradient;
type fixedValue;
value uniform 1.0;
}
outlet

View File

@ -38,7 +38,8 @@ boundaryField
inlet
{
type zeroGradient;
type fixedValue;
value uniform 1293.15;
}
outlet

View File

@ -37,7 +37,8 @@ boundaryField
inlet
{
type zeroGradient;
type fixedValue;
value uniform 0.38;
}
outlet

View File

@ -0,0 +1,28 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
source1
{
type limitTemperature;
active yes;
limitTemperatureCoeffs
{
active yes;
selectionMode all;
Tmin 500;
Tmax 1500;
}
}

View File

@ -29,7 +29,7 @@ divSchemes
{
default none;
div(phi,U) Gauss linear; //Gauss upwind;
div(phi,U) Gauss upwind;
div(phid,p) Gauss linear; //Gauss upwind;
div(phi,K) Gauss linear;
div(phi,h) Gauss upwind;

View File

@ -50,7 +50,7 @@ solvers
pFinal
{
$p;
tolerance 1e-06;
tolerance 1e-07;
relTol 0;
}
@ -65,7 +65,7 @@ solvers
"(U|h|R|k|epsilon)Final"
{
$U;
tolerance 1e-05;
tolerance 1e-07;
relTol 0;
}
@ -77,7 +77,7 @@ solvers
"(Yi|CO2|O2)Final"
{
$Yi;
tolerance 1e-06;
tolerance 1e-08;
relTol 0;
}
}