TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Source_QC_VEF_P1NC.cpp
1/****************************************************************************
2* Copyright (c) 2024, 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#include <Source_QC_VEF_P1NC.h>
17
18Implemente_instanciable(Acceleration_QC_VEF_P1NC,"Acceleration_QC_VEF_P1NC",Terme_Source_Acceleration_VEF_Face);
22DoubleTab& Acceleration_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
23void Acceleration_QC_VEF_P1NC::contribuer_a_avec(const DoubleTab& resu, Matrice_Morse& mat) const { contribuer_a_avec_impl(resu,mat); }
24
25Implemente_instanciable(Perte_Charge_Circulaire_QC_VEF_P1NC,"Perte_Charge_Circulaire_QC_VEF_P1NC",Perte_Charge_Circulaire_VEF_P1NC);
29DoubleTab& Perte_Charge_Circulaire_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
31
32Implemente_instanciable(Perte_Charge_Anisotrope_QC_VEF_P1NC,"Perte_Charge_Anisotrope_QC_VEF_P1NC",Perte_Charge_Anisotrope_VEF_P1NC);
36DoubleTab& Perte_Charge_Anisotrope_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
38
39Implemente_instanciable(Perte_Charge_Directionnelle_QC_VEF_P1NC,"Perte_Charge_Directionnelle_QC_VEF_P1NC",Perte_Charge_Directionnelle_VEF_P1NC);
43DoubleTab& Perte_Charge_Directionnelle_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
45
46Implemente_instanciable(Perte_Charge_Isotrope_QC_VEF_P1NC,"Perte_Charge_Isotrope_QC_VEF_P1NC",Perte_Charge_Isotrope_VEF_P1NC);
50DoubleTab& Perte_Charge_Isotrope_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
52
53Implemente_instanciable(Perte_Charge_Reguliere_QC_VEF_P1NC,"Perte_Charge_Reguliere_QC_VEF_P1NC",Perte_Charge_Reguliere_VEF_P1NC);
57DoubleTab& Perte_Charge_Reguliere_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
59
60Implemente_instanciable(Perte_Charge_Singuliere_QC_VEF_P1NC,"Perte_Charge_Singuliere_QC_VEF_P1NC",Perte_Charge_Singuliere_VEF_Face);
64DoubleTab& Perte_Charge_Singuliere_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
66
67Implemente_instanciable(Source_qdm_QC_VEF_P1NC,"Source_qdm_QC_VEF_P1NC",Terme_Source_Qdm_VEF_Face);
70DoubleTab& Source_qdm_QC_VEF_P1NC::ajouter_mere(DoubleTab& resu) const { return Terme_Source_Qdm_VEF_Face::ajouter(resu); }
71DoubleTab& Source_qdm_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
72void Source_qdm_QC_VEF_P1NC::contribuer_a_avec(const DoubleTab& resu, Matrice_Morse& mat) const { contribuer_a_avec_impl(resu,mat); }
73
74Implemente_instanciable(Darcy_QC_VEF_P1NC,"Darcy_QC_VEF_P1NC",Source_Darcy_VEF_Face);
77DoubleTab& Darcy_QC_VEF_P1NC::ajouter_mere(DoubleTab& resu) const { return Source_Darcy_VEF_Face::ajouter(resu); }
78DoubleTab& Darcy_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
79void Darcy_QC_VEF_P1NC::contribuer_a_avec(const DoubleTab& resu, Matrice_Morse& mat) const { contribuer_a_avec_impl(resu,mat); }
80
81Implemente_instanciable(Forchheimer_QC_VEF_P1NC,"Forchheimer_QC_VEF_P1NC",Source_Forchheimer_VEF_Face);
84DoubleTab& Forchheimer_QC_VEF_P1NC::ajouter_mere(DoubleTab& resu) const { return Source_Forchheimer_VEF_Face::ajouter(resu); }
85DoubleTab& Forchheimer_QC_VEF_P1NC::ajouter(DoubleTab& resu ) const { return ajouter_impl(resu); }
86void Forchheimer_QC_VEF_P1NC::contribuer_a_avec(const DoubleTab& resu, Matrice_Morse& mat) const { contribuer_a_avec_impl(resu,mat); }
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
Classe Matrice_Morse Represente une matrice M (creuse), non necessairement carree.
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
Definition Objet_U.cpp:293
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
Definition Objet_U.cpp:282
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
Perte de charge anisotrope (selon un vecteur unitaire v et dans le plan orthogonal a ce vecteur).
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
Perte de charge anisotrope (selon un vecteur unitaire v et dans le plan orthogonal a ce vecteur).
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
Perte de charge directionnelle (selon un vecteur unitaire v).
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
Perte de charge isotrope (proportionnelle a -u ).
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
class Perte_Charge_Reguliere_VEF_P1NC
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
class Perte_Charge_Singuliere_VEF_Face
DoubleTab & ajouter(DoubleTab &) const override
Classe de base des flux de sortie.
Definition Sortie.h:52
class Source_Darcy_VEF_Face
void contribuer_a_avec_impl(const DoubleTab &, Matrice_Morse &) const
class Source_Forchheimer_VEF_Face
virtual DoubleTab & ajouter(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
DoubleTab & ajouter_mere(DoubleTab &) const
Terme source d'acceleration specialise pour la discretisation VDF.
DoubleTab & ajouter(DoubleTab &) const override
Ajoute le terme (la_source_ * rho * volume_entrelace) au champ resu.
class Terme_Source_Qdm_VEF_Face
DoubleTab & ajouter(DoubleTab &) const override