mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add polymer model to ebos
Adds a conservation equation for polymer. Polymer concentration in the water phase is used as primary variable The polymer influences the viscosity of the water, and leaves gas and oil uneffected. A shear multiplier is computed if PLYSHLOG and/or SHRATE is specified based on either velocity or shrate. The shear multiplier effects the water and polymer viscosity. Tested and verified on the test cases in polymer_test_suite
This commit is contained in:
@@ -209,6 +209,9 @@ protected:
|
||||
void updateSolvent(const ElementContext& elemCtx, unsigned scvfIdx, unsigned timeIdx)
|
||||
{ asImp_().updateVolumeFluxTrans(elemCtx, scvfIdx, timeIdx); }
|
||||
|
||||
void updatePolymer(const ElementContext& elemCtx, unsigned scvfIdx, unsigned timeIdx)
|
||||
{ asImp_().updateShearMultipliers(elemCtx, scvfIdx, timeIdx); }
|
||||
|
||||
/*!
|
||||
* \brief Update the required gradients for interior faces
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user