1 #ifndef __CS_GWF_TRACER_H__ 2 #define __CS_GWF_TRACER_H__ 196 const char *var_name,
198 cs_gwf_tracer_model_t model);
231 const char *soil_name,
236 double reaction_rate);
time step descriptor
Definition: cs_time_step.h:51
Definition: cs_advection_field.h:61
cs_equation_t * eq
Definition: cs_gwf_tracer.h:120
void cs_gwf_tracer_standard_add_terms(cs_gwf_tracer_t *tracer)
Add terms to the algebraic system related to a tracer equation according to the settings. Case of the standar tracer modelling Rely on the generic functinon: cs_gwf_tracer_add_terms_t.
Definition: cs_gwf_tracer.c:665
Field descriptor.
Definition: cs_field.h:124
Definition: cs_gwf_tracer.h:92
#define BEGIN_C_DECLS
Definition: cs_defs.h:453
void() cs_gwf_tracer_setup_t(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_gwf_tracer_t *tracer)
Generic function to set the parameters related to a tracer equation.
Definition: cs_gwf_tracer.h:154
int reaction_id
Definition: cs_gwf_tracer.h:127
void() cs_gwf_tracer_free_input_t(void *input)
Generic function to free the input of a tracer model.
Definition: cs_gwf_tracer.h:81
int id
Definition: cs_gwf_tracer.h:119
cs_gwf_tracer_model_t model
Definition: cs_gwf_tracer.h:123
Definition: cs_cdo_connect.h:55
Definition: cs_cdo_quantities.h:89
cs_gwf_tracer_model_t
Definition: cs_gwf_tracer.h:88
cs_gwf_tracer_t * cs_gwf_tracer_free(cs_gwf_tracer_t *tracer)
Free a cs_gwf_tracer_t structure.
Definition: cs_gwf_tracer.c:565
cs_field_t * diffusivity
Definition: cs_gwf_tracer.h:125
cs_gwf_tracer_update_t * update_properties
Definition: cs_gwf_tracer.h:134
cs_gwf_tracer_t * cs_gwf_tracer_init(int tracer_id, const char *eq_name, const char *var_name, cs_adv_field_t *adv_field, cs_gwf_tracer_model_t model)
Create a new cs_gwf_tracer_t structure and initialize its members by default. Add a new equation rela...
Definition: cs_gwf_tracer.c:472
cs_gwf_tracer_free_input_t * free_input
Definition: cs_gwf_tracer.h:135
void() cs_gwf_tracer_update_t(void *input, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts)
Generic function to update the phisical properties related to a tracer modelling. ...
Definition: cs_gwf_tracer.h:66
void * input
Definition: cs_gwf_tracer.h:131
#define END_C_DECLS
Definition: cs_defs.h:454
Definition: cs_gwf_tracer.h:90
void cs_gwf_set_standard_tracer(cs_gwf_tracer_t *tracer, const char *soil_name, double wmd, double alpha_l, double alpha_t, double distrib_coef, double reaction_rate)
Set a tracer for a specified soil when the tracer is attached to the default model.
Definition: cs_gwf_tracer.c:597
Definition: cs_gwf_tracer.h:117
void cs_gwf_tracer_standard_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_gwf_tracer_t *tracer)
Set the parameters related to a standard tracer equation.
Definition: cs_gwf_tracer.c:758
void() cs_gwf_tracer_add_terms_t(cs_gwf_tracer_t *tracer)
Generic function to update the terms to build in the algebraic system for a tracer equation according...
Definition: cs_gwf_tracer.h:168
Definition: cs_gwf_tracer.h:93