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

Immersed Boundaries variable initializers. More...

Functions/Subroutines

subroutine prepare_scalar_field_ibc (ibc_initializer, isd_metrics, ibc_variable, ibc_method, outer_value, order)
 Initialize a field-related data of an immersed boundary.
 
subroutine prepare_navier_ibc (ibc_initializer, isd_metrics, ibc_velocity, ibc_pressure, ibc_method_velocity, ibc_method_pressure, outer_velocity, outer_pressure_increment, order_velocity, order_pressure)
 
subroutine eval_ibc_face_penalized_nodes (is_penalized, ib_metrics)
 

Detailed Description

Initialize immersed boundary for the global grid.

Function/Subroutine Documentation

◆ prepare_scalar_field_ibc()

subroutine mod_prepare_immersed_boundary_condition::prepare_scalar_field_ibc ( class(t_cell_ibc_initializer), intent(in) ibc_initializer,
type(t_immersed_subdomain_metrics), intent(in) isd_metrics,
type(t_immersed_boundary_condition), intent(inout) ibc_variable,
integer, intent(in) ibc_method,
double precision, intent(in) outer_value,
integer, intent(in) order )
Parameters
ibc_initializer
isd_metricsmetric-related data upon which ibc_variable is created.
ibc_variablefield-related data object to create.
ibc_methodone among enum_ibc_method.
outer_valuethe field value to use at outer cells.
orderthe desired order of spatial convergence.

The order argument represents the desired order, while the immersed_boundary_condition::order attribute of the ibc_variable object represents the _interpolation order, which takes into account the requirements of the boundary condition type. Finalizes the preparation of immersed boundary variables.