- openpnm.models.physics.source_terms.charge_conservation(target, phase, p_alg, e_alg, assumption)¶
Applies the source term on the charge conservation equation when solving for ions transport.
target (OpenPNM Base object) – Object with which this model is associated. This controls the length of the calculated array, and also provides access to other necessary properties.
p_alg (GenericAlgorithm) – The algorithm used to enforce charge conservation.
e_alg (list) – The list of algorithms used to solve for transport of different ionic species of the mixture phase.
assumption (str) –
The assumption adopted to enforce charge conservation. Options are:
rate_info – A dictionary containing the following three items:
The value of the source term function for the given list of algortihms under the provided assumption.
A placeholder (zeros array)
The value of the source term function for the given list of algortihms under the provided assumption (same as ‘rate’).
- Return type