ldc.datastructures.SpectralParameters#

class ldc.datastructures.SpectralParameters(Re: float = 100, lid_velocity: float = 1.0, Lx: float = 1.0, Ly: float = 1.0, nx: int = 64, ny: int = 64, max_iterations: int = 500, tolerance: float = 0.0001, method: str = 'Spectral-AC', basis_type: str = 'legendre', CFL: float = 0.1, beta_squared: float = 5.0, corner_smoothing: float = 0.15)[source]#

Bases: Parameters

Spectral solver parameters (nx/ny = polynomial order N, giving N+1 nodes).

Methods

__init__

to_dataframe

Attributes

CFL: float = 0.1#
Lx: float = 1.0#
Ly: float = 1.0#
Re: float = 100#
basis_type: str = 'legendre'#
beta_squared: float = 5.0#
corner_smoothing: float = 0.15#
lid_velocity: float = 1.0#
max_iterations: int = 500#
method: str = 'Spectral-AC'#
nx: int = 64#
ny: int = 64#
to_dataframe()#
tolerance: float = 0.0001#