programmer's documentation
Functions
cs_domain_setup.h File Reference
#include "cs_defs.h"
#include "cs_advection_field.h"
#include "cs_domain.h"
#include "cs_equation.h"
#include "cs_gwf.h"
#include "cs_param.h"
#include "cs_property.h"
Include dependency graph for cs_domain_setup.h:

Go to the source code of this file.

Functions

void cs_domain_update_advfield (cs_domain_t *domain)
 Set to true the automatic update of all advection fields. More...
 
void cs_domain_update_wall_zones (cs_domain_t *domain)
 Add a new zone gathering all CS_DOMAIN_BOUNDARY_WALL zone type. More...
 
void cs_domain_setup_predefined_equations (cs_domain_t *domain)
 Setup predefined equations which are activated At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set. More...
 
void cs_domain_set_scheme_flags (cs_domain_t *domain)
 Define the scheme flags for the current computational domain Requirement: domain->cdo_context is alloctated. More...
 
void cs_domain_finalize_setup (cs_domain_t *domain, cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 Build a cs_domain_t structure. More...
 
void cs_domain_solve (cs_domain_t *domain)
 Solve all the equations of a computational domain for one time step. More...
 
void cs_domain_initialize_systems (cs_domain_t *domain)
 Initialize systems of equations and their related field values according to the user settings. More...
 

Function Documentation

◆ cs_domain_finalize_setup()

void cs_domain_finalize_setup ( cs_domain_t domain,
cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

Build a cs_domain_t structure.

Parameters
[in,out]domainpointer to a cs_domain_t struct.
[in,out]meshpointer to a cs_mesh_t struct.
[in]mesh_quantitiespointer to a cs_mesh_quantities_t struct.

◆ cs_domain_initialize_systems()

void cs_domain_initialize_systems ( cs_domain_t domain)

Initialize systems of equations and their related field values according to the user settings.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_set_scheme_flags()

void cs_domain_set_scheme_flags ( cs_domain_t domain)

Define the scheme flags for the current computational domain Requirement: domain->cdo_context is alloctated.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_setup_predefined_equations()

void cs_domain_setup_predefined_equations ( cs_domain_t domain)

Setup predefined equations which are activated At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set.

Parameters
[in,out]domainpointer to a cs_domain_t structure

Setup predefined equations which are activated At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_solve()

void cs_domain_solve ( cs_domain_t domain)

Solve all the equations of a computational domain for one time step.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_update_advfield()

void cs_domain_update_advfield ( cs_domain_t domain)

Set to true the automatic update of all advection fields.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_update_wall_zones()

void cs_domain_update_wall_zones ( cs_domain_t domain)

Add a new zone gathering all CS_DOMAIN_BOUNDARY_WALL zone type.

Parameters
[in]domainpointer to a cs_domain_t structure