17#include <Champ_front_pression_from_u.h>
19#include <Navier_Stokes_std.h>
20#include <Domaine_VF.h>
21#include <Fluide_Incompressible.h>
22#include <Champ_Uniforme.h>
79 Cerr<<
que_suis_je()<<
" is available only for incompressible problem"<<finl;
99 const DoubleTab& Flux0=opdiv->flux_bords();
102 Cerr<<
" Div not yet ready...."<<finl;
107 const DoubleTab& Flux=opdiv->flux_bords();
112 for(
int i=0; i<le_bord.
nb_faces(); i++)
120 double u_moy=fluxb/surf;
127 Cout <<
frontiere_dis().
le_nom()<<
" time "<< tps <<
" u_moy "<< u_moy<<
" Pout "<<Pout <<finl;
131 for (
int t=0; t<nb_cases; t++)
class Ch_front_var_instationnaire_dep This abstract class represents a field on a boundary,
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
virtual const Frontiere_dis_base & frontiere_dis() const
Returns the discretized boundary associated with the field.
virtual const Domaine_dis_base & domaine_dis() const
class Champ_front_pression_from_u
int initialiser(double temps, const Champ_Inc_base &inco) override
Updates the time.
void mettre_a_jour(double temps) override
DOES NOTHING, to override.
virtual const DoubleVect & face_surfaces() const
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const Milieu_base & milieu() const =0
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
Represents an incompressible fluid and its properties:
int num_premiere_face() const
const Nom & le_nom() const override
Returns the name of the geometric boundary.
Milieu_base This class is the base of the (physical) medium hierarchy.
virtual const Champ_base & masse_volumique() const
Returns the mass density of the medium (const version).
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
Navier_Stokes_std This class carries the terms of the momentum equation.
Operateur_Div & operateur_divergence()
Returns the divergence operator associated with the equation.
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.
Operateur_Div Generic class of the hierarchy of operators computing the divergence.
static void mp_sum_for_each(T &arg1, T &arg2)
C++14 compatible mp_sum_for_each: combine multiple mp_sum calls into one collective operation Usage: ...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.