16#include <Fluide_Quasi_Compressible.h>
17#include <Discretisation_base.h>
18#include <Navier_Stokes_QC.h>
33 if (!sub_type(Fluide_Quasi_Compressible,le_fluide.valeur()))
35 Cerr<<
"ERROR : the Navier_Stokes_QC equation can be associated only to a quasi compressible fluid."<<finl;
48 Cerr<<
"Navier_Stokes_QC::completer"<<finl;
49 if (le_fluide->a_gravite())
51 Cerr <<
"Gravity = " << le_fluide->gravite() << finl;
52 Cerr <<
"Creation of the buoyancy source term for the Navier_Stokes_QC equation : " << finl;
55 Nom type_so =
"Source_QC_Gravite_";
57 if (disc==
"VEFPreP1B") disc =
"VEF";
60 so->associer_eqn(*
this);
61 Cerr << so->que_suis_je() << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
Base class carrying the terms of the momentum equation for a fluid without turbulence modelling under...
void completer() override
Completes the base equation: associates the pressure, completes the divergence, gradient and pressure...
int impr(Sortie &os) const override
Prints the equation operators to an output stream, unconditionally.
Carries the terms of the momentum equation for a quasi-compressible fluid without turbulence modellin...
void completer() override
Completes the base equation: associates pressure, completes divergence, gradient and pressure solver.
int impr(Sortie &os) const override
Prints the equation operators to an output stream, unconditionally.
class Nom: a character string for naming TRUST objects.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
Source Generic class of the source term hierarchy. A Source object can.
void typer_direct(const Nom &)