TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Source_QC_VEF_P1NC.h
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#ifndef Source_QC_VEF_P1NC_included
17#define Source_QC_VEF_P1NC_included
18
19#include <Source_Darcy_VEF_Face.h>
20#include <Terme_Source_Qdm_VEF_Face.h>
21#include <Source_Forchheimer_VEF_Face.h>
22#include <Source_Fluide_Dilatable_Face.h>
23#include <Perte_Charge_Isotrope_VEF_P1NC.h>
24#include <Perte_Charge_Reguliere_VEF_P1NC.h>
25#include <Perte_Charge_Singuliere_VEF_Face.h>
26#include <Perte_Charge_Circulaire_VEF_P1NC.h>
27#include <Perte_Charge_Anisotrope_VEF_P1NC.h>
28#include <Terme_Source_Acceleration_VEF_Face.h>
29#include <Perte_Charge_Directionnelle_VEF_P1NC.h>
30
31/// \cond DO_NOT_DOCUMENT
32class Source_QC_VEF_P1NC
33{ };
34/// \endcond
35
36/*
37 * HERITAGE V ABSOLUMENT INUTILE :-(
38 * JUSTE POUR COMPLIQUER LA VIE
39 * C'EST JUSTE DU BRICOLAGE POUR QUE CHECK_SOURCES ET VERIFIE_PERE MARCHENT ... DESOLEE ...
40 */
41
43{
44 Declare_instanciable(Acceleration_QC_VEF_P1NC);
45public:
46 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
47 DoubleTab& ajouter(DoubleTab& ) const override;
48 DoubleTab& ajouter_mere(DoubleTab& ) const;
49};
50
52{
53 Declare_instanciable(Perte_Charge_Circulaire_QC_VEF_P1NC);
54public:
55 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
56 DoubleTab& ajouter(DoubleTab& ) const override;
57 DoubleTab& ajouter_mere(DoubleTab& ) const;
58};
59
61{
62 Declare_instanciable(Perte_Charge_Anisotrope_QC_VEF_P1NC);
63public:
64 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
65 DoubleTab& ajouter(DoubleTab& ) const override;
66 DoubleTab& ajouter_mere(DoubleTab& ) const;
67};
68
70{
71 Declare_instanciable(Perte_Charge_Directionnelle_QC_VEF_P1NC);
72public:
73 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
74 DoubleTab& ajouter(DoubleTab& ) const override;
75 DoubleTab& ajouter_mere(DoubleTab& ) const;
76};
77
79{
80 Declare_instanciable(Perte_Charge_Isotrope_QC_VEF_P1NC);
81public:
82 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
83 DoubleTab& ajouter(DoubleTab& ) const override;
84 DoubleTab& ajouter_mere(DoubleTab& ) const;
85};
86
88{
89 Declare_instanciable(Perte_Charge_Reguliere_QC_VEF_P1NC);
90public:
91 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
92 DoubleTab& ajouter(DoubleTab& ) const override;
93 DoubleTab& ajouter_mere(DoubleTab& ) const;
94};
95
97{
98 Declare_instanciable(Perte_Charge_Singuliere_QC_VEF_P1NC);
99public:
100 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
101 DoubleTab& ajouter(DoubleTab& ) const override;
102 DoubleTab& ajouter_mere(DoubleTab& ) const;
103};
104
106{
107 Declare_instanciable(Source_qdm_QC_VEF_P1NC);
108public:
109 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
110 DoubleTab& ajouter(DoubleTab& ) const override;
111 DoubleTab& ajouter_mere(DoubleTab& ) const;
112};
113
115{
116 Declare_instanciable(Darcy_QC_VEF_P1NC);
117public:
118 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
119 DoubleTab& ajouter(DoubleTab& ) const override;
120 DoubleTab& ajouter_mere(DoubleTab& ) const;
121};
122
124{
125 Declare_instanciable(Forchheimer_QC_VEF_P1NC);
126public:
127 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override;
128 DoubleTab& ajouter(DoubleTab& ) const override;
129 DoubleTab& ajouter_mere(DoubleTab& ) const;
130};
131
132#endif /* Source_QC_VEF_P1NC_included */
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no 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 to the implicit matrix of source terms, by default no contribution
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
Matrice_Morse class - Represents a (sparse) matrix M, not necessarily square,.
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
Anisotropic pressure drop (along a unit vector v and in the plane orthogonal to this vector).
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
Anisotropic pressure drop (along a unit vector v and in the plane orthogonal to this vector).
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
Directional pressure drop (along a unit vector v).
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
Isotropic pressure drop (proportional to -u).
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & ajouter_mere(DoubleTab &) const
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
class Perte_Charge_Reguliere_VEF_P1NC
DoubleTab & ajouter_mere(DoubleTab &) const
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
class Perte_Charge_Singuliere_VEF_Face
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution to the implicit matrix of source terms, by default no contribution
DoubleTab & ajouter_mere(DoubleTab &) const
Acceleration source term specialized for the VEF discretization.
class Terme_Source_Qdm_VEF_Face