This page gives some examples of settings for the stochastic lagrangian module.
int icha = 0;
= 0.00835 * sio2 + 0.00601 * al2o3 - 0.109;
= 0.0415 * sio2 + 0.0192 * al2o3 + 0.0276 * fe2o3 + 0.016 * cao - 3.92;
}
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
cs_lagr_encrustation_t * cs_glob_lagr_encrustation
@ CS_LAGR_PHYS_COAL
Definition: cs_lagr.h:151
cs_real_t * visref
Definition: cs_lagr.h:783
cs_real_t * tprenc
Definition: cs_lagr.h:778
cs_real_t * enc2
Definition: cs_lagr.h:773
cs_real_t * enc1
Definition: cs_lagr.h:771
int fouling
Definition: cs_lagr.h:325
@ CS_LAGR_VELOCITY
Definition: cs_lagr_particle.h:96
@ CS_LAGR_RESIDENCE_TIME
Definition: cs_lagr_particle.h:91
@ CS_LAGR_STAT_WEIGHT
Definition: cs_lagr_particle.h:90
void cs_lagr_stat_activate_attr(int attr_id)
Activate Lagrangian statistics for a given particle attribute.
Definition: cs_lagr_stat.c:4244
void cs_lagr_stat_activate(int stat_type)
Activate Lagrangian statistics for a given statistics type.
Definition: cs_lagr_stat.c:4135
@ CS_LAGR_STAT_VOLUME_FRACTION
Definition: cs_lagr_stat.h:94
int n_stat_classes
Definition: cs_lagr.h:335
int idstnt
Definition: cs_lagr_stat.h:203
cs_real_t threshold
Definition: cs_lagr_stat.h:217
int nstist
Definition: cs_lagr_stat.h:213
}
for (int class = 0;
class++) {
m_type++) {
("part_kinetic_energy",
-1,
m_type,
class,
1,
-1,
_incident_kinetic_energy,
NULL,
_boundary_impact_weight,
NULL,
0,
-1,
}
}
cs_lagr_boundary_interactions_t * cs_glob_lagr_boundary_interactions
int cs_glob_lagr_log_frequency_n
@ CS_LAGR_STAT_CLASS
Definition: cs_lagr_particle.h:169
void cs_lagr_post_set_attr(cs_lagr_attribute_t attr_id, bool active)
Activate or deactive postprocessing for a given particle attribute.
Definition: cs_lagr_post.c:390
int cs_lagr_stat_event_define(const char *name, int location_id, int stat_type, cs_lagr_stat_group_t stat_group, cs_lagr_stat_moment_t m_type, int class_id, int dim, int component_id, cs_lagr_moment_e_data_t *data_func, void *data_input, cs_lagr_moment_e_data_t *w_data_func, void *w_data_input, int nt_start, double t_start, cs_lagr_stat_restart_t restart_mode)
Define an event-based statistic.
Definition: cs_lagr_stat.c:3821
void cs_lagr_stat_activate_time_moment(int stat_type, cs_lagr_stat_moment_t moment)
Activate time moment for some predefined Lagrangian statistics types.
Definition: cs_lagr_stat.c:4192
void cs_lagr_stat_deactivate(int stat_type)
Deactivate Lagrangian statistics for a given statistics type.
Definition: cs_lagr_stat.c:4220
@ CS_LAGR_STAT_FOULING_MASS_FLUX
Definition: cs_lagr_stat.h:109
@ CS_LAGR_STAT_MASS_FLUX
Definition: cs_lagr_stat.h:107
@ CS_LAGR_STAT_IMPACT_ANGLE
Definition: cs_lagr_stat.h:111
@ CS_LAGR_STAT_IMPACT_VELOCITY
Definition: cs_lagr_stat.h:113
@ CS_LAGR_STAT_FOULING_DIAMETER
Definition: cs_lagr_stat.h:114
@ CS_LAGR_STAT_FOULING_COKE_FRACTION
Definition: cs_lagr_stat.h:115
@ CS_LAGR_MOMENT_RESTART_AUTO
Definition: cs_lagr_stat.h:78
cs_lagr_stat_moment_t
Definition: cs_lagr_stat.h:55
@ CS_LAGR_MOMENT_VARIANCE
Definition: cs_lagr_stat.h:58
@ CS_LAGR_MOMENT_MEAN
Definition: cs_lagr_stat.h:57
@ CS_LAGR_STAT_GROUP_TRACKING_EVENT
Definition: cs_lagr_stat.h:67
@ CS_MESH_LOCATION_BOUNDARY_FACES
Definition: cs_mesh_location.h:65
int has_part_impact_nbr
Definition: cs_lagr.h:853