fedoo.core.BoundaryCondition.get_value

BoundaryCondition.get_value(t_fact=1, t_fact_old=None)

Return the bc value to enforce. For incremental problems, this function return the increment for Dirichlet conditions and the full value for Neumann conditions.

Parameters:
  • t_fact (float between 0 and 1.) – The time factor. t_fact = 0 at the beginning of the increment (start value) t_fact = 1 at the end. The default is 1.

  • t_fact_old (float between 0 and 1.) – The time factor at the previous iteration (only used for incremental problems). The default is None.

Return type:

The value to enforce for the specified iteration at the speficied time evolution.