My Project
programmer's documentation
Functions | Variables
cs_cdo_main.c File Reference
#include <math.h>
#include <assert.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "fvm_defs.h"
#include "cs_ale.h"
#include "cs_base.h"
#include "cs_boundary.h"
#include "cs_boundary_zone.h"
#include "cs_control.h"
#include "cs_defs.h"
#include "cs_domain.h"
#include "cs_domain_op.h"
#include "cs_domain_setup.h"
#include "cs_equation.h"
#include "cs_equation_assemble.h"
#include "cs_gwf.h"
#include "cs_log.h"
#include "cs_parall.h"
#include "cs_param.h"
#include "cs_param_cdo.h"
#include "cs_post.h"
#include "cs_prototypes.h"
#include "cs_navsto_system.h"
#include "cs_timer.h"
#include "cs_timer_stats.h"
#include "cs_volume_zone.h"
#include "cs_walldistance.h"
#include "cs_cdo_main.h"
Include dependency graph for cs_cdo_main.c:

Functions

void cs_f_cdo_solve_steady_state_domain (void)
 Solve only steady-state equations. More...
 
void cs_f_cdo_solve_unsteady_state_domain (void)
 Solve all the equations of a computational domain for one time step. More...
 
static void _compute_steady_user_equations (cs_domain_t *domain)
 Compute equations which user-defined and steady-state. More...
 
static void _compute_unsteady_user_equations (cs_domain_t *domain, int nt_cur)
 Compute user-defined equation which are time-dependent. More...
 
static void _solve_steady_state_domain (cs_domain_t *domain)
 Solve only steady-state equations. More...
 
static void _solve_domain (cs_domain_t *domain)
 Solve all the equations of a computational domain for one time step. More...
 
static void _log_setup (const cs_domain_t *domain)
 Summary the setup of all major structures: cs_domain_t structure, all equations and all properties. More...
 
void cs_cdo_initialize_setup (cs_domain_t *domain)
 Initialize the computational domain when CDO/HHO schemes are activated and cs_user_model() has been called. More...
 
void cs_cdo_initialize_structures (cs_domain_t *domain, cs_mesh_t *m, cs_mesh_quantities_t *mq)
 Define the structures related to the computational domain when CDO/HHO schemes are activated. More...
 
void cs_cdo_finalize (cs_domain_t *domain)
 Free all structures allocated during the resolution of CDO/HHO schemes. More...
 
void cs_cdo_main (cs_domain_t *domain)
 Main program for running a simulation with CDO kernel. More...
 

Variables

static int cs_cdo_ts_id
 

Function Documentation

◆ _compute_steady_user_equations()

static void _compute_steady_user_equations ( cs_domain_t domain)
static

Compute equations which user-defined and steady-state.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ _compute_unsteady_user_equations()

static void _compute_unsteady_user_equations ( cs_domain_t domain,
int  nt_cur 
)
static

Compute user-defined equation which are time-dependent.

Parameters
[in,out]domainpointer to a cs_domain_t structure
[in]nt_curcurrent number of iteration done

◆ _log_setup()

static void _log_setup ( const cs_domain_t domain)
static

Summary the setup of all major structures: cs_domain_t structure, all equations and all properties.

Parameters
[in]domainpointer to the cs_domain_t structure to summarize

◆ _solve_domain()

static void _solve_domain ( cs_domain_t domain)
static

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

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ _solve_steady_state_domain()

static void _solve_steady_state_domain ( cs_domain_t domain)
static

Solve only steady-state equations.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_finalize()

void cs_cdo_finalize ( cs_domain_t domain)

Free all structures allocated during the resolution of CDO/HHO schemes.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_initialize_setup()

void cs_cdo_initialize_setup ( cs_domain_t domain)

Initialize the computational domain when CDO/HHO schemes are activated and cs_user_model() has been called.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_initialize_structures()

void cs_cdo_initialize_structures ( cs_domain_t domain,
cs_mesh_t m,
cs_mesh_quantities_t mq 
)

Define the structures related to the computational domain when CDO/HHO schemes are activated.

Parameters
[in,out]domainpointer to a cs_domain_t structure
[in,out]mpointer to a cs_mesh_t struct.
[in]mqpointer to a cs_quantities_t struct.

◆ cs_cdo_main()

void cs_cdo_main ( cs_domain_t domain)

Main program for running a simulation with CDO kernel.

Main program for running a simulation with the CDO kernel.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_f_cdo_solve_steady_state_domain()

void cs_f_cdo_solve_steady_state_domain ( void  )

Solve only steady-state equations.

◆ cs_f_cdo_solve_unsteady_state_domain()

void cs_f_cdo_solve_unsteady_state_domain ( void  )

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

Variable Documentation

◆ cs_cdo_ts_id

int cs_cdo_ts_id
static