8.0
general documentation
Loading...
Searching...
No Matches
Boundary conditions using time table

Compute a time dependent parameter value from a time table defined by the user.

To access a time table defined variable when defining boundary conditions, a callback function of the type of type cs_dof_func_t can be defined, such as the following (for a time table named "inlet_temperature"):

Note that accessing the time table value in the function above is done through the call to cs_time_table_compute_time_value.

The callback function can then be assigned to the zone named "inlet" for variable "scalar1" in the usual way (in cs_user_boundary_conditions_setup):