openpnm.models.misc.polynomial(target, a, prop, **kwargs)[source]

Calculates a property as a polynomial function of a given property

  • target (Base) – The object for which these values are being calculated. This controls the length of the calculated array, and also provides access to other necessary thermofluid properties.

  • a (array_like) – A list containing the polynomial coefficients, where element 0 in the list corresponds to a0 and so on. Note that no entries can be skipped so 0 coefficients must be sent as 0.

  • prop (str) – The dictionary key containing the independent variable or phase property to be used in the polynomial.


value – Array containing Pn(target[prop]), where Pn is nth order polynomial with coefficients stored in a.

Return type