Skip to content
Snippets Groups Projects
Commit 0dc99b97 authored by Timo Koch's avatar Timo Koch
Browse files

[2pnc] Use mole fraction gradients instead of concentration gradients

This was wrongly altered in a previous commit. Fick's law depends on
the mole fraction gradient. The density has to be approximated at
the face.

Also fixes the diffusive fluxes that were sometimes wrongly added
to the total mass balance when using the replaceCompIdx to replace
one component balance by the total mass balance.
parent 58fed616
No related branches found
No related tags found
1 merge request!180[fluxvars] Remove deprecated constructors and methods in all fluxvariables
Loading
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