fluidsim.base.output.kolmo_law

Kolmogorov law 3d (fluidsim.base.output.kolmo_law)

Provides:

class fluidsim.base.output.kolmo_law.KolmoLaw(output)[source]

Bases: SpecificOutput

Kolmogorov law 3d.

We want to test the prediction :

\[\boldsymbol{\nabla} \cdot \left( {\mathbf J_K} + {\mathbf J_P} \right) = -4 \left( \varepsilon_K + \varepsilon_A \right),\]

where

\[\begin{split}{\mathbf J_K}({\mathbf r}) \equiv \left\langle | \delta {\mathbf v} |^2 \delta {\mathbf v} \right\rangle_{\mathbf x}, \\ {\mathbf J_P}({\mathbf r}) \equiv \frac{1}{N^2} \left\langle | \delta b |^2 \delta {\mathbf v} \right\rangle_{\mathbf x}.\end{split}\]

This output computes and saves the components of the vectors \({\mathbf J}_\alpha\) averaged over the azimuthal angle (i.e. as a function of \(r_h\) and \(r_v\)), as well as radially averaged (as a function of \(r\)).

_online_save()[source]

Save the values at one time.

compute()[source]

Compute the Kolmogorov law quantities at one time.

load_temp_average(keys=None, tmin=None, tmax=None)[source]

Load selected data and time average.

plot_radial_dependencies(tmin=None, tmax=None, coef_comp3=1, coef_comp2=0.6666666666666666, save=False)[source]

Plot radial dependencies of Kolmogorov law quantities.

plot_hv_dependencies(tmin=None, tmax=None, save=False)[source]

Plot azimuthal (rho, z) dependencies of Kolmogorov law quantities.

plot_Jhv_vector(tmin=None, tmax=None, save=False)[source]

Plot vector field of J in (rho, z) plane.

Classes

KolmoLaw(output)

Kolmogorov law 3d.