fluidsim.solvers.ns2d.strat.output.spectra

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

class fluidsim.solvers.ns2d.strat.output.spectra.SpectraNS2DStrat(output)[source]

Bases: fluidsim.base.output.spectra.Spectra

Save and plot spectra.

compute(self)[source]

compute the values at one time.

plot1d(self, tmin=0, tmax=None, delta_t=2, coef_compensate=1.6666666666666667, level2=1.0, level3=1.0, yrange=5)[source]

Plot spectra one-dimensional.

plot2d(self, tmin=0, tmax=1000, delta_t=2, coef_compensate=3)[source]

Plot 2D spectra.

Classes

SpectraNS2DStrat(output)

Save and plot spectra.