pymem3dg.boilerplate.ambientSolutionOsmoticPressureModel

pymem3dg.boilerplate.ambientSolutionOsmoticPressureModel(volume: float, enclosed_solute: float, ambient_concentration: float, temperature: float)

osmotic pressure model with an ambient solution concentration

Parameters:
  • volume (float) – enclosed volume

  • enclosed_solute (float) – amount of solute enclosed by the mesh

  • ambient_concentration (float) – ambient concentration

  • temperature (float) – temperature of the system

Returns:

osmotic pressure and pressure energy

Return type:

tuple