TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Rupture_bulles_2groupes_Smith.h
1/****************************************************************************
2* Copyright (c) 2022, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef Rupture_bulles_2groupes_Smith_included
17#define Rupture_bulles_2groupes_Smith_included
18
19#include <TRUSTTabs_forward.h>
20#include <Rupture_bulles_2groupes_base.h>
21#include <TRUSTTab.h>
22
23/*! @brief Two-group bubble breakup source terms using the Smith model.
24 *
25 * Computes turbulent impact (TI), surface instability (SI), and
26 * shear-off (SO) source terms for the two-group interfacial area
27 * transport equation.
28 *
29 * Reference: T.R. Smith et al., "Mechanistic modeling of interfacial
30 * area transport in large diameter pipes", IJMF, 2012.
31 */
33{
34 Declare_instanciable(Rupture_bulles_2groupes_Smith);
35public:
36 void coefficient_TI(const DoubleTab& alpha, const DoubleTab& p, const DoubleTab& T,
37 const DoubleTab& rho, const DoubleTab& nu, const DoubleTab& sigma, const double Dh,
38 const DoubleTab& ndv, const DoubleTab& d_bulles,
39 const DoubleTab& eps, const DoubleTab& k_turb, const int n_l, const int n_g1, const int n_g2,
40 DoubleTab& coeff) const override;
41 void coefficient_SI(const DoubleTab& alpha, const DoubleTab& p, const DoubleTab& T,
42 const DoubleTab& rho, const DoubleTab& nu, const DoubleTab& sigma, const double Dh,
43 const DoubleTab& ndv, const DoubleTab& d_bulles,
44 const DoubleTab& eps, const DoubleTab& k_turb, const int n_l, const int n_g1, const int n_g2,
45 DoubleTab& coeff) const override;
46
47 void coefficient_SO(const DoubleTab& alpha, const DoubleTab& p, const DoubleTab& T,
48 const DoubleTab& rho, const DoubleTab& nu, const DoubleTab& sigma, const double Dh,
49 const DoubleTab& ndv, const DoubleTab& d_bulles,
50 const DoubleTab& eps, const DoubleTab& k_turb, const int n_l, const int n_g1, const int n_g2,
51 DoubleTab& coeff) const override;
52
53private:
54 static constexpr double fac_sec_ = 1.e4; //!< Numerical security factor
55
56 const double C_TI1 = 0.1;
57 const double C_TI21 = 0.02;
58 const double We_cr1 = 6.5;
59 const double C_TI2 = 0.02;
60 const double We_cr2 = 7.0;
61 const double C_RC2 = 0.005;
62 const double C_WE2 = 0.005;
63 const double C_RC0 = 3.0;
64 const double C_S0 = 0.000038;
65 const double We_SO = 4500.;
66 const double g = 9.81;
67};
68
69#endif
Two-group bubble breakup source terms using the Smith model.
void coefficient_SO(const DoubleTab &alpha, const DoubleTab &p, const DoubleTab &T, const DoubleTab &rho, const DoubleTab &nu, const DoubleTab &sigma, const double Dh, const DoubleTab &ndv, const DoubleTab &d_bulles, const DoubleTab &eps, const DoubleTab &k_turb, const int n_l, const int n_g1, const int n_g2, DoubleTab &coeff) const override
void coefficient_SI(const DoubleTab &alpha, const DoubleTab &p, const DoubleTab &T, const DoubleTab &rho, const DoubleTab &nu, const DoubleTab &sigma, const double Dh, const DoubleTab &ndv, const DoubleTab &d_bulles, const DoubleTab &eps, const DoubleTab &k_turb, const int n_l, const int n_g1, const int n_g2, DoubleTab &coeff) const override
void coefficient_TI(const DoubleTab &alpha, const DoubleTab &p, const DoubleTab &T, const DoubleTab &rho, const DoubleTab &nu, const DoubleTab &sigma, const double Dh, const DoubleTab &ndv, const DoubleTab &d_bulles, const DoubleTab &eps, const DoubleTab &k_turb, const int n_l, const int n_g1, const int n_g2, DoubleTab &coeff) const override