fluidsim.base.output
Output (fluidsim.base.output
)
Provides:
Base module for the output |
|
Cross correlations |
|
Horizontal means |
|
Increments |
|
Physical fields output |
|
Physical fields output 1d |
|
Physical fields output 2d |
|
Physical fields output 3d |
|
Standard output saving |
|
Probability density functions |
|
Spatial means |
|
Spatiotemporal Spectra |
|
Spectral energy budget |
|
Spectral multidimensional |
|
Spectra |
|
Spectra 3d |
|
Temporal spectra |
|
Old spatio-temporal spectra |
- class fluidsim.base.output.OutputBase(sim)[source]
Bases:
OutputCore
Handle the output.
- class SimReprMaker(sim)
Bases:
SimReprMakerCore
Produce a string representing the simulation
- get_time_as_str()
- static _complete_params_with_default(params, info_solver)[source]
This static method is used to complete the params container.
- post_init()[source]
Execute once the sim object is injected with all child classes. Typically used to print descriptive initialization messages.
- _save_info_solver_params_xml(replace=False)[source]
Save files with information on the solver and on the run.
- get_mean_values(tmin=None, tmax=None, use_cache=True, customize=None)[source]
Get a dict of scalar values characterizing the simulation
- Parameters:
- tmin: float
Minimum time
- tmax: float
Maximum time
- use_cache: bool
If True, return the cached result
- customize: callable
If not None, called as
customize(result, self.sim)
to modify the returned dict.
Examples
def customize(result, sim): result["Rb"] = float(sim.params.short_name_type_run.split("_Rb")[-1]) sim.output.get_mean_values(customize=customize)
- _abc_impl = <_abc._abc_data object>
Functions
|
Create description xmf file for Paraview |
|
Create description xmf files for Paraview |
|