pymem3dg.boilerplate.constantOsmoticPressureModel

pymem3dg.boilerplate.constantOsmoticPressureModel(volume: float, pressure: float)

constant osmotic pressure model

Parameters:
  • volume (float) – enclosed volume of the mesh. Unused

  • pressure (float) – value of osmotic pressure

Returns:

osmotic pressure and pressure energy (negative of work)

Return type:

tuple