m_postproc.py

m_postproc.closest_point_interpolation(scheme, points, tracers, vacancy, t)
m_postproc.entrainment(comp_1)

Returns the entrainment for the .

Parameters:
  • q_top – current normal heat flux through the top boundary

  • q_cond_top – normal heat flux through the top boundary calculated for the conductive profile at the beginning of the simulation

Returns:

\[Nu = \frac{q_{top}}{q_{top}^{cond}}\]

m_postproc.melt_height(mesh, tracers, points_in_cells)
m_postproc.nusselt(q_cond_top, q_top)

Returns the Nusselt number.

Parameters:
  • q_top – current normal heat flux through the top boundary

  • q_cond_top – normal heat flux through the top boundary calculated for the conductive profile at the beginning of the simulation

Returns:

\[Nu = \frac{q_{top}}{q_{top}^{cond}}\]

m_postproc.rms_vel(v)

Returns the root mean square velocity.

Parameters:

v – velocity

Variables:
  • h – domain height

  • l – domain length

Returns:

\[v_{RMS} = \frac{1}{hl}\sqrt{\int_\Omega \boldsymbol{v}\cdot\boldsymbol{v}\ \textrm{d}x}\]