TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Flux_parietal_bilineaire.h
1/****************************************************************************
2* Copyright (c) 2025, 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
17#ifndef Flux_parietal_bilineaire_included
18#define Flux_parietal_bilineaire_included
19
20
21#include <Flux_parietal_base.h>
22#include <Saturation_base.h>
23/*! @brief : class Flux_parietal_bilineaire
24 *
25 * <Description of class Flux_parietal_bilineaire>
26 */
27
29{
30
31 Declare_instanciable( Flux_parietal_bilineaire ) ;
32public:
33 void qp(const input_t& input, output_t& output) const override;
34 int T_at_wall() const override { return 0; } // Use T cell center
35 double fraction_flux_vap(const input_t& in, double phi, double dTf_phi, double dp_phi, double dTp_phi, double& dTf_eps, double& dp_eps, double& dTp_eps) const;
36
37private:
38 double h_mono_ = -123., h_diph_ = -123.; // Coefficient d'échange thermique dans la zone monophasique /zone diphasique /
39 double coeff_ = -123.; // Paramètre d'osv
40 double b_ = 10000.0; // abscisse à l'origine de la fonction dans la zone diphasique, 10kW/m2 de base pour l'héritage du stage
41 int n_l = -1, n_g = -1; // indice des phases d'injection du flux
42 const Saturation_base *sat = nullptr; //saturation entre liquide et gas (si elle existe)
43
44};
45
46#endif /* Flux_parietal_bilineaire_included */
classe Flux_parietal_base correlations de flux parietal de la forme
: class Flux_parietal_bilineaire
double fraction_flux_vap(const input_t &in, double phi, double dTf_phi, double dp_phi, double dTp_phi, double &dTf_eps, double &dp_eps, double &dTp_eps) const
void qp(const input_t &input, output_t &output) const override