8.3
general documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
User boundary condition definition for the Lagrangian model

Boundary conditions

Lagrangian boundary conditions are based on boundary zone (cs_boundary_zone_t) definitions. Additional information may be provided for Lagrangian boundary types and injections.

As usual, definitions may be created using the GUI and extended with user functions.

Access to the Lagrangian boundary conditions structure, which is necessary to most of the following examples, may be done as follows:

cs_lagr_zone_data_t * cs_lagr_get_boundary_conditions(void)
Return pointer to the main boundary conditions structure.
Definition: cs_lagr.cpp:1377
Definition: cs_lagr.h:697

Boundary zones

In this example, we assign rebound conditions to all boundary zones, except for an inlet and outlet type to specified zones. The type assigned is an integer based on the cs_lagr_bc_type_t enumerator type.

{
const cs_zone_t *z;
int n_zones = cs_boundary_zone_n_zones();
/* default: rebound for all types */
for (int z_id = 0; z_id < n_zones; z_id++) {
lagr_bcs->zone_type[z_id] = CS_LAGR_REBOUND;
}
/* inlet and outlet for specified zones */
lagr_bcs->zone_type[z->id] = CS_LAGR_INLET;
z = cs_boundary_zone_by_name("outlet");
lagr_bcs->zone_type[z->id] = CS_LAGR_OUTLET;
}
const cs_zone_t * cs_boundary_zone_by_name(const char *name)
Return a pointer to a boundary zone based on its name if present.
Definition: cs_boundary_zone.cpp:711
int cs_boundary_zone_n_zones(void)
Return number of boundary zones defined.
Definition: cs_boundary_zone.cpp:426
@ CS_LAGR_OUTLET
Definition: cs_lagr.h:88
@ CS_LAGR_INLET
Definition: cs_lagr.h:87
@ CS_LAGR_REBOUND
Definition: cs_lagr.h:89
int * zone_type
Definition: cs_lagr.h:702
Definition: cs_zone.h:55
int id
Definition: cs_zone.h:59

Injection sets

In the following example, a first injection set for an inlet zone is defined. Note that newly injected particles may also be modified using the cs_user_lagr_in function.

{
const cs_zone_t *z = cs_boundary_zone_by_name("inlet");
int set_id = 0;
= cs_lagr_get_injection_set(lagr_bcs, z->id, set_id);
/* Now define parameters for this class and set */
zis->n_inject = 100;
/* Assign other attributes (could be done through the GUI) */
zis->cluster = set_id + 1;
zis->velocity_profile = 0;
zis->velocity_magnitude = 1.1;
zis->stat_weight = 1.0;
zis->flow_rate = 0.0;
/* Mean value and standard deviation of the diameter */
zis->diameter = 5e-05;
zis->diameter_variance = 0.0;
/* Density */
zis->density = 2500.0;
zis->fouling_index = 100.0;
/* Temperature and Cp */
zis->temperature = 20.0;
zis->cp = 1400.;
zis->emissivity = 0.7;
}
}
cs_lagr_injection_set_t * cs_lagr_get_injection_set(cs_lagr_zone_data_t *zone_data, int zone_id, int set_id)
Provide access to injection set structure.
Definition: cs_lagr.cpp:1018
cs_lagr_model_t * cs_glob_lagr_model
cs_lagr_specific_physics_t * cs_glob_lagr_specific_physics
Definition: cs_lagr.h:566
cs_real_t diameter_variance
Definition: cs_lagr.h:610
cs_real_t density
Definition: cs_lagr.h:626
int injection_frequency
Definition: cs_lagr.h:575
int temperature_profile
Definition: cs_lagr.h:593
cs_real_t velocity_magnitude
Definition: cs_lagr.h:604
int velocity_profile
Definition: cs_lagr.h:588
cs_real_t cp
Definition: cs_lagr.h:630
cs_real_t diameter
Definition: cs_lagr.h:609
cs_gnum_t n_inject
Definition: cs_lagr.h:572
int cluster
Definition: cs_lagr.h:599
cs_real_t fouling_index
Definition: cs_lagr.h:628
cs_real_t flow_rate
Definition: cs_lagr.h:634
cs_real_t emissivity
Definition: cs_lagr.h:636
cs_real_t stat_weight
Definition: cs_lagr.h:632
cs_real_t temperature
Definition: cs_lagr.h:607
int n_stat_classes
Definition: cs_lagr.h:338
int itpvar
Definition: cs_lagr.h:417

