TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Coalescence_bulles_1groupe_Yao_Morel.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 Coalescence_bulles_1groupe_Yao_Morel_included
17#define Coalescence_bulles_1groupe_Yao_Morel_included
18
19#include <TRUSTTabs_forward.h>
20#include <Coalescence_bulles_1groupe_base.h>
21#include <TRUSTTab.h>
22
23/*! @brief Model for bubble coalescence from Yao and Morel (2003)
24 *
25 * Model for bubble coalescence using the turbulence induced coalescence given in
26 * Yao, W. and Morel, C. (2003) Volumetric interfacial area prediction in upward bubbly
27 * two-phase flow. International Journal of Heat and Mass Transfer 47 (2004) 307--328.
28 * The coefficient formula is given at page 312, equation (22).
29 */
31{
32 Declare_instanciable(Coalescence_bulles_1groupe_Yao_Morel);
33
34public:
35 // TODO change to input_t/output_t format
36 void coefficient(const DoubleTab& alpha, const DoubleTab& p, const DoubleTab& T,
37 const DoubleTab& rho, const DoubleTab& nu, const DoubleTab& sigma, double Dh,
38 const DoubleTab& ndv, const DoubleTab& d_bulles,
39 const DoubleTab& eps, const DoubleTab& k_turb,
40 DoubleTab& coeff) const override;
41
42private:
43 int n_l = -1;
44
45 static constexpr double Kc1 = 2.86;
46 static constexpr double Kc2 = 1.922;
47 static constexpr double Kc3 = 1.017;
48 const double alpha_max_1_3 = std::cbrt(M_PI/6.);
49 static constexpr double We_cr = 1.24;
50 static constexpr double alpha_sec = 2./3.;
51
52
53};
54
55#endif
Model for bubble coalescence from Yao and Morel (2003).
void coefficient(const DoubleTab &alpha, const DoubleTab &p, const DoubleTab &T, const DoubleTab &rho, const DoubleTab &nu, const DoubleTab &sigma, double Dh, const DoubleTab &ndv, const DoubleTab &d_bulles, const DoubleTab &eps, const DoubleTab &k_turb, DoubleTab &coeff) const override