TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Champ_front_contact_rayo_transp_VEF.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 Champ_front_contact_rayo_transp_VEF_included
17#define Champ_front_contact_rayo_transp_VEF_included
18
19#include <Modele_rayo_transp.h>
20#include <Champ_front_contact_VEF.h>
21
23{
24 Declare_instanciable(Champ_front_contact_rayo_transp_VEF);
25public:
26
27 Champ_front_base& affecter_(const Champ_front_base& ch) override;
28 int initialiser(double temps, const Champ_Inc_base& inco) override;
29 void calculer_temperature_bord(double temps);
30 void mettre_a_jour(double temps) override;
31 void mettre_a_jour_flux_radiatif(); // Computes it via the model and stores it
32 void calcul_grads_locaux(double temps) override;
33 void modifie_gradients_pour_rayonnement(DoubleVect& gradient_num_transf, DoubleVect& gradient_num_transf_autre_pb);
34 void calculer_coeffs_echange(double temps) override;
35
36 inline Champ_Inc_base& inconnue1() { return l_inconnue1.valeur(); }
37 inline const Champ_Inc_base& inconnue1() const { return l_inconnue1.valeur(); }
38
39 inline Champ_Inc_base& inconnue2() { return l_inconnue2.valeur(); }
40 inline const Champ_Inc_base& inconnue2() const { return l_inconnue2.valeur(); }
41
42 inline Nom& nom_prob1() { return nom_pb1; }
43 inline const Nom& nom_prob1() const { return nom_pb1; }
44 inline Nom& nom_prob2() { return nom_pb2; }
45 inline const Nom& nom_prob2() const { return nom_pb2; }
46
47 inline void associer_modele_rayo(const Modele_rayo_transp& mod) { le_modele_rayo_ = mod; }
48
49private:
50 DoubleVect flux_radiatif_;
51 OBS_PTR(Modele_rayo_transp) le_modele_rayo_;
52 inline const Modele_rayo_transp& modele_rayo() const { return le_modele_rayo_; }
53};
54
55#endif /* Champ_front_contact_rayo_transp_VEF_included */
Class Champ_Inc_base.
class Champ_front_base Base class for the hierarchy of boundary fields.
class Champ_front_contact_VEF Enables scalar coupling (temperature or concentration) between problems...
void modifie_gradients_pour_rayonnement(DoubleVect &gradient_num_transf, DoubleVect &gradient_num_transf_autre_pb)
Champ_front_base & affecter_(const Champ_front_base &ch) override
void mettre_a_jour(double temps) override
DOES NOTHING, to override.
void associer_modele_rayo(const Modele_rayo_transp &mod)
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
void calculer_coeffs_echange(double temps) override
DOES NOTHING, to override. This method can calculate and store useful data for the.
class Nom: a character string for naming TRUST objects.
Definition Nom.h:31