Commit 78fe5c36 authored by Katherina Baber's avatar Katherina Baber
Browse files

diffusion coefficient was wrong and srewed up diffusion, corrected now;

adapted grid to problem setting


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5756 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent db0ee6d2
......@@ -136,8 +136,8 @@ public:
else
{
// storage term of continuity equation- molefractions
result[contiEqIdx] += 0.0;
//volVars.molarDensity()*volVars.porosity();
//careful: molarDensity changes with moleFrac!
result[contiEqIdx] += volVars.molarDensity()*volVars.porosity();
// storage term of the transport equation - molefractions
result[transEqIdx] +=
volVars.molarDensity()*volVars.moleFrac(comp1Idx) *
......@@ -238,7 +238,6 @@ public:
if(moleMass > 0)
{
// diffusive flux of the second component - massfraction
//+ geht besser, aber mit - geht das gekoppelte besser?!
tmp = - fluxVars.porousDiffCoeff() * fluxVars.densityAtIP()*
(fluxVars.massFracGrad(comp1Idx) * fluxVars.face().normal);
......
......@@ -167,7 +167,7 @@ public:
const FluidState &fluidState)
{
// 3.7378e-12
return 8.8786695-14; // in [m^2/s]
return 8.8786695e-14; // in [m^2/s]
}
};
......
DGF
Interval
0 0 % first corner
22e-3 22e-3 % second corner
44 44 % x-Achse wird 44x unterteilt und y-Achse
1 1 % 22e-3 22e-3 % second corner
20 20 % x-Achse wird 44x unterteilt und y-Achse
#
BOUNDARYDOMAIN
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment