wolfhece.mesh2d.cst_2D_boundary_conditions

Author: HECE - University of Liege, Pierre Archambeau Date: 2024

Copyright (c) 2024 University of Liege. All rights reserved.

This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.

Module Contents

wolfhece.mesh2d.cst_2D_boundary_conditions._[source]
class wolfhece.mesh2d.cst_2D_boundary_conditions.Direction[source]

Bases: enum.Enum

Inheritance diagram of wolfhece.mesh2d.cst_2D_boundary_conditions.Direction

Generic enumeration.

Derive from this class to define new enumerations.

LEFT = 1[source]
BOTTOM = 2[source]
X = 1[source]
Y = 2[source]
class wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D_GPU[source]

Bases: enum.Enum

Inheritance diagram of wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D_GPU

Boundary conditions for 2D simulations with wolfgpu

QX = (2,)[source]
QY = (3,)[source]
NONE = (4,)[source]
HMOD = (7,)[source]
FROUDE_NORMAL = (8,)[source]
class wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D[source]

Bases: enum.Enum

Inheritance diagram of wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D

Boundary conditions for 2D simulations

H = (1,)[source]
QX = (2,)[source]
QY = (3,)[source]
NONE = (4,)[source]
QBX = (5,)[source]
QBY = (6,)[source]
HMOD = (7,)[source]
FROUDE_NORMAL = (8,)[source]
ALT1 = (9,)[source]
ALT2 = (10,)[source]
ALT3 = (11,)[source]
DOMAINE_BAS_GAUCHE = (12,)[source]
DOMAINE_DROITE_HAUT = (13,)[source]
SPEED_X = (14,)[source]
SPEED_Y = (15,)[source]
FROUDE_ABSOLUTE = (16,)[source]
class wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D_OO[source]

Bases: enum.Enum

Inheritance diagram of wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D_OO

Boundary conditions for 2D simulations with Object-Oriented approach

WATER_DEPTH = (1,)[source]
WATER_LEVEL = (2,)[source]
FROUDE_NORMAL = (4,)[source]
FREE_NONE = (5,)[source]
CONCENTRATION = (7,)[source]
IMPERVIOUS = (99,)[source]
NORMAL_DISCHARGE = (31,)[source]
TANGENT_DISCHARGE = (32,)[source]
MOBILE_DAM_POWER_LAW = (127,)[source]
CLOSE_CONDUIT_QNORMAL = (61,)[source]
CLOSE_CONDUIT_QTANGET = (62,)[source]
CLOSE_CONDUIT_H_FOR_SPEED = (63,)[source]
wolfhece.mesh2d.cst_2D_boundary_conditions.BCType_2D_To_BCType_2D_GPU(bc_type: BCType_2D) BCType_2D_GPU[source]
wolfhece.mesh2d.cst_2D_boundary_conditions.revert_bc_type(bc_type: BCType_2D | BCType_2D_OO | BCType_2D_GPU, val: int)[source]

Return the BCType corresponding to the given value

Useful for GUI or scripts

wolfhece.mesh2d.cst_2D_boundary_conditions.choose_bc_type(version: Literal[1, 2, 3, prev, oo, gpu] = 1)[source]

Choose the version of the boundary conditions to use

Useful for GUI

wolfhece.mesh2d.cst_2D_boundary_conditions.ColorsNb[source]