TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Echange_contact_rayo_semi_transp_VDF.h
1/****************************************************************************
2* Copyright (c) 2026, 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_contact_rayo_semi_transp_VDF_included
17#define Echange_contact_rayo_semi_transp_VDF_included
18
19#include <Cond_lim_rayo_semi_transp.h>
20#include <Echange_contact_VDF.h>
21
22
23/*! @brief class Echange_contact_rayo_semi_transp_VDF
24 *
25 * This class is used to model a coupling between a
26 * solid wall and a semi-transparent fluid, taking into account
27 * the wall radiation.
28 * It is used exclusively for a VDF discretization.
29 *
30 *
31 */
33{
34 Declare_instanciable(Echange_contact_rayo_semi_transp_VDF);
35
36public :
37 const Cond_lim_base& la_cl() const override;
39 void calculer_temperature_bord(double temps);
40 int compatible_avec_eqn(const Equation_base&) const override;
41 void mettre_a_jour(double temps) override;
42
43 void completer() override;
44 void calculer_Teta_paroi(DoubleTab& Teta_p,const DoubleTab& mon_h,const DoubleTab& autre_h,int i,double temps) override;
45 void calculer_Teta_equiv(DoubleTab& Teta_eq,const DoubleTab& mon_h,const DoubleTab& autre_h,int i,double temps) override;
47
48 void completer_Cl_opposee_si_contact() override;
49
50 inline bool is_bc_rayo_semi_transp(Cond_lim_rayo_semi_transp*& la_cl_rayo) override
51 {
52 la_cl_rayo = static_cast<Cond_lim_rayo_semi_transp*>(this);
53 return true;
54 }
55
56protected :
57
60};
61
62#endif /* Echange_contact_rayo_semi_transp_VDF_included */
63
class Champ_front_base Base class for the hierarchy of boundary fields.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
Base class for semi-transparent radiation boundary conditions.
class Echange_contact_rayo_semi_transp_VDF
void calculer_Teta_equiv(DoubleTab &Teta_eq, const DoubleTab &mon_h, const DoubleTab &autre_h, int i, double temps) override
Fills Teta_eq using T_autre_pb at the time passed as parameter.
Echange_contact_rayo_semi_transp_VDF & la_Cl_opposee()
Returns the BC carried by the problem on the other side of the boundary.
int compatible_avec_eqn(const Equation_base &) const override
OWN_PTR(Champ_front_base) T_paroi
void completer() override
DOES NOTHING must be overridden in derived classes.
void mettre_a_jour(double temps) override
The mettre_a_jour(temps) method fills the T_ext array with wall temperatures.
bool is_bc_rayo_semi_transp(Cond_lim_rayo_semi_transp *&la_cl_rayo) override
void calculer_Teta_paroi(DoubleTab &Teta_p, const DoubleTab &mon_h, const DoubleTab &autre_h, int i, double temps) override
Fills Teta_p using T_autre_pb at the time passed as parameter.
void calculer_temperature_bord(double temps)
The mettre_a_jour(temps) method fills the T_ext array with wall temperatures.
Champ_front_base & temperature_bord()
Returns the boundary temperature champ_front.
class Equation_base The role of an equation is the calculation of one or more fields....