polymerUtilities.hpp
Go to the documentation of this file.
Definition: PolymerBlackoilState.hpp:34 Definition: PolymerProperties.hpp:35 Simulator state for a two-phase simulator with polymer. Definition: PolymerState.hpp:33 Definition: CompressibleTpfaPolymer.hpp:33 void computeInjectedProduced(const IncompPropertiesInterface &props, const Opm::PolymerProperties &polyprops, const PolymerState &state, const std::vector< double > &transport_src, const std::vector< double > &inj_c, const double dt, double *injected, double *produced, double &polyinj, double &polyprod) Computes injected and produced volumes of all phases, and injected and produced polymer mass.... double computePolymerAdsorbed(const IncompPropertiesInterface &props, const Opm::PolymerProperties &polyprops, const std::vector< double > &pv, const std::vector< double > &cmax) Computes total absorbed polymer mass over all grid cells. void computeTotalMobilityOmega(const Opm::IncompPropertiesInterface &props, const Opm::PolymerProperties &polyprops, const std::vector< int > &cells, const std::vector< double > &s, const std::vector< double > &c, const std::vector< double > &cmax, std::vector< double > &totmob, std::vector< double > &omega) Computes total mobility and omega for a set of s/c values. void computeFractionalFlow(const Opm::IncompPropertiesInterface &props, const Opm::PolymerProperties &polyprops, const std::vector< int > &cells, const std::vector< double > &s, const std::vector< double > &c, const std::vector< double > &cmax, std::vector< double > &fractional_flows) double computePolymerMass(const std::vector< double > &pv, const std::vector< double > &s, const std::vector< double > &c, const double dps) Computes total (free) polymer mass over all grid cells. void computeTotalMobility(const Opm::IncompPropertiesInterface &props, const Opm::PolymerProperties &polyprops, const std::vector< int > &cells, const std::vector< double > &s, const std::vector< double > &c, const std::vector< double > &cmax, std::vector< double > &totmob) Computes total mobility for a set of s/c values. |