MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
modenaCalls.h File Reference

instantiate the surrogate models: More...

Go to the source code of this file.

Functions

 if (modena_error_occurred())
 
 if (denMod==1)
 
 modena_model_argPos_check (kinetics)
 
 modena_model_argPos_check (strutContentmodel)
 
 modena_model_argPos_check (thermalConductivitymodel)
 
 if (apparentViscosity)
 
 modena_model_argPos_check (bblgr1)
 
 modena_model_argPos_check (bblgr2)
 

Variables

 bblgr1 = modena_model_new("bubbleGrowth1")
 
 bblgr2 = modena_model_new("bubbleGrowth2")
 
 kinetics = modena_model_new("RF-1-public")
 
 rheologymodel = modena_model_new("Rheology_Arrhenius")
 
 strutContentmodel = modena_model_new("strutContent")
 
 thermalConductivitymodel = modena_model_new("foamConductivity")
 
 inputs_bblgr1 = modena_inputs_new(bblgr1)
 
 outputs_bblgr1 = modena_outputs_new(bblgr1)
 
 inputs_bblgr2 = modena_inputs_new(bblgr2)
 
 outputs_bblgr2 = modena_outputs_new(bblgr2)
 
 inputs_kinetics = modena_inputs_new(kinetics)
 
 outputs_kinetics = modena_outputs_new(kinetics)
 
 inputs_rheo = modena_inputs_new (rheologymodel)
 
 outputs_rheo = modena_outputs_new (rheologymodel)
 
 inputs_strutContent = modena_inputs_new (strutContentmodel)
 
 outputs_strutContent = modena_outputs_new (strutContentmodel)
 
 inputs_thermalConductivity = modena_inputs_new (thermalConductivitymodel)
 
 outputs_thermalConductivity = modena_outputs_new (thermalConductivitymodel)
 
 kineticTime_Pos = modena_model_inputs_argPos(kinetics, "'kineticTime'")
 
 Catalyst_1_Pos = modena_model_inputs_argPos(kinetics, "'Catalyst_1'")
 
 CE_A0_Pos = modena_model_inputs_argPos(kinetics, "'CE_A0'")
 
 CE_A1_Pos = modena_model_inputs_argPos(kinetics, "'CE_A1'")
 
 CE_B_Pos = modena_model_inputs_argPos(kinetics, "'CE_B'")
 
 CE_B2_Pos = modena_model_inputs_argPos(kinetics, "'CE_B2'")
 
 CE_I0_Pos = modena_model_inputs_argPos(kinetics, "'CE_I0'")
 
 CE_I1_Pos = modena_model_inputs_argPos(kinetics, "'CE_I1'")
 
 CE_I2_Pos = modena_model_inputs_argPos(kinetics, "'CE_I2'")
 
 CE_PBA_Pos = modena_model_inputs_argPos(kinetics, "'CE_PBA'")
 
 CE_Breac_Pos = modena_model_inputs_argPos(kinetics, "'CE_Breac'")
 
 CE_Areac0_Pos = modena_model_inputs_argPos(kinetics, "'CE_Areac0'")
 
 CE_Areac1_Pos = modena_model_inputs_argPos(kinetics, "'CE_Areac1'")
 
 CE_Ireac0_Pos = modena_model_inputs_argPos(kinetics, "'CE_Ireac0'")
 
 CE_Ireac1_Pos = modena_model_inputs_argPos(kinetics, "'CE_Ireac1'")
 
 CE_Ireac2_Pos = modena_model_inputs_argPos(kinetics, "'CE_Ireac2'")
 
 Bulk_Pos = modena_model_inputs_argPos(kinetics, "'Bulk'")
 
 R_1_Pos = modena_model_inputs_argPos(kinetics, "'R_1'")
 
 R_1_mass_Pos = modena_model_inputs_argPos(kinetics, "'R_1_mass'")
 
 R_1_temp_Pos = modena_model_inputs_argPos(kinetics, "'R_1_temp'")
 
 R_1_vol_Pos = modena_model_inputs_argPos(kinetics, "'R_1_vol'")
 
 source_Catalyst_1_Pos = modena_model_outputs_argPos(kinetics, "source_Catalyst_1")
 
 source_CE_A0_Pos = modena_model_outputs_argPos(kinetics, "source_CE_A0")
 
 source_CE_A1_Pos = modena_model_outputs_argPos(kinetics, "source_CE_A1")
 
 source_CE_B_Pos = modena_model_outputs_argPos(kinetics, "source_CE_B")
 
 source_CE_B2_Pos = modena_model_outputs_argPos(kinetics, "source_CE_B2")
 
 source_CE_I0_Pos = modena_model_outputs_argPos(kinetics, "source_CE_I0")
 
 source_CE_I1_Pos = modena_model_outputs_argPos(kinetics, "source_CE_I1")
 
 source_CE_I2_Pos = modena_model_outputs_argPos(kinetics, "source_CE_I2")
 
 source_CE_PBA_Pos = modena_model_outputs_argPos(kinetics, "source_CE_PBA")
 
 source_CE_Breac_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Breac")
 
 source_CE_Areac0_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Areac0")
 
 source_CE_Areac1_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Areac1")
 
 source_CE_Ireac0_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Ireac0")
 
 source_CE_Ireac1_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Ireac1")
 
 source_CE_Ireac2_Pos = modena_model_outputs_argPos(kinetics, "source_CE_Ireac2")
 
 source_Bulk_Pos = modena_model_outputs_argPos(kinetics, "source_Bulk")
 
 source_R_1_Pos = modena_model_outputs_argPos(kinetics, "source_R_1")
 
 source_R_1_mass_Pos = modena_model_outputs_argPos(kinetics, "source_R_1_mass")
 
 source_R_1_temp_Pos = modena_model_outputs_argPos(kinetics, "source_R_1_temp")
 
 source_R_1_vol_Pos = modena_model_outputs_argPos(kinetics, "source_R_1_vol")
 
 rho_foam_Pos = modena_model_inputs_argPos(strutContentmodel, "rho")
 
 strut_content_Pos = modena_model_outputs_argPos(strutContentmodel, "fs")
 
 porosity_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "eps")
 
 cell_size_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "dcell")
 
 strut_c_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "fstrut")
 
 temp_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "T")
 
 X_CO2_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "x[CO2]")
 
 X_O2_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "x[O2]")
 
 X_N2_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "x[N2]")
 
 X_Cyp_Pos = modena_model_inputs_argPos(thermalConductivitymodel, "x[CyP]")
 
 Tbblgr1pos = modena_model_inputs_argPos(bblgr1, "T")
 
 Rbblgr1pos = modena_model_inputs_argPos(bblgr1, "R")
 
 c_1bblgr1pos = modena_model_inputs_argPos(bblgr1, "c")
 
 p_1bblgr1pos = modena_model_inputs_argPos(bblgr1, "p")
 
 Tbblgr2pos = modena_model_inputs_argPos(bblgr2, "T")
 
 Rbblgr2pos = modena_model_inputs_argPos(bblgr2, "R")
 
 c_2bblgr2pos = modena_model_inputs_argPos(bblgr2, "c")
 
 p_2bblgr2pos = modena_model_inputs_argPos(bblgr2, "p")
 

Detailed Description

instantiate the surrogate models:

  • bubbleGrowth1,
  • bubbleGrowth2,
  • density_reaction_mixture,
  • rheology,
  • simpleKinetics

Definition in file modenaCalls.h.