In the next example, a profile is assigned to the second injection set of an inlet zone (it is assumed this et was previously defined either through the GUI or user function).

This requires first defining a profile definition function, matching the profile of cs_lagr_injection_profile_compute_t. An example based on experimental profiles is given here:

static void
_injection_profile(int zone_id,
int location_id,
const void *input,
cs_lnum_t n_elts,
const cs_lnum_t elt_ids[],
cs_real_t profile[])
{
const cs_real_3_t *b_face_coords
const int itmx = 8;
/* Data initializations with experimental measurements
--------------------------------------------------- */
/* transverse coordinate */
cs_real_t zi[] = {0.e-3, 1.e-3, 1.5e-3, 2.0e-3, 2.5e-3, 3.0e-3, 3.5e-3,
4.0e-3, 4.5e-3, 5.0e-3};
/* particle volume fraction */
cs_real_t lvf[] = {0.377e-4, 2.236e-4, 3.014e-4, 4.306e-4, 5.689e-4,
8.567e-4, 7.099e-4, 4.520e-4, 2.184e-4, 0.377e-4};
/* vertical mean velocity of the particles */
cs_real_t ui[] = {5.544, 8.827, 9.068, 9.169, 8.923, 8.295, 7.151, 6.048,
4.785, 5.544};
/* Loop en elements
---------------- */
for (cs_lnum_t ei = 0; ei < n_elts; ei++) {
/* Face center */
const cs_lnum_t face_id = elt_ids[ei];
const cs_real_t z = b_face_coords[face_id][2];
/* Interpolation */
int i = 0;
if (z > zi[0]) {
for (i = 0; i < itmx; i++) {
if (z >= zi[i] && z < zi[i+1])
break;
}
}
/* Compute volume fraction and statistical weight */
cs_real_t up = ui[i] +(z-zi[i])*(ui[i+1]-ui[i])/(zi[i+1]-zi[i]);
cs_real_t lvfp = lvf[i] + (z-zi[i])*(lvf[i+1]-lvf[i])/(zi[i+1]-zi[i]);
/* number of particles in the cell */
profile[ei] = lvfp * up;
}
}
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:359
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:335
cs_mesh_quantities_t * cs_glob_mesh_quantities
cs_real_t * b_face_cog
Definition: cs_mesh_quantities.h:111

Assigning the profile to the injection set simply requires assigning the function to the pointer in the injection set structure:

{
const cs_zone_t *z = cs_boundary_zone_by_name("inlet");
int set_id = 1;
= cs_lagr_get_injection_set(lagr_bcs, z->id, set_id);
/* Assign injection profile function */
zis->injection_profile_func = _injection_profile;
zis->injection_profile_input = nullptr; /* default */
}
cs_lagr_injection_profile_compute_t * injection_profile_func
Definition: cs_lagr.h:579
void * injection_profile_input
Definition: cs_lagr.h:582

An optional user-defined input function may also be associated.

Boundary-particle interactions

It is also possible to decide of the behavior of particle when they encounter a boundary (this boundary has to be of type CS_LAGR_BC_USER).

In the following example, the particle is simply deposited and marked for elimination:

