Skip to content
Snippets Groups Projects
Commit d33df9ea authored by calpe's avatar calpe
Browse files

Factor 2pi in omega_af.

parent a7b1b485
No related branches found
No related tags found
1 merge request!9Merged with fluiddyn/fluidsim
......@@ -158,8 +158,9 @@
params = self.sim.params
omega_l = params.N * self.froude_number
if params.forcing.key_forced is None:
omega_af = params.forcing.forcing_rate ** (1. / 3)
if params.forcing.key_forced is None or \
params.forcing.key_forced == "rot_fft":
omega_af = (2 * np.pi) * params.forcing.forcing_rate ** (1. / 3)
elif params.forcing.key_forced == "ap_fft":
nkmax_forcing = params.forcing.nkmax_forcing
nkmin_forcing = params.forcing.nkmin_forcing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment