13 alpha1phir = fvc::interpolate(alpha1)*phir;
16 rhoFoamAlpha2 = rho_foam*alpha2;
17 frhoFoamAlpha2 = fvc::interpolate(rhoFoamAlpha2)*phi;
19 volScalarField expImpSource
21 fvc::div(alpha1phir) - fvc::div(phi)
24 if (KineticsModel ==
"generic")
31 + fvm::SuSp(XWSource,XW)
32 + fvm::SuSp(expImpSource,XW)
33 - fvm::div(alpha1phir,XW)
43 + fvm::SuSp(expImpSource,XOH)
44 - fvm::div(alpha1phir,XOH)
46 - fvm::SuSp(Coeff_1stOrd,XOH)
47 + ScNonXOH + SuXOH + fvm::Sp(SpXOH,XOH)
53 if (KineticsModel ==
"RF-1")
60 + fvm::SuSp(expImpSource,XW)
61 - fvm::div(alpha1phir,XW)
71 + fvm::SuSp(expImpSource,XOH)
72 - fvm::div(alpha1phir,XOH)
78 fvScalarMatrix Catalyst_1Eqn
81 + fvm::div(phi,Catalyst_1)
82 + fvm::SuSp(expImpSource,Catalyst_1)
83 - fvm::div(alpha1phir,Catalyst_1)
86 Catalyst_1Eqn.relax();
87 Catalyst_1Eqn.solve();
89 fvScalarMatrix CE_A0Eqn
93 + fvm::SuSp(expImpSource,CE_A0)
94 - fvm::div(alpha1phir,CE_A0)
100 fvScalarMatrix CE_A1Eqn
103 + fvm::div(phi,CE_A1)
104 + fvm::SuSp(expImpSource,CE_A1)
105 - fvm::div(alpha1phir,CE_A1)
111 fvScalarMatrix CE_BEqn
115 + fvm::SuSp(expImpSource,CE_B)
116 - fvm::div(alpha1phir,CE_B)
122 fvScalarMatrix CE_B2Eqn
125 + fvm::div(phi,CE_B2)
126 + fvm::SuSp(expImpSource,CE_B2)
127 - fvm::div(alpha1phir,CE_B2)
133 fvScalarMatrix CE_I0Eqn
136 + fvm::div(phi,CE_I0)
137 + fvm::SuSp(expImpSource,CE_I0)
138 - fvm::div(alpha1phir,CE_I0)
144 fvScalarMatrix CE_I1Eqn
147 + fvm::div(phi,CE_I1)
148 + fvm::SuSp(expImpSource,CE_I1)
149 - fvm::div(alpha1phir,CE_I1)
155 fvScalarMatrix CE_I2Eqn
158 + fvm::div(phi,CE_I2)
159 + fvm::SuSp(expImpSource,CE_I2)
160 - fvm::div(alpha1phir,CE_I2)
166 fvScalarMatrix CE_PBAEqn
169 + fvm::div(phi,CE_PBA)
170 + fvm::SuSp(expImpSource,CE_PBA)
171 - fvm::div(alpha1phir,CE_PBA)
177 fvScalarMatrix CE_BreacEqn
180 + fvm::div(phi,CE_Breac)
181 + fvm::SuSp(expImpSource,CE_Breac)
182 - fvm::div(alpha1phir,CE_Breac)
188 fvScalarMatrix CE_Areac0Eqn
191 + fvm::div(phi,CE_Areac0)
192 + fvm::SuSp(expImpSource,CE_Areac0)
193 - fvm::div(alpha1phir,CE_Areac0)
196 CE_Areac0Eqn.relax();
197 CE_Areac0Eqn.solve();
199 fvScalarMatrix CE_Areac1Eqn
202 + fvm::div(phi,CE_Areac1)
203 + fvm::SuSp(expImpSource,CE_Areac1)
204 - fvm::div(alpha1phir,CE_Areac1)
207 CE_Areac1Eqn.relax();
208 CE_Areac1Eqn.solve();
210 fvScalarMatrix CE_Ireac0Eqn
213 + fvm::div(phi,CE_Ireac0)
214 + fvm::SuSp(expImpSource,CE_Ireac0)
215 - fvm::div(alpha1phir,CE_Ireac0)
218 CE_Ireac0Eqn.relax();
219 CE_Ireac0Eqn.solve();
221 fvScalarMatrix CE_Ireac1Eqn
224 + fvm::div(phi,CE_Ireac1)
225 + fvm::SuSp(expImpSource,CE_Ireac1)
226 - fvm::div(alpha1phir,CE_Ireac1)
229 CE_Ireac1Eqn.relax();
230 CE_Ireac1Eqn.solve();
232 fvScalarMatrix CE_Ireac2Eqn
235 + fvm::div(phi,CE_Ireac2)
236 + fvm::SuSp(expImpSource,CE_Ireac2)
237 - fvm::div(alpha1phir,CE_Ireac2)
240 CE_Ireac2Eqn.relax();
241 CE_Ireac2Eqn.solve();
243 fvScalarMatrix BulkEqn
247 + fvm::SuSp(expImpSource,Bulk)
248 - fvm::div(alpha1phir,Bulk)
254 fvScalarMatrix R_1Eqn
258 + fvm::SuSp(expImpSource,R_1)
259 - fvm::div(alpha1phir,R_1)
265 fvScalarMatrix R_1_temp_RF1Eqn
267 fvm::ddt(R_1_temp_RF1)
268 + fvm::div(phi,R_1_temp_RF1)
269 + fvm::SuSp(expImpSource,R_1_temp_RF1)
270 - fvm::div(alpha1phir,R_1_temp_RF1)
271 == source_R_1_temp_RF1
273 R_1_temp_RF1Eqn.relax();
274 R_1_temp_RF1Eqn.solve();