# pragma omp atomic
particles->n_part_dep += 1;
# pragma omp atomic
particles->weight_dep += cs_lagr_particles_get_real(particles,
p_id,
/* Mark particle as deposited and update its coordinates */
cs_real_t *particle_coord
for (int k = 0; k < 3; k++)
particle_coord[k] = c_intersect[k];
/* Update event and particle state */
*event_flag = *event_flag | (CS_EVENT_OUTFLOW | CS_EVENT_DEPOSITION);
*tracking_state = CS_LAGR_PART_OUT;
@ k
Definition: cs_field_pointer.h:72
#define CS_EVENT_OUTFLOW
Definition: cs_lagr_event.h:56
#define CS_EVENT_DEPOSITION
Definition: cs_lagr_event.h:62
@ CS_LAGR_STAT_WEIGHT
Definition: cs_lagr_particle.h:91
@ CS_LAGR_COORDS
Definition: cs_lagr_particle.h:96
static void cs_lagr_particles_set_flag(const cs_lagr_particle_set_t *particle_set, cs_lnum_t particle_id, int mask)
Set flag value with a selected mask for a given particle in a set.
Definition: cs_lagr_particle.h:539
static void * cs_lagr_particles_attr(cs_lagr_particle_set_t *particle_set, cs_lnum_t particle_id, cs_lagr_attribute_t attr)
Get pointer to a current attribute of a given particle in a set.
Definition: cs_lagr_particle.h:413
#define CS_LAGR_PART_DEPOSITED
Definition: cs_lagr_particle.h:58
static cs_real_t cs_lagr_particles_get_real(const cs_lagr_particle_set_t *particle_set, cs_lnum_t particle_id, cs_lagr_attribute_t attr)
Get attribute value of type cs_real_t of a given particle in a set.
Definition: cs_lagr_particle.h:799
@ CS_LAGR_PART_OUT
Definition: cs_lagr_tracking.h:60

Volume conditions

Lagrangian volume conditions are based on volume zone (cs_volume_zone_t) definitions. Additional information may be provided for Lagrangian injections.

As usual, definitions may be created using the GUI and extended with user functions.

Access to the Lagrangian volume conditions structure, which is necessary to most of the following examples, may be done as follows:

cs_lagr_zone_data_t * cs_lagr_get_volume_conditions(void)
Return pointer to the main volume conditions structure.
Definition: cs_lagr.cpp:1401

Injection sets

In the following example, we inject 1 particle set at each time step:

{
/* The volume zone named "particle_injection" is created in the GUI */
const cs_zone_t *z = cs_volume_zone_by_name("particle_injection");
/* Inject 1 particle set every time step */
int set_id = 0;
= cs_lagr_get_injection_set(lagr_vol_conds, z->id, set_id);
zis->n_inject = 1000;
zis->injection_frequency = 1; /* if <= 0, injection at
initialization only */
zis->velocity_profile = -1; /* fluid velocity */
zis->stat_weight = 1.0;
zis->diameter = 5e-6;
zis->diameter_variance = 1e-6;
zis->density = 2475.;
zis->fouling_index = 100.0;
/* Activation of agglomeration */
}
}
cs_lagr_agglomeration_model_t * cs_glob_lagr_agglomeration_model
const cs_zone_t * cs_volume_zone_by_name(const char *name)
Return a pointer to a volume zone based on its name if present.
Definition: cs_volume_zone.cpp:677
cs_real_t base_diameter
Definition: cs_lagr.h:520
int aggregat_class_id
Definition: cs_lagr.h:601
cs_real_t aggregat_fractal_dim
Definition: cs_lagr.h:602
int fragmentation
Definition: cs_lagr.h:336
int agglomeration
Definition: cs_lagr.h:332
{
/* The volume zone containing all cells always has id 0;
a given zone may otherwise be selected using cs_volume_zone_by_name() */
/* Inject 2 particle sets of different diameters */
cs_gnum_t n_inject[] = {500, 500};
cs_real_t diam[] = {1e-3, 1e-2};
cs_real_t diam_dev[] = {1e-6, 1e-5};
cs_real_t density[] = {2500., 1500.};
for (int set_id = 0; set_id < 2; set_id++) {
= cs_lagr_get_injection_set(lagr_vol_conds, z->id, set_id);
zis->n_inject = n_inject[set_id];
zis->injection_frequency = 0; /* if <= 0, injection at
initialization only */
zis->cluster = set_id + 1;
zis->velocity_profile = -1; /* fluid velocity */
zis->stat_weight = 1.0;
zis->flow_rate = 0;
zis->diameter = diam[set_id];
zis->diameter_variance = diam_dev[set_id];
zis->density = density[set_id];
zis->fouling_index = 100.0;
zis->temperature_profile = 0; /* fluid temperature */
zis->cp = 1400.0;
zis->emissivity = 0.7;
}
}
uint64_t cs_gnum_t
global mesh entity number
Definition: cs_defs.h:325
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.cpp:653
double precision, dimension(:,:,:), allocatable density
Definition: atimbr.f90:123

In the following example, we inject 2 particle sets at computation initialization (i.e. at the first time step of a computation sequence in which the Lagrangian module is activated). Note that newly injected particles may also be modified using the cs_user_lagr_in function.

