pttools.bubble.props

Useful functions for finding the properties of a solution.

Functions

pttools.bubble.props.find_phase(xi, v_wall)
Parameters:
Return type:

ndarray

pttools.bubble.props.find_v_index(xi, v_target)

The first array index of \(\xi\) where value is just above \(v_\text{target}\). If no xi > v_target is found, returns 0.

Parameters:
Return type:

int

pttools.bubble.props.v_and_w_from_solution(v, w, xi, v_wall, sol_type)
Parameters:
Return type:

Tuple[float, float, float, float, float, float, float, float]