The following local variables need to be defined for the examples in this section:
Before user initialization, work arrays lstelt must be allocated, like in basic example.
  
  if (domain->time_step->nt_prev > 0)
    return;
 
  
 
 
  if (n_gasses > 1) {
 
 
    for (int sp_id = 1; sp_id < n_gasses-1; sp_id++)
 
  }
 
  
 
 
 
  
 
 
  }
  else {
                                       false,
                                       cpro_t,
                                       cvar_h);
  }
 
  
 
    cs_real_t rayo = sqrt(  cell_cen[i][0]*cell_cen[i][0]
 
                          + cell_cen[i][1]*cell_cen[i][1]);
    if (rayo <= 0.8e-3)
      cvar_h[i] = hhot;
  }
 
  
 
 
 
  
 
void cs_array_real_fill_zero(cs_lnum_t size, cs_real_t a[])
Assign zero to all elements of an array.
Definition: cs_array.c:952
void cs_array_real_set_scalar(cs_lnum_t n_elts, cs_real_t ref_val, cs_real_t a[restrict])
Assign a constant scalar value to an array.
Definition: cs_array.c:654
void cs_elec_convert_t_to_h_cells(const cs_real_t t[], cs_real_t h[])
Convert temperature to enthalpy at all cells.
Definition: cs_elec_model.c:2376
const cs_data_elec_t * cs_glob_elec_properties
@ t
Definition: cs_field_pointer.h:92
@ potva
Definition: cs_field_pointer.h:160
@ ycoel
Definition: cs_field_pointer.h:161
@ poti
Definition: cs_field_pointer.h:159
@ h
Definition: cs_field_pointer.h:91
@ potr
Definition: cs_field_pointer.h:158
#define CS_F_(e)
Macro used to return a field pointer by its enumerated value.
Definition: cs_field_pointer.h:51
#define CS_FI_(e, i)
Macro used to return a field pointer by its enumerated value.
Definition: cs_field_pointer.h:53
int cs_glob_physical_model_flag[CS_N_PHYSICAL_MODEL_TYPES]
Definition: cs_physical_model.c:108
@ CS_ELECTRIC_ARCS
Definition: cs_physical_model.h:64
void cs_user_physical_properties_t_to_h(cs_domain_t *domain, const cs_zone_t *z, bool z_local, const cs_real_t t[restrict], cs_real_t h[restrict])
User definition of temperature to enthalpy conversion.
const cs_zone_t * cs_volume_zone_by_id(int id)
Return a pointer to a volume zone based on its id.
Definition: cs_volume_zone.c:653
int ngaz
Definition: cs_elec_model.h:58