16 if (modena_error_occurred())
18 return modena_error();
22 if (modena_error_occurred())
24 return modena_error();
28 if (modena_error_occurred())
30 return modena_error();
34 density_reaction_mixturemodel =
modena_model_new(
"density_reaction_mixture");
35 if (modena_error_occurred())
37 return modena_error();
40 density_reaction_mixturemodel =
modena_model_new(
"PolymerDensity[A=AIR,B=PU]");
41 if (modena_error_occurred())
43 return modena_error();
47 if (modena_error_occurred())
49 return modena_error();
53 if (modena_error_occurred())
55 return modena_error();
58 if (modena_error_occurred())
60 return modena_error();
64 inputs_bblgr1 = modena_inputs_new(bblgr1);
65 outputs_bblgr1 = modena_outputs_new(bblgr1);
67 inputs_bblgr2 = modena_inputs_new(bblgr2);
68 outputs_bblgr2 = modena_outputs_new(bblgr2);
70 inputs_kinetics = modena_inputs_new(kinetics);
71 outputs_kinetics = modena_outputs_new(kinetics);
74 inputs_den = modena_inputs_new (density_reaction_mixturemodel);
75 outputs_den = modena_outputs_new (density_reaction_mixturemodel);
78 inputs_rheo = modena_inputs_new (rheologymodel);
79 outputs_rheo = modena_outputs_new (rheologymodel);
81 inputs_strutContent = modena_inputs_new (strutContentmodel);
82 outputs_strutContent = modena_outputs_new (strutContentmodel);
151 if (apparentViscosity) {
size_t source_CE_Ireac2_Pos
memory allocation for outputs of kinetics surrogate model
size_t source_CE_PBA_Pos
memory allocation for outputs of kinetics surrogate model
size_t source_CE_A1_Pos
memory allocation for outputs of kinetics surrogate model
size_t strut_content_Pos
memory allocation for the strut content as the input of thermal conductivity surrogate model ...
size_t m0_rheopos
memory allocation for the moment of order zero as the input of rheology surrogate model ...
size_t CE_I2_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_CE_Breac_Pos
memory allocation for outputs of kinetics surrogate model
size_t source_Bulk_Pos
memory allocation for outputs of kinetics surrogate model
size_t modena_model_inputs_argPos(const modena_model_t *self, const char *name)
Function determining position of an argument in the input vector.
size_t X_CO2_Pos
memory allocation for the partial pressure of CO2 as the input of thermal conductivity surrogate mode...
size_t source_CE_Areac0_Pos
memory allocation for outputs of kinetics surrogate model
size_t temp_Pos
memory allocation for the temperature as the input of thermal conductivity surrogate model ...
size_t porosity_Pos
memory allocation for the gas volume fraction as the input of thermal conductivity surrogate model ...
size_t CE_Ireac0_Pos
memory allocation for inputs of kinetics surrogate model
size_t CE_PBA_Pos
memory allocation for inputs of kinetics surrogate model
size_t CE_Breac_Pos
memory allocation for inputs of kinetics surrogate model
size_t X_N2_Pos
memory allocation for the partial pressure of N2 as the input of thermal conductivity surrogate model...
size_t R_1_mass_Pos
memory allocation for inputs of kinetics surrogate model
size_t cell_size_Pos
memory allocation for the bubble size as the input of thermal conductivity surrogate model ...
size_t source_CE_I1_Pos
memory allocation for outputs of kinetics surrogate model
modena_model_t * thermalConductivitymodel
pointer to the surrogate model for thermal conductivity
size_t Catalyst_1_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_CE_B_Pos
memory allocation for outputs of kinetics surrogate model
modena_model_t * modena_model_new(const char *modelId)
Function fetching a surrogate model from MongoDB.
int denMod
density mode, 1 = modena, 2 = constant
size_t CE_Areac1_Pos
memory allocation for inputs of kinetics surrogate model
size_t X_Cyp_Pos
memory allocation for the partial pressure of cyclo-pentane as the input of thermal conductivity surr...
size_t CE_I1_Pos
memory allocation for inputs of kinetics surrogate model
size_t temp_rheopos
memory allocation for the temperature as the input of rheology surrogate model
size_t source_CE_Ireac1_Pos
memory allocation for outputs of kinetics surrogate model
size_t CE_Ireac2_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_CE_A0_Pos
memory allocation for outputs of kinetics surrogate model
size_t CE_Areac0_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_CE_I2_Pos
memory allocation for outputs of kinetics surrogate model
size_t m1_rheopos
memory allocation for the moment of order one as the input of rheology surrogate model ...
size_t source_CE_I0_Pos
memory allocation for outputs of kinetics surrogate model
size_t CE_I0_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_R_1_mass_Pos
memory allocation for outputs of kinetics surrogate model
size_t source_CE_Ireac0_Pos
memory allocation for outputs of kinetics surrogate model
size_t rho_foam_Pos
memory allocation for the foam density as the input of thermal conductivity surrogate model ...
size_t conv_rheopos
memory allocation for the conversion as the input of rheology surrogate model
size_t source_Catalyst_1_Pos
memory allocation for outputs of kinetics surrogate model
size_t R_1_Pos
memory allocation for inputs of kinetics surrogate model
size_t modena_model_outputs_argPos(const modena_model_t *self, const char *name)
Function determining position of a result in the output vector.
size_t Bulk_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_CE_Areac1_Pos
memory allocation for outputs of kinetics surrogate model
size_t kineticTime_Pos
memory allocation for inputs of kinetics surrogate model
size_t CE_A1_Pos
memory allocation for inputs of kinetics surrogate model
size_t CE_B_Pos
memory allocation for inputs of kinetics surrogate model
size_t strut_c_Pos
memory allocation for the strut content as the input of thermal conductivity surrogate model ...
size_t shear_rheopos
memory allocation for the shear rate as the input of rheology surrogate model
size_t source_CE_B2_Pos
memory allocation for outputs of kinetics surrogate model
size_t CE_B2_Pos
memory allocation for inputs of kinetics surrogate model
size_t X_O2_Pos
memory allocation for the partial pressure of O2 as the input of thermal conductivity surrogate model...
void modena_model_argPos_check(const modena_model_t *self)
Function checking that the user has queried all input positions.
size_t CE_Ireac1_Pos
memory allocation for inputs of kinetics surrogate model
size_t CE_A0_Pos
memory allocation for inputs of kinetics surrogate model
size_t source_R_1_Pos
memory allocation for outputs of kinetics surrogate model