{
/* The volume zone containing all cells always has id 0;
a given zone may otherwise be selected using cs_volume_zone_by_name() */
/* Inject 2 particle sets of different diameters */
cs_gnum_t n_inject[] = {500, 500};
cs_real_t diam[] = {1e-3, 1e-2};
cs_real_t diam_dev[] = {1e-6, 1e-5};
cs_real_t density[] = {2500., 1500.};
for (int set_id = 0; set_id < 2; set_id++) {
= cs_lagr_get_injection_set(lagr_vol_conds, z->id, set_id);
zis->n_inject = n_inject[set_id];
zis->injection_frequency = 0; /* if <= 0, injection at
initialization only */
zis->cluster = set_id + 1;
zis->velocity_profile = -1; /* fluid velocity */
zis->stat_weight = 1.0;
zis->flow_rate = 0;
zis->diameter = diam[set_id];
zis->diameter_variance = diam_dev[set_id];
zis->density = density[set_id];
zis->fouling_index = 100.0;
zis->temperature_profile = 0; /* fluid temperature */
zis->cp = 1400.0;
zis->emissivity = 0.7;
}
}

External force

User definition of an external force field acting on the particles.

It must be prescribed in every cell and be homogeneous to gravity (m/s^2) By default gravity and drag force are the only forces acting on the particles (the gravity components gx gy gz are assigned in the GUI or in cs_user_parameters)

void
const cs_real_t taup[],
const cs_real_3_t tlag[],
const cs_real_3_t piil[],
const cs_real_33_t bx[],
const cs_real_t tsfext[],
const cs_real_33_t vagaus[],
const cs_real_3_t gradpr[],
const cs_real_33_t gradvf[],
cs_real_t rho_p[],
cs_real_3_t fextla[])
{
for (cs_lnum_t p_id = 0; p_id < p_set->n_particles; p_id++){
fextla[p_id][0] = 0;
fextla[p_id][1] = 0;
fextla[p_id][2] = 0;
}
}
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:368
cs_lagr_particle_set_t * cs_lagr_get_particle_set(void)
Return pointer to the main cs_lagr_particle_set_t structure.
Definition: cs_lagr_particle.cpp:1194
void cs_user_lagr_ef(cs_real_t dt_p, const cs_real_t taup[], const cs_real_3_t tlag[], const cs_real_3_t piil[], const cs_real_33_t bx[], const cs_real_t tsfext[], const cs_real_33_t vagaus[], const cs_real_3_t gradpr[], const cs_real_33_t gradvf[], cs_real_t rho_p[], cs_real_3_t fextla[])
User definition of an external force field acting on the particles.
Definition: cs_user_lagr_particle.cpp:87
Definition: cs_lagr_particle.h:223
cs_lnum_t n_particles
Definition: cs_lagr_particle.h:225

Impose motion on a particle

Impose the motion of a particle flagged CS_LAGR_PART_IMPOSED_MOTION by modifying the particle position and its velocity.

#pragma weak cs_user_lagr_imposed_motion
void
cs_lnum_t p_id,
const cs_real_t coords[3],
const cs_real_t dt,
cs_real_t disp[3])
{
/* Angular velocity */
cs_real_t omega = 1.0;
/* Here we impose the particle to move arround a cylinder with
* the axis is (*, 0, 1) */
cs_real_t rcost = (coords[1] - 0.0);
cs_real_t rsint = (coords[2] - 1.0);
/* Imposed displacement */
disp[0] = 0.;
disp[1] = rcost * (cos(omega*dt) - 1.0 ) - rsint * sin(omega*dt);
disp[2] = rsint * (cos(omega*dt) - 1.0 ) + rcost * sin(omega*dt);
/* If there is multiple class specify specific behaviour for a given class */
if (cs_lagr_particles_get_lnum(particles, p_id, CS_LAGR_STAT_CLASS) == 1) {
for ( int i = 0; i < 3; i++)
disp[i] *= -2;
}
}
}
@ dt
Definition: cs_field_pointer.h:65
@ CS_LAGR_STAT_CLASS
Definition: cs_lagr_particle.h:170
static cs_lnum_t cs_lagr_particles_get_lnum(const cs_lagr_particle_set_t *particle_set, cs_lnum_t particle_id, cs_lagr_attribute_t attr)
Get attribute value of type cs_lnum_t of a given particle in a set.
Definition: cs_lagr_particle.h:595
void cs_user_lagr_imposed_motion(const cs_lagr_particle_set_t *particles, cs_lnum_t p_id, const cs_real_t coords[3], const cs_real_t dt, cs_real_t disp[3])
Impose the motion of a particle flagged CS_LAGR_PART_IMPOSED_MOTION.
Definition: cs_user_lagr_particle.cpp:148

Modification of newly injected particles

User modification of newly injected particles.

