pttools.analysis.plot_fluid_shell_3d

Plot \((v,w,\xi)\) for fluid shells

Classes

class pttools.analysis.plot_fluid_shell_3d.BubblePlot3D(model=None, colorscale='YlOrRd')

Bases: PlotlyPlot

Create a 3D plot of bubbles in the \((v,w,\xi)\) space

Parameters:
  • model (Model)

  • colorscale (str)

add(bubble, color=None)

Add a bubble to the plot

Parameters:
Return type:

Scatter3d

create_fig()

Create the figure

Return type:

Figure

mu_surface(n_xi=20, n_w=20, w_mult=1.5)

Add the \(\mu\) surface to the plot

Parameters:
  • n_xi (int)

  • n_w (int)

  • w_mult (float)

Return type:

Surface

shock_surfaces(n_xi=20, n_w=30, w_mult=1.5, wp_surface=False)

Add the shock surfaces to the plot

Parameters:
  • n_xi (int)

  • n_w (int)

  • w_mult (float)

  • wp_surface (bool)