pttools.bubble.props
Useful functions for finding the properties of a solution.
Functions
- pttools.bubble.props.find_phase(xi, v_wall)
- 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:
xi (ndarray)
v_target (float)
- Return type:
int
- pttools.bubble.props.v_and_w_from_solution(v, w, xi, v_wall, sol_type)
- Parameters:
v (ndarray)
w (ndarray)
xi (ndarray)
v_wall (float)
sol_type (SolutionType)
- Return type:
Tuple[float, float, float, float, float, float, float, float]