This function is called after the initialization of the new particles in order to modify them according to new particle profiles (injection profiles, position of the injection point, statistical weights, correction of the diameter if the standard-deviation option is activated).

Warning
The modification of particles position must be made in cs_user_lagr_in_force_pos to get an initialization of particle properties coherent with the local fields.

This function is called for each injection zone and set. Particles with ids between pset->n_particles and n_elts are initialized but may be modified by this function.

void
const cs_lnum_t particle_range[2],
const cs_lnum_t particle_face_id[],
const cs_real_t visc_length[])
{
/* Simple changes to selected attributes
------------------------------------- */
for (cs_lnum_t p_id = particle_range[0]; p_id < particle_range[1]; p_id++) {
/* velocity */
cs_real_t *part_vel
part_vel[0] = 1.0;
part_vel[1] = 0.0;
part_vel[2] = 0.0;
/* diameter */
cs_lagr_particles_set_real(particles, p_id, CS_LAGR_DIAMETER, 5e-05);
/* Temperature profile */
/* Statistical weight profile */
/* User variables */
for (int attr_id = CS_LAGR_USER;
attr_id++) {
cs_real_t *user_var = (cs_real_t *)cs_lagr_particles_attr(particles,
p_id,
*user_var = 0.;
}
}
if (particle_range[1] <= particle_range[0])
return;
/* Modifications occur after all the initializations related to
the particle injection. */
/* if new particles have entered the domain */
for (cs_lnum_t p_id = particle_range[0]; p_id < particle_range[1]; p_id++) {
_inlet2(particles, p_id);
}
/*
* Trick to average the statistics at iteration nstist
* starting from an unsteady two-coupling calculation
*/
}
}
cs_lagr_source_terms_t * cs_glob_lagr_source_terms
cs_lagr_time_scheme_t * cs_glob_lagr_time_scheme
cs_lagr_attribute_t
Definition: cs_lagr_particle.h:80
@ CS_LAGR_USER
Definition: cs_lagr_particle.h:178
@ CS_LAGR_VELOCITY
Definition: cs_lagr_particle.h:97
@ CS_LAGR_TEMPERATURE
Definition: cs_lagr_particle.h:148
@ CS_LAGR_DIAMETER
Definition: cs_lagr_particle.h:94
static void cs_lagr_particles_set_real(cs_lagr_particle_set_t *particle_set, cs_lnum_t particle_id, cs_lagr_attribute_t attr, cs_real_t value)
Set attribute value of type cs_real_t of a given particle in a set.
Definition: cs_lagr_particle.h:849
void cs_user_lagr_in(cs_lagr_particle_set_t *particles, const cs_lagr_injection_set_t *zis, const cs_lnum_t particle_range[2], const cs_lnum_t particle_face_id[], const cs_real_t visc_length[])
User modification of newly injected particles.
Definition: cs_user_lagr_particle.cpp:227
cs_lagr_stat_options_t * cs_glob_lagr_stat_options
const cs_time_step_t * cs_glob_time_step
int n_user_variables
Definition: cs_lagr.h:340
int nstits
Definition: cs_lagr.h:677
int nstist
Definition: cs_lagr_stat.h:213
int isttio
Definition: cs_lagr.h:210
int nt_cur
Definition: cs_time_step.h:74

To modify the particle position use:

#pragma weak cs_user_lagr_in_force_coords
void
const cs_lnum_t particle_range[2],
const cs_lnum_t particle_face_id[],
const cs_real_t visc_length[])
{
CS_UNUSED(zis);
CS_UNUSED(particle_face_id);
CS_UNUSED(visc_length);
cs_real_t dest[3] = {0., 0., 0.};
for (cs_lnum_t p_id = particle_range[0]; p_id < particle_range[1]; p_id++) {
cs_real_t *part_coord
for (int i = 0; i < 3; i++) {
part_coord[i] = dest[i];
}
}
}
#define CS_UNUSED(x)
Definition: cs_defs.h:528
void cs_user_lagr_in_force_coords(cs_lagr_particle_set_t *particles, const cs_lagr_injection_set_t *zis, const cs_lnum_t particle_range[2], const cs_lnum_t particle_face_id[], const cs_real_t visc_length[])
User modification of newly injected particle location and cell_id.
Definition: cs_user_lagr_particle.cpp:186

Here is another example of the modification of newly injected particles:

