pttools.bubble.fluid_reference

Classes

class pttools.bubble.fluid_reference.FluidReference(path, v_wall_min=0.05, v_wall_max=0.95, alpha_n_min=0.01, alpha_n_max=0.99, n_v_wall=100, n_alpha_n=100)

Bases: object

Parameters:
  • path (str)

  • v_wall_min (float)

  • v_wall_max (float)

  • alpha_n_min (float)

  • alpha_n_max (float)

  • n_v_wall (int)

  • n_alpha_n (int)

create(v_wall_min, v_wall_max, alpha_n_min, alpha_n_max, n_v_wall, n_alpha_n)
Parameters:
  • v_wall_min (float)

  • v_wall_max (float)

  • alpha_n_min (float)

  • alpha_n_max (float)

  • n_v_wall (int)

  • n_alpha_n (int)

get(v_wall, alpha_n, sol_type)
Parameters:
Return type:

ndarray

Functions

pttools.bubble.fluid_reference.compute(v_wall, alpha_n, alpha_n_max)
Parameters:
  • v_wall (float)

  • alpha_n (float)

  • alpha_n_max (float)

Return type:

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

pttools.bubble.fluid_reference.ref()

Examples using pttools.bubble.fluid_reference.ref

wn by w_center

wn by w_center

Bag model reference properties

Bag model reference properties

Plot κ(ξ) for various models

Plot κ(ξ) for various models

Bag model

Bag model