8.3
general documentation
cs_user_initialization.cpp File Reference

Initialization prior to solving time steps. More...

#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <ple_coupling.h>
#include "cs_headers.h"
+ Include dependency graph for cs_user_initialization.cpp:

Functions

void cs_user_initial_conditions (cs_domain_t *domain)
 Define initial conditions for variables. More...
 
void cs_user_initialization (cs_domain_t *domain)
 Initialize variables. More...
 

Detailed Description

Initialization prior to solving time steps.

Function Documentation

◆ cs_user_initial_conditions()

void cs_user_initial_conditions ( cs_domain_t domain)

Define initial conditions for variables.

This function is called at startup and allows overloading the GUI defined initialization functions.

This function is not yet called by code_saturne, use cs_user_initialization for the time being This function is called before the beginning of the computation allowing an overload of the GUI defined initialization (called just after cs_gui_initial_conditions).

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_user_initialization()

void cs_user_initialization ( cs_domain_t domain)

Initialize variables.

This function is called one time step to initialize problem.

This function is called at beginning of the computation (restart or not) before the time step loop.

This is intended to initialize or modify (when restarted) variable and time step values.

Parameters
[in,out]domainpointer to a cs_domain_t structure