My Project
programmer's documentation
|
#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"
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 |
|
static |
Compute equations which user-defined and steady-state.
[in,out] | domain | pointer to a cs_domain_t structure |
|
static |
Compute user-defined equation which are time-dependent.
[in,out] | domain | pointer to a cs_domain_t structure |
[in] | nt_cur | current number of iteration done |
|
static |
Summary the setup of all major structures: cs_domain_t structure, all equations and all properties.
[in] | domain | pointer to the cs_domain_t structure to summarize |
|
static |
Solve all the equations of a computational domain for one time step.
[in,out] | domain | pointer to a cs_domain_t structure |
|
static |
Solve only steady-state equations.
[in,out] | domain | pointer to a cs_domain_t structure |
void cs_cdo_finalize | ( | cs_domain_t * | domain | ) |
Free all structures allocated during the resolution of CDO/HHO schemes.
[in,out] | domain | pointer to a cs_domain_t structure |
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.
[in,out] | domain | pointer to a cs_domain_t structure |
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.
[in,out] | domain | pointer to a cs_domain_t structure |
[in,out] | m | pointer to a cs_mesh_t struct. |
[in] | mq | pointer to a cs_quantities_t struct. |
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.
[in,out] | domain | pointer to a cs_domain_t structure |
void cs_f_cdo_solve_steady_state_domain | ( | void | ) |
Solve only steady-state equations.
void cs_f_cdo_solve_unsteady_state_domain | ( | void | ) |
Solve all the equations of a computational domain for one time step.
|
static |