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: fluidsim.solvers.ns2d.output.Output

Output for ns2d.strat solver.

static _complete_info_solver(info_solver)[source]

Complete the info_solver container (static method).

compute_energies_fft(self)[source]

Compute the kinetic and potential energy (k)

compute_energies2_fft(self)[source]

Compute the two kinetic energies for u_x and u_y

compute_energy_fft(self)[source]

Compute energy(k)

compute_enstrophy_fft(self)[source]

Compute enstrophy(k)

compute_energy(self)[source]

Compute the spatially averaged energy.

compute_energies(self)[source]

Compute the kinetic and potential energy

compute_enstrophy(self)[source]

Compute the spatially averaged enstrophy.

_init_froude_number(self)[source]

Compute froude number ONLY for anisotropic forcing.

_compute_ratio_omegas(self)[source]

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

_init_sim_repr_maker(self)[source]

initialize sim_repr_maker.

plot_summary(self, 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.