fluidsim.solvers.ns2d.output

Output (fluidsim.solvers.ns2d.output)

Provides the modules:

print_stdout

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

spatial_means

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

spectra

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

spect_energy_budget

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

and the main output class for the ns2d solver:

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

Bases: fluidsim.base.output.base.OutputBasePseudoSpectral

Output for ns2d solver.

static _complete_info_solver(info_solver)[source]

Complete the info_solver container (static method).

static _complete_params_with_default(params, info_solver)[source]

Complete the params container (static method).

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_enstrophy(self)[source]

Compute the spatially averaged enstrophy.

Classes

Output(sim)

Output for ns2d solver.