datastructures.FVinfo#

class datastructures.FVinfo(Re: float, nx: int = 64, ny: int = 64, lid_velocity: float = 1, Lx: float = 1, Ly: float = 1, max_iterations: int = 500, tolerance: float = 0.0001, method: str = None, iterations: int = None, converged: bool = False, final_residual: float = None, convection_scheme: str = 'Upwind', limiter: str = 'MUSCL', alpha_uv: float = 0.6, alpha_p: float = 0.4)[source]#

Bases: Info

FV-specific metadata with discretization parameters.

Inherits all parameters from Info and adds FV-specific parameters.

Parameters:
convection_schemestr, optional

Convection scheme (e.g., ‘Upwind’, ‘CDS’). Default is ‘Upwind’.

limiterstr, optional

Flux limiter scheme. Default is ‘MUSCL’.

alpha_uvfloat, optional

Under-relaxation factor for velocity. Default is 0.6.

alpha_pfloat, optional

Under-relaxation factor for pressure. Default is 0.4.

Methods

__init__

Attributes

Lx: float = 1#
Ly: float = 1#
Re: float#
alpha_p: float = 0.4#
alpha_uv: float = 0.6#
convection_scheme: str = 'Upwind'#
converged: bool = False#
final_residual: float = None#
iterations: int = None#
lid_velocity: float = 1#
limiter: str = 'MUSCL'#
max_iterations: int = 500#
method: str = None#
nx: int = 64#
ny: int = 64#
tolerance: float = 0.0001#