47 from fireworks.utilities.fw_utilities
import explicit_serialize
51 name=
'gas_thermal_conductivity_species',
52 names= [
'CO2',
'CyP',
'O2',
'N2' ]
58 f_gas_thermal_conductivity = CFunction(
63 void gas_thermal_conductivity 65 const modena_model_t* model, 70 {% block variables %}{% endblock %} 72 const double a = parameters[0]; 73 const double b = parameters[1]; 80 'T': {
'min': 273,
'max': 550},
83 'gas_thermal_conductivity[A]': {
'min': 0,
'max': +9e99,
'argPos': 0},
86 'param0[A]': {
'min': -9e99,
'max': +9e99,
'argPos': 0},
87 'param1[A]': {
'min': -9e99,
'max': +9e99,
'argPos': 1},
97 m_CO2_thermal_conductivity = ForwardMappingModel(
98 _id=
'gas_thermal_conductivity[A=CO2]',
99 surrogateFunction=f_gas_thermal_conductivity,
101 parameters=[0.0807e-3, -6.96e-3],
107 m_Air_thermal_conductivity = ForwardMappingModel(
108 _id=
'gas_thermal_conductivity[A=Air]',
109 surrogateFunction=f_gas_thermal_conductivity,
111 parameters=[0.0720e-3, 4.23e-3],
117 m_CyP_thermal_conductivity = ForwardMappingModel(
118 _id=
'gas_thermal_conductivity[A=CyP]',
119 surrogateFunction=f_gas_thermal_conductivity,
121 parameters=[0.0956e-3, -14.89e-3],
127 m_O2_thermal_conductivity = ForwardMappingModel(
128 _id=
'gas_thermal_conductivity[A=O2]',
129 surrogateFunction=f_gas_thermal_conductivity,
131 parameters=[7.79027851e-05, 3.08485612e-03],
137 m_N2_thermal_conductivity = ForwardMappingModel(
138 _id=
'gas_thermal_conductivity[A=N2]',
139 surrogateFunction=f_gas_thermal_conductivity,
141 parameters=[6.93333072e-05, 4.87189502e-03],