ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
FluxNEqDEM.h
Go to the documentation of this file.
1//
2// ,---. ,--, .---. ,--, ,---. .-. .-.
3// | .-' .' .') / .-. ) .' .' | .-' | \| |
4// | `-. | |(_) | | |(_) | | __ | `-. | | |
5// | .-' \ \ | | | | \ \ ( _) | .-' | |\ |
6// | `--. \ `-. \ `-' / \ `-) ) | `--. | | |)|
7// /( __.' \____\ )---' )\____/ /( __.' /( (_)
8// (__) (_) (__) (__) (__)
9// Official webSite: https://code-mphi.github.io/ECOGEN/
10//
11// This file is part of ECOGEN.
12//
13// ECOGEN is the legal property of its developers, whose names
14// are listed in the copyright file included with this source
15// distribution.
16//
17// ECOGEN is free software: you can redistribute it and/or modify
18// it under the terms of the GNU General Public License as published
19// by the Free Software Foundation, either version 3 of the License,
20// or (at your option) any later version.
21//
22// ECOGEN is distributed in the hope that it will be useful,
23// but WITHOUT ANY WARRANTY; without even the implied warranty of
24// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25// GNU General Public License for more details.
26//
27// You should have received a copy of the GNU General Public License
28// along with ECOGEN (file LICENSE).
29// If not, see <http://www.gnu.org/licenses/>.
30
31#ifndef FLUXNEQDEM_H
32#define FLUXNEQDEM_H
33
36
37class FluxNEqDEM;
38
41class FluxNEqDEM : public FluxNEq
42{
43 public:
44 FluxNEqDEM(const int& numbPhases);
45 ~FluxNEqDEM() override;
46
47 void setToZero() override;
48 void addNonCons(double coefA, const Cell* /*cell*/, const Coord& normal, const Coord& tangent, const Coord& binormal) override;
49 void subtractNonCons(double coefA, const Cell* /*cell*/, const Coord& normal, const Coord& tangent, const Coord& binormal) override;
50
51 double** m_uI;
52 double** m_pI;
53 double** m_pI_02;
54 double** m_uI_02;
55
56 friend class ModNEqDEM; // !< ModNEqDEM need to access to contact areas and define interfacial variables of interface fluxes
57};
58
61
62#endif // FLUXNEQDEM_H
ContactAreas * contactAreas
Contact area pointer to either symmetric or non-symmetric contact areas algorithms.
Definition FluxNEqDEM.cpp:33
ContactAreas * contactAreas_02
Contact area 02 pointer to either symmetric or non-symmetric contact areas algorithms.
Definition FluxNEqDEM.cpp:34
Base class for a mesh cell.
Definition Cell.h:59
Definition ContactAreas.h:39
Class for a coordinate system object such as coordinates of the vertex or a vector.
Definition Coord.h:43
Flux class for the non-equilibrium system of equations using the DEM.
Definition FluxNEqDEM.h:42
void subtractNonCons(double coefA, const Cell *, const Coord &normal, const Coord &tangent, const Coord &binormal) override
Subtract non conservative term to the flux.
Definition FluxNEqDEM.cpp:117
FluxNEqDEM(const int &numbPhases)
Definition FluxNEqDEM.cpp:38
void addNonCons(double coefA, const Cell *, const Coord &normal, const Coord &tangent, const Coord &binormal) override
Add non conservative term to the flux.
Definition FluxNEqDEM.cpp:88
double ** m_pI_02
interfacial pressure for 2nd order
Definition FluxNEqDEM.h:53
double ** m_pI
interfacial pressure [Pa]
Definition FluxNEqDEM.h:52
double ** m_uI_02
interfacial velocity for 2nd order
Definition FluxNEqDEM.h:54
~FluxNEqDEM() override
Definition FluxNEqDEM.cpp:54
double ** m_uI
interfacial velocity [m/s] //KS//Shouldn't m_uI and m_pI be extern variables?
Definition FluxNEqDEM.h:51
void setToZero() override
set each attribute of the flux to zero
Definition FluxNEqDEM.cpp:70
friend class ModNEqDEM
Definition FluxNEqDEM.h:56
FluxNEq(const int &numbPhases)
Definition FluxNEq.cpp:36