To initialize or modify (in case of a restart) values of transported variables and of the time step, the standard cs_user_initialization function is used.
Boundary conditions are defined as usual on a per-face basis in cs_user_boundary_conditions or with the GUI.