Add fully implicit solver for incomp two phase with polymer

and the polymer properties based on AD.
This commit is contained in:
Liu Ming
2013-12-06 23:35:13 +08:00
parent eded8f735c
commit 080116c66b
4 changed files with 655 additions and 14 deletions

View File

@@ -65,10 +65,15 @@ namespace Opm {
*/
typedef AutoDiffBlock<double> ADB;
typedef ADB::V V;
PolymerPropsAd(const PolymerPropperties& polyprops);
PolymerPropsAd(const PolymerPropperties& polymer_props);
~PolymerPropsAd();
V PolymerPropsAd::effectiveInvWaterVisc(const V& c,const double* visc) const;
ADB PolymerPropsAd::effectiveInvWaterVisc(const ADB& c,const double* visc) const;
V PolymerPropsAd::polymerWaterVelocityRatio(const V& c) const;
ADB PolymerPropsAd::polymerWaterVelocityRatio(const ADB& c) const;
private:
const PolymerProperties polyprops_;
const PolymerProperties polymer_props_;
};