interpolate_data#
- LiquidMixture.interpolate_data(propname, mode='mean')#
Generates an array of the requested pore/throat data by interpolating the neighboring throat/pore data.
- Parameters:
propname (str) – The data to be generated.
mode (str) – Dictate how the interpolation is done. Options are ‘mean’, ‘min’, and ‘max’.
- Returns:
data – An ndarray containing the interpolated data. E.g. Requesting ‘throat.temperature’ will read the values of ‘pore.temperature’ in each of the neighboring pores and compute the average (if mode=’mean’).
- Return type:
ndarray