TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Flux_parietal_Hibiki.h
1/****************************************************************************
2* Copyright (c) 2021, 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 Flux_parietal_Hibiki_included
17#define Flux_parietal_Hibiki_included
18#include <TRUSTTab.h>
19#include <Flux_parietal_base.h>
20#include <Correlation_base.h>
21#include <Param.h>
22
23/*! @brief Wall heat flux correlation for subcooled boiling using the Hibiki model.
24 *
25 * Implements nucleation site density from Hibiki-Ishii 2003, bubble departure
26 * diameter and frequency correlations from Brooks-Hibiki 2015.
27 *
28 * Reference: C.S. Brooks, T. Hibiki, "Wall nucleation modeling in subcooled
29 * boiling flow", IJHMT, 2015.
30 */
32{
33 Declare_instanciable(Flux_parietal_Hibiki);
34public:
35 void qp(const input_t& input, output_t& output) const override;
36 void completer() override;
37
38 int calculates_bubble_nucleation_diameter() const override { return 1; }
39 int needs_saturation() const override { return 1; }
40 int T_at_wall() const override { return 1; }
41
42protected:
43 OWN_PTR(Correlation_base) correlation_monophasique_;
44 double theta_ = 90.; //!< Contact angle on the surface [degrees]
45 double molar_mass_ ; //!< Molar mass [kg/mol]
46 double Qw_ = 0.; //!< Wall heat flux [W/m^2]
47 double G_ = 1.; //!< Mass flux [kg/m^2/s]
48
49 int n_l = -1; //!< Liquid phase index
50 int n_g1 = -1; //!< Gas group 1 index
51 int n_g2 = -1; //!< Gas group 2 index
52};
53
54#endif
Wall heat flux correlation for subcooled boiling using the Hibiki model.
int calculates_bubble_nucleation_diameter() const override
double molar_mass_
Molar mass [kg/mol].
double G_
Mass flux [kg/m^2/s].
OWN_PTR(Correlation_base) correlation_monophasique_
int n_l
Liquid phase index.
int T_at_wall() const override
double Qw_
Wall heat flux [W/m^2].
int needs_saturation() const override
int n_g1
Gas group 1 index.
void qp(const input_t &input, output_t &output) const override
double theta_
Contact angle on the surface [degrees].
int n_g2
Gas group 2 index.
classe Flux_parietal_base correlations de flux parietal de la forme