fluidsim.solvers.ns2d.bouss.state

State for the NS2D.bouss solver (fluidsim.solvers.ns2d.bouss.state)

class fluidsim.solvers.ns2d.bouss.state.StateNS2DBouss(sim, oper=None)[source]

Bases: fluidsim.solvers.ns2d.state.StateNS2D

State for the solver ns2d.strat.

Contains the variables corresponding to the state and handles the access to other fields.

static _complete_info_solver(info_solver)[source]

Update info_solver container with the stratification terms.

compute(self, key, SAVE_IN_DICT=True, RAISE_ERROR=True)[source]

Compute and return a variable

statephys_from_statespect(self)[source]

Compute state_phys from statespect.

statespect_from_statephys(self)[source]

Compute state_spect from state_phys.

init_from_rotbfft(self, rot_fft, b_fft)[source]

Initialize the state from the variable rot_fft and b_fft.

init_from_rotb(self, rot, b)[source]

Initialize the state from the variable rot and b.

init_from_rotfft(self, rot_fft)[source]

Initialize the state from the variable rot_fft.

init_statespect_from(self, **kwargs)[source]

Initializes state_spect using arrays provided as keyword arguments.

Classes

StateNS2DBouss(sim[, oper])

State for the solver ns2d.strat.