diff --git a/dumux/multidomain/2cnistokes2p2cni/2p2cnicouplinglocalresidual.hh b/dumux/multidomain/2cnistokes2p2cni/2p2cnicouplinglocalresidual.hh index 4487c37390814ccd395adf82854cddf77a51a7cc..21568b654178fa6969b94862052819a15be7d33d 100644 --- a/dumux/multidomain/2cnistokes2p2cni/2p2cnicouplinglocalresidual.hh +++ b/dumux/multidomain/2cnistokes2p2cni/2p2cnicouplinglocalresidual.hh @@ -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); diff --git a/dumux/multidomain/2cstokes2p2c/2p2ccouplinglocalresidual.hh b/dumux/multidomain/2cstokes2p2c/2p2ccouplinglocalresidual.hh index 36a614276036466a7385857893732b6d4f921f57..7b9a2116882796c10419e6504d8a9c9f21233087 100644 --- a/dumux/multidomain/2cstokes2p2c/2p2ccouplinglocalresidual.hh +++ b/dumux/multidomain/2cstokes2p2c/2p2ccouplinglocalresidual.hh @@ -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);