16#include <SourceFiltree_FT_disc_VEF_P1NC.h>
17#include <Probleme_FT_Disc_gen.h>
18#include <Transport_Interfaces_FT_Disc.h>
20#include <Domaine_VEF.h>
21#include <Domaine_Cl_VEF.h>
22#include <Neumann_sortie_libre.h>
24#include <Periodique.h>
26#include <Dirichlet_homogene.h>
51 const Domaine_VEF& domaine_VEF = le_dom_VEF.valeur();
54 const DoubleTab& xv = domaine_VEF.
xv();
55 const DoubleTab& Indicatrice = Indic_->valeurs();
60 int n_bord,face, elem1,elem2,k, ndeb,nfin, offset;
61 double indic, x,y,z = 0;
63 for (n_bord=0 ; n_bord<nb_front_Cl ; n_bord++)
74 for (face=ndeb; face<nfin; face++)
76 elem1 = face_voisins(face,0);
77 indic = Indicatrice(elem1);
98 resu(face,k) +=
fI_xyz_t[offset+k]->eval() * volumes_entrelaces(face) * porosite_surf(face);
107 for (face=ndeb; face<nfin; face++)
109 elem1 = face_voisins(face,0);
110 elem2 = face_voisins(face,1);
111 indic = (Indicatrice(elem1) + Indicatrice(elem2)) /2.;
132 resu(face,k) +=
fI_xyz_t[offset+k]->eval() * volumes_entrelaces(face) * porosite_surf(face);
144 elem1 = face_voisins(face,0);
145 elem2 = face_voisins(face,1);
146 indic = (Indicatrice(elem1) + Indicatrice(elem2)) /2.;
167 resu(face,k) +=
fI_xyz_t[offset+k]->eval() * volumes_entrelaces(face) * porosite_surf(face);
202 Cerr<<
"Un probleme "<<pb.
que_suis_je()<<
" ne peut etre associe a une source SourceFiltree_FT_disc_VEF_P1NC"<<finl;
203 Cerr<<
"Il faut utiliser un pb Pb_Front_Tracking_base"<<finl;
class Cond_lim Generic class used to represent any class
Classe Dirichlet_homogene This class is the base class of the hierarchy of homogeneous Dirichlet-type...
Dirichlet This class is the base class of the hierarchy of Dirichlet-type boundary conditions.
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
const Cond_lim & les_conditions_limites(int) const
Returns the i-th boundary condition.
int nb_faces() const
Returns the total number of faces.
DoubleVect & volumes_entrelaces()
double xv(int num_face, int k) const
int premiere_face_int() const
A face is internal if and only if it separates two elements.
int face_voisins(int num_face, int i) const
Returns the neighbouring element of num_face in direction i.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const Milieu_base & milieu() const =0
int num_premiere_face() const
DoubleVect & porosite_face()
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
Neumann_sortie_libre This class represents an open boundary without imposed velocity.
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
class Periodique This class represents a periodic boundary condition.
virtual const Transport_Interfaces_FT_Disc & equation_interfaces(const Motcle &nom) const
class Probleme_base It is a Probleme_U that is not a coupling.
Base class for output streams.
class SourceFiltree_FT_disc_VEF_P1NC la Classe SourceFiltree permet d'ajouter un terme source agissan...
void mettre_a_jour(double temps) override
DOES NOTHING - to override in derived classes.
DoubleTab & calculer(DoubleTab &) const override
Entree & lire(Entree &is)
Lit les parametres du terme source a partir d'un flot d'entree.
void associer_pb(const Probleme_base &) override
void associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
DoubleTab & ajouter(DoubleTab &) const override
void completer() override
Updates internal references of the Source_base object.
Sortie & ecrire_donnees(Sortie &) const
Entree & lire_donnees(Entree &)
Lit les parametres du terme source a partir d'un flot d'entree.
Source_base A Source_base object is a term appearing on the right-hand side of an.
virtual void completer()
Updates internal references of the Source_base object.
Symetrie On symmetry faces, the following properties hold:
const Champ_Inc_base & inconnue() const override