Skip to content
Snippets Groups Projects
Commit 05d037d1 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'fix/stokes-diffusion' into 'master'

[stokesncni] Fix wrong index committed in 0dd91f8a

See merge request !442
parents d983a3cb c0442cc7
No related branches found
No related tags found
4 merge requests!600[WIP][components][plotproperties] Add a source file to plot properties of some components,!501Freeflow/turbulenceproperties,!492Resolve "Inconsistent `index()` method of the different `SubControlVolume` classes",!442[stokesncni] Fix wrong index committed in 0dd91f8af3950534b3e26338a50f12b8d16f5410
......@@ -207,8 +207,8 @@ public:
{
if (conti0EqIdx+compIdx != massBalanceIdx)
{
flux[conti0EqIdx+compIdx] += -(fluxVars.moleFractionGrad(transportCompIdx) * fluxVars.face().normal)
* (fluxVars.diffusionCoeff(transportCompIdx) + fluxVars.eddyDiffusivity())
flux[conti0EqIdx+compIdx] += -(fluxVars.moleFractionGrad(compIdx) * fluxVars.face().normal)
* (fluxVars.diffusionCoeff(compIdx) + fluxVars.eddyDiffusivity())
* fluxVars.molarDensity();
Valgrind::CheckDefined(flux[conti0EqIdx+compIdx]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment