fluidsim.solvers.ns2d.strat.output

Output (fluidsim.solvers.ns2d.strat.output)

Provides the modules:

print_stdout

Simple text output (fluidsim.solvers.ns2d.strat.output.print_stdout)

spatial_means

Spatial means (fluidsim.solvers.ns2d.strat.output.spatial_means)

spectra

Spectra output (fluidsim.solvers.ns2d.strat.output.spectra)

spect_energy_budget

Energy budget (fluidsim.solvers.ns2d.strat.output.spect_energy_budget)

and the main output class for the ns2d.strat solver:

class fluidsim.solvers.ns2d.strat.output.OutputStrat(sim)[source]

Bases: Output

Output for ns2d.strat solver.

static _complete_info_solver(info_solver)[source]

Complete the info_solver container (static method).

compute_energies_fft()[source]

Compute the kinetic and potential energy (k)

compute_energies2_fft()[source]

Compute the two kinetic energies for u_x and u_y

compute_energy_fft()[source]

Compute energy(k)

compute_enstrophy_fft()[source]

Compute enstrophy(k)

compute_energy()[source]

Compute the spatially averaged energy.

compute_energies()[source]

Compute the kinetic and potential energy

compute_enstrophy()[source]

Compute the spatially averaged enstrophy.

_init_froude_number()[source]

Compute froude number ONLY for anisotropic forcing.

_compute_ratio_omegas()[source]

Compute ratio omegas; gamma = omega_l / omega_{af}

_init_sim_repr_maker()[source]

initialize sim_repr_maker.

plot_summary(field='b', time_phys=None, tmin=None, tmax=None)[source]

Plots summary of all outputs of a simulation.

Classes

OutputStrat(sim)

Output for ns2d.strat solver.