version 0.6.0
Loading...
Searching...
No Matches
mod_user_boundary_conditions Module Reference

User boundary conditions.

Functions/Subroutines

subroutine user_energy_boundary_conditions ()
 User boundary conditions for the energy equation.
 
subroutine user_navier_boundary_conditions ()
 User Navier-Stokes boundary conditions.
 
subroutine user_phase_advection_boundary_conditions ()
 User boundary condition for the phase advection equations.
 
subroutine user_species_transport_boundary_conditions ()
 User boundary conditions for the species transport equations.
 

Function/Subroutine Documentation

◆ user_energy_boundary_conditions()

subroutine mod_user_boundary_conditions::user_energy_boundary_conditions

This user subroutine helps to set boundary conditions on a boundary or a part of it. The user can set the type of the boundary conditions among:

cell_bc_type_dirichlet
cell_bc_type_neumann

The user sets also the boundary value of the temperature (or its normal derivative) which may be dependant of the coordinates and/or the time.

This routine is called at the beginning of the time loop.

◆ user_navier_boundary_conditions()

subroutine mod_user_boundary_conditions::user_navier_boundary_conditions

This user subroutine helps to set boundary conditions on a boundary or a part of it. The user can set the type of the boundary conditions among:

face_bc_type_inlet
face_bc_type_wall
face_bc_type_slip
face_bc_type_moving
face_bc_type_neumann

The user sets also the boundary value of each component of the velocity which may be dependant of the coordinates and/or the time. This routine is called at the beginning of the time loop.

It has to be notices that the boundary values and types are given at face coordinates. So, if a new boundary condition depends of the position arrays coord_u, coord_v and coord_w must be used.

Boundary condition on the pressure increment are set automatically at the end of the routine. They depend of the type of the velocity boundary conditions. This part of the code should not be modified. For this purpose, uncomment the line:

!call apply_bc_on_pressure_increment()

◆ user_phase_advection_boundary_conditions()

subroutine mod_user_boundary_conditions::user_phase_advection_boundary_conditions

This user subroutine helps to set custom boundary conditions of the advection equations, on a boundary of a part of it. The user can set the type of the boundary conditions among:

cell_bc_type_dirichlet
cell_bc_type_neumann

The user sets also the boundary value of the volume fraction which may be dependant of the coordinates and/or the time.

This routine is called at the beginning of the time loop.

◆ user_species_transport_boundary_conditions()

subroutine mod_user_boundary_conditions::user_species_transport_boundary_conditions

This user subroutine helps to set custom boundary conditions on a boundary or a part of it. The user can set the type of the boundary conditions among:

cell_bc_type_dirichlet
cell_bc_type_neumann

The user sets also the boundary value of the species (or their normal derivative) which may be dependant of the coordinates and/or the time. This routine is called at the beginning of the time loop.