TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Echange_externe_impose.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 Echange_externe_impose_included
17#define Echange_externe_impose_included
18
19#include <Echange_impose_base.h>
20
21/*! @brief Classe Echange_externe_impose: This class represents the special case of the class
22 *
23 * Echange_impose_base where the total heat exchange coefficient is computed using
24 * the wall heat exchange coefficient provided by the user.
25 *
26 * h_total : total exchange coefficient
27 * h_imp : wall exchange coefficient (user input)
28 * e/lambda : internal exchange coefficient
29 * where: lambda, conductivity in the fluid
30 * e = d, in laminar regime
31 * e = d', in turbulent regime
32 * (where d' is the equivalent distance computed during application
33 * of the wall laws)
34 * 1/h_total = (1/h_imp) + (e/lambda)
35 * It is not the Echange_externe_impose class that manages the computation
36 * of h_total. The class only provides h_imp and it is the diffusive
37 * flux evaluator that computes the e/lambda and h_total terms.
38 * The classes Echange_global_impose and Echange_externe_impose have
39 * exactly the same interface; the Echange_externe_impose class
40 * therefore only serves to signal to the diffusive flux evaluator
41 * that it must compute a total exchange coefficient.
42 *
43 * @sa Echange_impose_base Echange_global_impose
44 */
46{
47 Declare_instanciable(Echange_externe_impose);
48 void verifie_ch_init_nb_comp() const override;
49};
50
51#endif
virtual void verifie_ch_init_nb_comp() const
Calls the verification of the field read through the equation for which the boundary condition is con...
Classe Echange_externe_impose: This class represents the special case of the class.
Echange_impose_base: This boundary condition is used only for the energy equation.