16#include <Navier_Stokes_WC.h>
17#include <Fluide_Weakly_Compressible.h>
18#include <Discretisation_base.h>
35 if (!sub_type(Fluide_Weakly_Compressible,le_fluide.valeur()))
37 Cerr<<
"ERROR : the Navier_Stokes_WC equation can be associated only to a weakly compressible fluid."<<finl;
53 Cerr<<
"Navier_Stokes_WC::completer"<<finl;
54 if (le_fluide->a_gravite())
56 Cerr <<
"Gravity = " << le_fluide->gravite() << finl;
57 Cerr <<
"Creation of the buoyancy source term for the Navier_Stokes_WC equation : " << finl;
60 Nom type_so =
"Source_WC_Gravite_";
62 if (disc==
"VEFPreP1B") disc =
"VEF";
65 so->associer_eqn(*
this);
66 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 weakly compressible fluid without turbulence modelli...
void completer() override
Complete the base equation, associate the pressure to the equation,.
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 &)