Struphy perturbation

ModesSin

Coordinate slices

The sampled perturbation value across the three logical coordinate planes.

XY plane at 0.5

Perturbation value ueta1–eta2 · -1.00e-4 to 1.00e-4

XZ plane at 0.5

Perturbation value ueta1–eta3 · -9.98e-5 to 9.98e-5

YZ plane at 0.5

Perturbation value ueta2–eta3 · -9.87e-5 to 9.87e-5

Coordinate-line profiles

eta1 · other coordinates fixed at 0.5
eta2 · other coordinates fixed at 0.5
eta3 · other coordinates fixed at 0.5

Parameters

ParameterValueDescription
ls[2]Mode numbers in x-direction (kx = l*2*pi/Lx).
ms[3]Mode numbers in y-direction (ky = m*2*pi/Ly).
nsnullMode numbers in z-direction (kz = n*2*pi/Lz).
amps[0.0001]Amplitude of each mode.
thetanullPhase of each mode.
pfuns["Id"]"Id" or "localize" define the profile functions. localize multiply the sinus by :math: `tanh((\eta_3 - 0.5)/\delta)/cosh((\eta_3 - 0.5)/\delta)` to localize it around 0.5. :math: `\delta` is given by the input parameter pfuns_params
pfuns_params[0]The parameter needed by the profile function Lx, Ly, Lz : float Domain lengths.
Lx1
Ly1
Lz1
given_in_basisnullIn which basis the perturbation is represented (see base class).
comp0Which component (0, 1 or 2) of vector is perturbed (=0 for scalar-valued functions)