porousExplicitSourceReactingParcelFoam: Add total energy source term to enthalpy equation

Pressure time derivative term is run-time switchable
This commit is contained in:
Henry
2011-11-24 15:26:59 +00:00
parent fc6049ab3f
commit 7d218b5e02
13 changed files with 57 additions and 73 deletions

View File

@ -21,40 +21,40 @@ FoamFile
{
type wall;
nFaces 172;
startFace 3334;
startFace 3294;
}
inlet
{
type patch;
nFaces 20;
startFace 3506;
startFace 3466;
}
outlet
{
type patch;
nFaces 20;
startFace 3526;
startFace 3486;
}
cycLeft_half0
{
type cyclic;
nFaces 0;
startFace 3546;
nFaces 20;
startFace 3506;
matchTolerance 0.0001;
neighbourPatch cycLeft_half1;
}
cycLeft_half1
{
type cyclic;
nFaces 0;
startFace 3546;
nFaces 20;
startFace 3526;
matchTolerance 0.0001;
neighbourPatch cycLeft_half0;
}
cycRight_half0
{
type cyclic;
nFaces 0;
nFaces 20;
startFace 3546;
matchTolerance 0.0001;
neighbourPatch cycRight_half1;
@ -62,8 +62,8 @@ FoamFile
cycRight_half1
{
type cyclic;
nFaces 0;
startFace 3546;
nFaces 20;
startFace 3566;
matchTolerance 0.0001;
neighbourPatch cycRight_half0;
}
@ -71,7 +71,7 @@ FoamFile
{
type empty;
nFaces 3440;
startFace 3546;
startFace 3586;
}
)

View File

@ -85,8 +85,7 @@ PIMPLE
additional
{
pressureWork true;
pressureWorkTimeDerivative true;
pressureWorkTimeDerivative false;
}
relaxationFactors

View File

@ -31,7 +31,7 @@ divSchemes
default none;
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phi,K) Gauss linear;
div(phi,K) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;

View File

@ -83,19 +83,18 @@ PIMPLE
additional
{
pressureWork true;
pressureWorkTimeDerivative true;
pressureWorkTimeDerivative false;
}
relaxationFactors
{
fields
{
".*Final" 1;
".*" 1;
}
equations
{
".*Final" 1;
".*" 1;
}
}

View File

@ -33,7 +33,7 @@ divSchemes
default none;
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phi,K) Gauss linear;
div(phi,K) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;

View File

@ -89,7 +89,6 @@ potentialFlow
additional
{
pressureWork false;
pressureWorkTimeDerivative false;
}
@ -97,11 +96,11 @@ relaxationFactors
{
fields
{
".*Final" 1;
".*" 1;
}
equations
{
".*Final" 1;
".*" 1;
}
}