/* Changes to selected attributes to define coal
--------------------------------------------- */
int coal_id = 0;
cs_real_t cp = zis->cp;
cs_real_t water_mass_f = 0.0, density = 0;
cs_real_t initial_diameter = 0, shrinking_diameter = 0;
cs_real_t temperature[n_layers];
cs_real_t coal_mass_fraction[n_layers];
cs_real_t coke_density[n_layers];
cs_real_t coke_mass_fraction[n_layers];
for (int l_id = 0; l_id < n_layers; l_id++) {
temperature[l_id] = 0;
coal_mass_fraction[l_id] = 0;
coke_density[l_id] = 0;
coke_mass_fraction[l_id] = 0;
}
/* Determine coal properties based on injection zone and set
--------------------------------------------------------- */
if (zis->zone_id == 1 && zis->set_id == 0) {
coal_id = 0;
= cm->xashch[coal_id] * cm->rho0ch[coal_id]
+ (1.0 - cm->xwatch[coal_id] - cm->xashch[coal_id])
* cm->rho0ch[coal_id]
* (1.0 - (cm->y1ch[coal_id] + cm->y2ch[coal_id]) / 2.0);
cp = cm->cp2ch[coal_id]; /* specific heat */
water_mass_f = 0.0; /* water mass fraction */
for (int l_id = 0; l_id < n_layers; l_id++) {
/* temperature profile (in degrees C) */
temperature[l_id] = 800 - 273.15;
/* reactive coal mass fraction */
coal_mass_fraction[l_id] = 0.;
/* coke density after pyrolysis */
coke_density[l_id]
= (1.0 - cm->xwatch[coal_id] - cm->xashch[coal_id])
* cm->rho0ch[coal_id]
* (1.0 - (cm->y1ch[coal_id] + cm->y2ch[coal_id]) / 2.0);
/* coke mass fraction */
coke_mass_fraction[l_id] = coke_density[l_id] / density;
}
/* coke diameter */
shrinking_diameter = zis->diameter;
/* initial particle diameter */
initial_diameter = zis->diameter;
}
/* Now set newly injected particle values
-------------------------------------- */
for (cs_lnum_t p_id = particle_range[0]; p_id < particle_range[1]; p_id++) {
/* specific heat */
/* water mass fraction in the particle */
cs_lagr_particles_set_real(particles, p_id, CS_LAGR_WATER_MASS, water_mass_f);
cs_real_t mass = density * cs_math_pi/6 * (diam*diam*diam);
cs_lagr_particles_set_real(particles, p_id, CS_LAGR_MASS, mass);
water_mass_f * mass);
cs_real_t *particle_temperature
cs_real_t *particle_coal_mass
cs_real_t *particle_coke_mass
cs_real_t *particle_coal_density
for (int l_id = 0; l_id < n_layers; l_id++) {
particle_temperature[l_id] = temperature[l_id];
particle_coal_mass[l_id] = coal_mass_fraction[l_id] * mass / n_layers;
particle_coke_mass[l_id] = coke_mass_fraction[l_id] * mass / n_layers;
particle_coal_density[l_id] = coke_density[l_id];
}
shrinking_diameter);
initial_diameter);
}
cs_coal_model_t * cs_glob_coal_model
Definition: cs_coal.cpp:96
@ cp
Definition: cs_field_pointer.h:102
@ CS_LAGR_COAL_DENSITY
Definition: cs_lagr_particle.h:162
@ CS_LAGR_MASS
Definition: cs_lagr_particle.h:93
@ CS_LAGR_COAL_MASS
Definition: cs_lagr_particle.h:155
@ CS_LAGR_COKE_MASS
Definition: cs_lagr_particle.h:156
@ CS_LAGR_CP
Definition: cs_lagr_particle.h:150
@ CS_LAGR_INITIAL_DIAMETER
Definition: cs_lagr_particle.h:159
@ CS_LAGR_SHRINKING_DIAMETER
Definition: cs_lagr_particle.h:158
@ CS_LAGR_WATER_MASS
Definition: cs_lagr_particle.h:154
const cs_real_t cs_math_pi
Definition: cs_coal.h:96
double y2ch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:300
double y1ch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:291
double cp2ch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:258
double xwatch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:267
double xashch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:264
double rho0ch[CS_COMBUSTION_MAX_COALS]
Definition: cs_coal.h:216
int zone_id
Definition: cs_lagr.h:568
int set_id
Definition: cs_lagr.h:569
int n_temperature_layers
Definition: cs_lagr.h:277