@@ -55,6 +55,7 @@ class CSU2TCLib : public CNEMOGas {
5555 Tcf_b, /* !< \brief Rate controlling temperature exponent (fwd) */
5656 Tcb_a, /* !< \brief Rate controlling temperature exponent (bkw) */
5757 Tcb_b, /* !< \brief Rate controlling temperature exponent (bkw) */
58+ taus, /* !< \brief Relaxtion time scales */
5859 Diss, /* !< \brief Dissociation potential. */
5960 MassFrac_FreeStream, /* !< \brief Mixture mass fractions of the fluid. */
6061 Wall_Catalycity, /* !< \brief Specified wall species mass-fractions for catalytic boundaries. */
@@ -72,6 +73,25 @@ class CSU2TCLib : public CNEMOGas {
7273 C3DDoubleMatrix Omega00, /* !< \brief Collision integrals (Omega(0,0)) */
7374 Omega11; /* !< \brief Collision integrals (Omega(1,1)) */
7475
76+ /* --- Implicit variables ---*/
77+ su2double /* !< \brief Derivatives w.r.t. conservative variables */
78+ *dPdU, *dTdU, *dTvedU;
79+
80+ su2double fwdRxn, bkwRxn,
81+ kf,kfb,kb,
82+ coeff, eta, epsilon, T_min,
83+ Trxnf, Trxnb,
84+ Thf, Thb, dThf, dThb,
85+ theta, af, bf, ab, bb;
86+
87+ vector<su2double>
88+ dkf, dkb,
89+ dRfok, dRbok,
90+ eve, eve_eq, cvve, cvve_eq;
91+
92+ vector<int >
93+ alphak, betak;
94+
7595public:
7696
7797 /* !
@@ -105,7 +125,7 @@ class CSU2TCLib : public CNEMOGas {
105125 /* !
106126 * \brief Compute species V-E specific heats at constant volume.
107127 */
108- vector<su2double>& ComputeSpeciesCvVibEle () final ;
128+ vector<su2double>& ComputeSpeciesCvVibEle (su2double val_T ) final ;
109129
110130 /* !
111131 * \brief Compute mixture energies (total internal energy and vibrational energy).
@@ -120,13 +140,29 @@ class CSU2TCLib : public CNEMOGas {
120140 /* !
121141 * \brief Compute species net production rates.
122142 */
123- vector<su2double>& ComputeNetProductionRates () final ;
143+ vector<su2double>& ComputeNetProductionRates (bool implicit, const su2double *V, const su2double* eve,
144+ const su2double* cvve, const su2double* dTdU, const su2double* dTvedU,
145+ su2double **val_jacobian) final ;
146+
147+ /* !
148+ * \brief Compute chemical source term jacobian.
149+ */
150+ void ChemistryJacobian (unsigned short iReaction, const su2double *V, const su2double* eve,
151+ const su2double* cvve, const su2double* dTdU, const su2double* dTvedU,
152+ su2double **val_jacobian) final ;
124153
125154 /* !
126155 * \brief Compute vibrational energy source term.
127156 */
128157 su2double ComputeEveSourceTerm () final ;
129158
159+ /* !
160+ * \brief Compute relaxation source term jacobian.
161+ */
162+ void GetEveSourceTermJacobian (const su2double *V, const su2double *eve, const su2double *cvve,
163+ const su2double *dTdU, const su2double* dTvedU,
164+ su2double **val_jacobian) final ;
165+
130166 /* !
131167 * \brief Compute species enthalpies.
132168 */
0 commit comments