TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Convection_Diffusion_Concentration_FT_Disc.h
1/****************************************************************************
2* Copyright (c) 2015 - 2016, 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 Convection_Diffusion_Concentration_FT_Disc_included
17#define Convection_Diffusion_Concentration_FT_Disc_included
18
19#include <Convection_Diffusion_Concentration.h>
20#include <TRUST_Ref.h>
21#include <ArrOfBit.h>
22
23/*! @brief Cette equation corrige le champ de concentration pour tenir compte de la presence d'une interface.
24 *
25 * @sa Convection_Diffusion_Concentration
26 */
28{
29 Declare_instanciable_sans_constructeur(Convection_Diffusion_Concentration_FT_Disc);
30public:
31
33 void set_param(Param& titi) const override;
34 int lire_motcle_non_standard(const Motcle&, Entree&) override;
35 void mettre_a_jour(double temps) override;
36
37protected:
38 void ramasse_miette_simple(double temps);
40 void multiplier_valeurs_faces(const ArrOfBit marqueurs_faces, double facteur, double& integrale_avant, DoubleTab& tab);
41 void marquer_faces_sous_domaine(const Nom& nom_sous_domaine,
42 ArrOfBit& marqueur,
43 int sans_faces_non_std_volume_nul) const;
44
45 // Algorithme a utiliser pour tenir compte des interfaces:
48 // Dans quelle phase la masse du constituant se trouve-t-elle (RAMASSE_MIETTES_SIMPLE)
50
51 // Quelle equation du probleme fournit l'indicatrice de phase ?
52 OBS_PTR(Equation_base) ref_eq_transport_;
53
54 // Liste non vide => cette equation modelise le produit de la reaction avec les equations
55 // dont la liste contient les noms:
57 // Constantes cinetiques
61 // Modele pour taux de reactions
63 // Domaine de sortie ou on annule la concentration
65};
66#endif
int lire_motcle_non_standard(const Motcle &, Entree &) override
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
void multiplier_valeurs_faces(const ArrOfBit marqueurs_faces, double facteur, double &integrale_avant, DoubleTab &tab)
void marquer_faces_sous_domaine(const Nom &nom_sous_domaine, ArrOfBit &marqueur, int sans_faces_non_std_volume_nul) const
OBS_PTR(Equation_base) ref_eq_transport_
void mettre_a_jour(double temps) override
appel a mettre_a_jour() de l'ancetre et application de l' "option_" choisie pour traiter la presence ...
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
classe Equation_base Le role d'une equation est le calcul d'un ou plusieurs champs....
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Un tableau de chaine de caracteres (VECT(Nom)).
Definition Noms.h:26
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112