lizzy.gates
- class lizzy.gates.Inlet(name: str, inlet_type: InletType)
Abstract class representing an inlet.
PressureInletandFlowRateInletderive from this class.Properties
- property is_open: bool
Indicates whether the inlet is currently open (True) or closed (False). (read-only)
- property type: InletType
Methods
- class lizzy.gates.PressureInlet(name: str, p_value: float)
A class representing an inlet gate where a pressure boundary condition is imposed (Dirichlet boundary condition).
Properties
- property is_open: bool
Indicates whether the inlet is currently open (True) or closed (False). (read-only)
Methods
- class lizzy.gates.FlowRateInlet(name: str, q_value: float)
A class representing an inlet gate where a volumetric flow rate boundary condition is imposed (Neumann boundary condition).
- Parameters:
Properties
- property is_open: bool
Indicates whether the inlet is currently open (True) or closed (False). (read-only)
Methods