fluidsim.base.output

Output (fluidsim.base.output)

Provides:

base

Base module for the output (fluidsim.base.output.base)

prob_dens_func

spectra

phys_fields

Physical fields output (fluidsim.base.output.phys_fields)

phys_fields1d

Physical fields output 1d (fluidsim.base.output.phys_fields1d)

phys_fields2d

Physical fields output 2d (fluidsim.base.output.phys_fields2d)

phys_fields3d

Physical fields output 3d (fluidsim.base.output.phys_fields3d)

movies

Movies output (fluidsim.base.output.movies)

spatial_means

time_signals_fft

increments

print_stdout

spect_energy_budget

class fluidsim.base.output.OutputBase(sim)[source]

Bases: object

Handle the output.

static _complete_info_solver(info_solver)[source]

Complete the ParamContainer info_solver.

static _complete_params_with_default(params, info_solver)[source]

This static method is used to complete the params container.

_init_name_run(self)[source]

Initialize the run name

_init_sim_repr_maker(self)[source]

Create a list of strings to make the run name.

_save_info_solver_params_xml(self, replace=False)[source]

Save files with information on the solver and on the run.

class fluidsim.base.output.OutputBasePseudoSpectral(sim)[source]

Bases: fluidsim.base.output.base.OutputBase

compute_energy_fft(self)[source]

Compute energy(k)

compute_energy(self)[source]

Compute the spatially averaged energy.

Functions

create_description_xmf_file([path])

Create description xmf file for Paraview

create_description_xmf_files([path])

Create description xmf files for Paraview

run()