Skip to content
Snippets Groups Projects
Commit d86f8627 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[mulitdomain][localresiduals] Allow pwsn formulation

parent 12adfd80
No related branches found
No related tags found
1 merge request!241Fix/couplingpwsn
......@@ -123,8 +123,6 @@ public:
const VolumeVariables &volVars = this->curVolVars_()[scvIdx];
// set pressure as part of the momentum coupling
static_assert(GET_PROP_VALUE(TypeTag, Formulation) == TwoPTwoCFormulation::pnsw,
"This coupling condition is only implemented for a pnsw formulation.");
if (this->bcTypes_(scvIdx).isCouplingDirichlet(massBalanceIdx))
this->residual_[scvIdx][massBalanceIdx] = volVars.pressure(nPhaseIdx);
......
......@@ -123,8 +123,6 @@ public:
const VolumeVariables &volVars = this->curVolVars_()[scvIdx];
// set pressure as part of the momentum coupling
static_assert(GET_PROP_VALUE(TypeTag, Formulation) == TwoPTwoCFormulation::pnsw,
"This coupling condition is only implemented for a pnsw formulation.");
if (this->bcTypes_(scvIdx).isCouplingDirichlet(massBalanceIdx))
this->residual_[scvIdx][massBalanceIdx] = volVars.pressure(nPhaseIdx);
......
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