m_boundary_conditions.py
- m_boundary_conditions.apply_temperature_BC(sCG2, boundary_parts)
Applies the Dirichlet boundary conditions for the heat equation.
- Parameters:
sCG2 – function space for the temperature
boundary_parts – how to describe that….
- Returns:
A list of the Dirichlet BCs (temperature) that will be given to the
the stationary heat equation, see
m_equations.Equations.equation_heat_ini()the time-dependent heat equation, see
m_equations.Equations.equation_heat()
- m_boundary_conditions.apply_velocity_BC(V, boundary_parts, top_left, t)
Applies the Dirichlet boundary conditions for the Stokes problem.
- Parameters:
V – function space for the Stokes problem
boundary_parts – how to describe that….
top_left – coordinates of the point where to fix pressure if no boundary is free surface
- Returns:
A list of the Dirichlet BCs ( velocity) that will be given to the Stokes problem, see
m_equations.Equations.equation_stokes().