TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Navier_Stokes_Turbulent_QC Class Reference

Navier-Stokes equation for a quasi-compressible fluid with turbulence modelling. More...

#include <Navier_Stokes_Turbulent_QC.h>

Inheritance diagram for Navier_Stokes_Turbulent_QC:
[legend]
Collaboration diagram for Navier_Stokes_Turbulent_QC:
[legend]

Public Member Functions

void completer () override
 Successive calls to: Navier_Stokes_std::completer().
void mettre_a_jour (double) override
 Calls Navier_Stokes_Turbulent::mettre_a_jour and Convection_Diffusion_Chaleur_Turbulent_QC::mettre_a_jour_modele.
bool initTimeStep (double dt) override
 Allocation and initialization of the unknown and boundary conditions until present+dt.
int preparer_calcul () override
 See Equation_base::preparer_calcul(). Assembles the pressure solver and initializes the pressure.
int impr (Sortie &) const override
 Prints some information to an output stream: - maximum of div U.
void imprimer (Sortie &os) const override
 Prints the equation operators if the time scheme indicates it is necessary.
DoubleTab & derivee_en_temps_inco (DoubleTab &) override
 Computes the time derivative of the velocity unknown, i.e. the acceleration dU/dt, and returns it.
void assembler (Matrice_Morse &mat_morse, const DoubleTab &present, DoubleTab &secmem) override
void assembler_avec_inertie (Matrice_Morse &mat_morse, const DoubleTab &present, DoubleTab &secmem) override
const Champ_Inc_baserho_la_vitesse () const override
void discretiser () override
 Discretizes the equation.
const Champ_baseget_champ (const Motcle &nom) const override
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
bool has_champ (const Motcle &nom) const override
const Champ_Don_basediffusivite_pour_transport () const override
Public Member Functions inherited from Navier_Stokes_Turbulent
void set_param (Param &titi) const override
int lire_motcle_non_standard (const Motcle &, Entree &) override
 Reads non-simple-type parameters of an Objet_U from an input stream.
const Champ_Fonc_baseviscosite_turbulente () const
const Modele_turbulence_hyd_basemodele_turbulence () const
std::vector< YAML_datadata_a_sauvegarder () const override
 for PDI IO: retrieve name, type and dimensions of the fields to save/restore
int sauvegarder (Sortie &) const override
 Saves the equation (and its turbulence model) to an output stream.
int reprendre (Entree &) override
 Restores the equation and its turbulence model from an input stream.
const Champ_basediffusivite_pour_pas_de_temps () const override
void creer_champ (const Motcle &motlu) override
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
void get_noms_champs_postraitables (Noms &nom, Option opt=NONE) const override
const RefObjU & get_modele (Type_modele type) const override
void imprime_residu (SFichier &) override
Nom expression_residu () override
Public Member Functions inherited from Navier_Stokes_std
 Navier_Stokes_std ()
void associer_pb_base (const Probleme_base &) override
 Associates with the problem: calls Equation_base::associer_pb_base(const Probleme_base&).
void associer_fluide (const Fluide_base &un_fluide)
const Milieu_basemilieu () const override
 Returns the physical medium of the equation (Fluide_base upcast to Milieu_base).
Milieu_basemilieu () override
 Returns the physical medium of the equation (Fluide_base upcast to Milieu_base).
const Fluide_basefluide () const
 Returns the incompressible fluid (physical medium of the equation) associated with the equation.
Fluide_basefluide ()
 Returns the incompressible fluid (physical medium of the equation) associated with the equation.
void associer_milieu_base (const Milieu_base &) override
 Associates a physical medium with the equation by dynamically constructing (casting) an object of type Fluide_base.
int nombre_d_operateurs () const override
 Returns the number of operators in the equation: 2 for the standard Navier-Stokes equations.
int nombre_d_operateurs_tot () const override
const Operateuroperateur (int) const override
 Returns the i-th operator of the equation: - terme_diffusif if i = 0.
Operateuroperateur (int) override
 Returns the i-th operator of the equation: - terme_diffusif if i = 0.
const Operateuroperateur_fonctionnel (int) const override
Operateuroperateur_fonctionnel (int) override
Operateur_Divoperateur_divergence ()
 Returns the divergence operator associated with the equation.
const Operateur_Divoperateur_divergence () const
 Returns the divergence operator associated with the equation.
Operateur_Gradoperateur_gradient ()
 Returns the gradient operator associated with the equation.
const Operateur_Gradoperateur_gradient () const
 Returns the gradient operator associated with the equation.
Operateur_Diffoperateur_diff ()
const Operateur_Diffoperateur_diff () const
const Champ_Inc_baseinconnue () const override
 Returns the velocity (unknown field of the equation) (const version).
Champ_Inc_baseinconnue () override
 Returns the velocity (unknown field of the equation).
SolveurSyssolveur_pression ()
 Returns the pressure solver (const version).
virtual void discretiser_vitesse ()
virtual void discretiser_grad_p ()
Entreelire_cond_init (Entree &) override
 Reading of initial conditions in an input stream.
void abortTimeStep () override
 Reinitialize what must be.
void resetTime (double time) override
 Reset current time of the equation. Used from ICoCo. See documentation of Problem_base::resetTime().
void dimensionner_matrice_sans_mem (Matrice_Morse &matrice) override
int has_interface_blocs () const override
void dimensionner_blocs (matrices_t matrices, const tabs_t &semi_impl={}) const override
void assembler_blocs (matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl={}) const override
DoubleTab & corriger_derivee_expl (DoubleTab &) override
 Add a specific term for Navier Stokes (-gradP(n)) if necessary.
DoubleTab & corriger_derivee_impl (DoubleTab &) override
 Resolution de la pression, inconnue implicitee de Navier Stokes.
Matricematrice_pression ()
 OWN_PTR (Assembleur_base) &assembleur_pression()
bool has_grad_P () const
Champ_Inc_basegrad_P ()
const Champ_Inc_basegrad_P () const
Champ_Inc_basepression ()
const Champ_Inc_basepression () const
Champ_Inc_basepression_pa ()
const Champ_Inc_basepression_pa () const
Champ_Inc_basediv ()
const Champ_Inc_basediv () const
virtual const Champ_basevitesse_pour_transport () const
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
const Motcledomaine_application () const override
 Returns the name of the application domain: "Hydraulique".
virtual const Champ_Inc_basevitesse () const
virtual Champ_Inc_basevitesse ()
virtual void projeter ()
 Computes the solution U of the equations: | M(U-V)/dt + BtP = 0.
virtual int projection_a_faire ()
virtual void sauver () const
virtual void calculer_la_pression_en_pa ()
 Computes "la_pression_en_pa" from "la_pression".
virtual void calculer_pression_hydrostatique (Champ_base &pression_hydro) const
int verif_Cl () const override
 Verifies the compatibility of boundary conditions with the equation.
Operateur_Convget_terme_convectif ()
virtual void updateFluidForce (DoubleTab &)
virtual bool getCouplingInfoForFiltering () const
DoubleTab getPressureTimeN ()
void setPressureTimeN ()
void update_y_plus (const DoubleTab &tab)
void reassembler_pression_si_necessaire ()
Public Member Functions inherited from Equation_base
void nommer (const Nom &nom) override
 Method called when the object instance is created in the data file (Interprete::ajouter).
virtual void avancer (int i=1)
virtual void reculer (int i=1)
Nom create_polymacfamily_syno (const Nom &field_tag) const
 Create a synonym of a field name in order to ensure backward compatibility with old names of the PolyMAC discretisation family.
virtual void init_save_file ()
virtual void close_save_file ()
int limpr () const
 Ask the time scheme if an output is needed.
virtual void associer_milieu_equation ()
virtual DoubleTab & derivee_en_temps_inco_transport (DoubleTab &derivee)
virtual void valider_iteration ()
 virtual method to correct the unknown during implicit iterations for example K-eps must remain positive
virtual bool updateGivenFields ()
virtual double calculer_pas_de_temps () const
 Calculation of the next time step.
void calculer_pas_de_temps_locaux (DoubleTab &) const
Sourcessources ()
 Returns the source terms associated with the equation.
const Sourcessources () const
 Returns the source terms associated with the equation (const version).
Solveur_Masse_basesolv_masse ()
 Returns the mass solver associated with the equation.
const Solveur_Masse_basesolv_masse () const
 Returns the mass solver associated with the equation (const version).
Probleme_baseprobleme ()
 Returns the problem associated with the equation.
const Probleme_baseprobleme () const
 Returns the problem associated with the equation.
Schema_Temps_baseschema_temps ()
 Returns the time scheme associated with the equation.
const Schema_Temps_baseschema_temps () const
 Returns the time scheme associated with the equation.
virtual void associer_sch_tps_base (const Schema_Temps_base &)
 Associates the time scheme with the equation.
virtual void associer_domaine_dis (const Domaine_dis_base &)
 Associates the discretized domain with the equation.
const Discretisation_basediscretisation () const
 Returns the discretization associated with the equation.
virtual Domaine_Cl_dis_basedomaine_Cl_dis ()
 Returns the discretized boundary condition domain associated with the equation.
virtual const Domaine_Cl_dis_basedomaine_Cl_dis () const
 Returns the discretized boundary condition domain associated with the equation (const version).
Domaine_dis_basedomaine_dis ()
 Returns the discretized domain associated with the equation.
const Domaine_dis_basedomaine_dis () const
 Returns the discretized domain associated with the equation.
const Nomle_nom () const override
 Returns the name of the equation.
DoubleVect & get_residu ()
DoubleVect & residu_initial ()
void initialise_residu (int=0)
virtual void dimensionner_matrice (Matrice_Morse &mat_morse)
virtual void modifier_pour_Cl (Matrice_Morse &mat_morse, DoubleTab &secmem) const
virtual void dimensionner_termes_croises (Matrice_Morse &matrice, const Probleme_base &autre_pb, int nl, int nc)
virtual void ajouter_termes_croises (const DoubleTab &inco, const Probleme_base &autre_pb, const DoubleTab &autre_inco, DoubleTab &resu) const
virtual void contribuer_termes_croises (const DoubleTab &inco, const Probleme_base &autre_pb, const DoubleTab &autre_inco, Matrice_Morse &matrice) const
virtual double get_time_factor () const
virtual void assembler_blocs_avec_inertie (matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl={})
Champ_Inc_basechamp_conserve () const
int has_champ_conserve () const
void init_champ_conserve () const
virtual std::pair< std::string, fonc_calc_t > get_fonc_champ_conserve () const
virtual Champ_Inc_basechamp_convecte () const
virtual int has_champ_convecte () const
virtual void init_champ_convecte () const
virtual void mettre_a_jour_champs_conserves (double temps, int reset=0)
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
virtual void verifie_ch_init_nb_comp (const Champ_Inc_base &ch_ref, const int nb_comp) const
 Verification of the number of components read for the specification of a field.
virtual void verifie_ch_init_nb_comp_cl (const Champ_Inc_base &ch_ref, const int nb_comp, const Cond_lim_base &cl) const
DoubleTab & derivee_en_temps_conv (DoubleTab &, const DoubleTab &)
 Add convection term In: solution is the unknown I.
void Gradient_conjugue_diff_impl (DoubleTrav &secmem, DoubleTab &solution)
void Gradient_conjugue_diff_impl (DoubleTrav &secmem, DoubleTab &solution, const DoubleTab &terme_mul)
 OWN_PTR (Parametre_equation_base) &parametre_equation()
const OWN_PTR (Parametre_equation_base) &parametre_equation() const
virtual int equation_non_resolue () const
int disable_equation_residual () const
virtual const Champ_Inc_basederivee_en_temps () const
virtual Champ_Inc_basederivee_en_temps ()
void set_calculate_time_derivative (int i)
int calculate_time_derivative () const
void set_residuals (const DoubleTab &residual)
virtual bool positive_unkown ()
void add_champs_compris (const Champ_base &ch)
void set_diffusion_multi_scalaire (bool flg=true)
const bool & diffusion_multi_scalaire () const
public_for_cuda void Gradient_conjugue_diff_impl (DoubleTrav &secmem, DoubleTab &solution, int size_terme_mul, const DoubleTab &term_mul)
 Solve: (1/dt + M-1*L)*dI = M-1 * secmem with a Conjugate Gradient matrix-free algorithm by default.
Public Member Functions inherited from Champs_compris_interface
virtual ~Champs_compris_interface ()
virtual bool has_champ (const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const =0
Public Member Functions inherited from Objet_U
 ~Objet_U () override
 Destructor. Removes the object from the list of objects registered in "memory".
int numero () const
 Returns the index of the object in Memoire::data.
virtual int duplique () const =0
virtual SortieprintOn (Sortie &) const
 Writes the object to an output stream. Virtual method to override.
virtual EntreereadOn (Entree &)
 Reads an Objet_U from an input stream. Virtual method to override.
virtual unsigned taille_memoire () const =0
virtual int est_egal_a (const Objet_U &) const
 Returns 1 if x and *this are the same instance (same memory address).
int get_object_id () const
 Returns the unique identifier of the object (object_id_).
virtual const Type_infoget_info () const
 Returns type information for the Objet_U.
const Nomque_suis_je () const
 Returns the string identifying the class.
const char * le_type () const
 Returns the type name of the Objet_U.
virtual int change_num (const int *const)
 Changes the internal number of the Objet_U.
virtual int associer_ (Objet_U &)
 Associates the Objet_U with another Objet_U. Virtual method to override.
const Interpreteinterprete () const
Interpreteinterprete ()
Public Member Functions inherited from Process
virtual ~Process ()
Public Member Functions inherited from Navier_Stokes_Fluide_Dilatable_Proto
 Navier_Stokes_Fluide_Dilatable_Proto ()
int impr_impl (const Navier_Stokes_std &eqn, Sortie &os) const
void assembler_impl (Matrice_Morse &mat_morse, const DoubleTab &present, DoubleTab &secmem)
void assembler_avec_inertie_impl (const Navier_Stokes_std &eqn, Matrice_Morse &mat_morse, const DoubleTab &present, DoubleTab &secmem)
void assembler_blocs_avec_inertie (const Navier_Stokes_std &eqn, matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl)
DoubleTab & derivee_en_temps_inco_impl (Navier_Stokes_std &, DoubleTab &res)
 Computes the time derivative of the velocity unknown, i.e. the acceleration dU/dt, and returns it.
DoubleTab & rho_vitesse_impl (const DoubleTab &tab_rho, const DoubleTab &vit, DoubleTab &rhovitesse) const

Additional Inherited Members

Static Public Member Functions inherited from Equation_base
static void calculer_champ_conserve (const Objet_U &obj, DoubleTab &val, DoubleTab &bval, tabs_t &deriv)
Static Public Member Functions inherited from Objet_U
static const Nomnom_du_cas ()
 Returns a constant reference to the case name. This method is static.
static Nomget_set_nom_du_cas ()
 Returns a non-constant reference to the case name (to allow modification). This method is static.
static const Type_infoinfo ()
 Returns type information for the Objet_U (static version).
static const Objet_Uself_cast (const Objet_U &)
 Method added for casting in Python.
static Objet_Uself_cast (Objet_U &)
Static Public Member Functions inherited from Process
static int me ()
 Returns the rank of the local processor in the current communication group. See Comm_Group::rank() and PE_Groups::current_group().
static int nproc ()
 Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current_group().
static bool is_parallel ()
static void exit (int exit_code=-1)
 Exit routine for TRUST within a Kokkos region.
static double mp_sum (double)
 Computes the sum of x over all processors in the current group.
static float mp_sum (float)
static trustIdType mp_sum (trustIdType)
 Computes the sum of x over all processors in the current group.
static double mp_max (double)
static double mp_min (double)
static int mp_max (int)
 Returns the maximum value of x across all processors in the current group.
static int mp_min (int)
 Returns the minimum value of x across all processors in the current group.
static double mp_sum_as_double (int v)
static trustIdType mppartial_sum (trustIdType i)
 Computes the partial sum of x over processors 0 to me()-1 (returns 0 on processor 0).
template<typename T>
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: mp_sum_for_each(a, b); mp_sum_for_each(a, b, c); mp_sum_for_each(a, b, c, d); mp_sum_for_each(a, b, c, d, e); All arguments must be of the same type (double or int) and are modified in place. Supports 2-5 parameters.
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2)
 C++14 compatible mp_max_for_each: combine multiple mp_max calls into one collective operation.
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2)
 C++14 compatible mp_min_for_each: combine multiple mp_min calls into one collective operation.
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename _TYPE_>
static void mp_sum_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_max_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_min_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
static bool mp_and (bool)
 Computes the logical AND of b across all processors in the current group.
static bool mp_or (bool)
static int check_int_overflow (trustIdType)
static int je_suis_maitre ()
 Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
static KOKKOS_INLINE_FUNCTION void Kokkos_exit (const char *)
 Exit routine for TRUST within a Kokkos region.
static int node_master ()
 Returns 1 if on the NUMA node master processor, 0 otherwise.
static void exit (const Nom &message, int exit_code=-1)
static bool is_sequential ()
static void barrier ()
 Synchronizes all processors in the current group (waits until all processors have reached the barrier).
static void abort ()
 Abort routine for TRUST on a fatal error.
static SortieJournal (int message_level=0)
 Returns a static Sortie object used as an event journal.
static double ram_processeur ()
static void imprimer_ram_totale (int all_process=0)
static bool force_single_file (const int ranks, const Nom &filename)
Public Attributes inherited from Equation_base
Matrice_Morse_Diag diag_
Static Public Attributes inherited from Objet_U
static double precision_geom = 1e-10
static constexpr bool HAS_POINTER = false
static int dimension =0
static int format_precision_geom =11
static int axi =0
static int bidim_axi =0
static int DEACTIVATE_SIGINT_CATCH =0
static Type_info info_obj
static bool disable_TU =false
 Flag to disable or not the writing of the .TU files.
static bool stat_per_proc_perf_log =false
 Flag to enable the writing of the statistics detailed per processor in _csv.TU file.
Static Public Attributes inherited from Process
static int exception_sur_exit =0
static int multiple_files =5120
Protected Member Functions inherited from Navier_Stokes_Turbulent
Entreelire_op_diff_turbulent (Entree &is)
 OWN_PTR (Modele_turbulence_hyd_base) le_modele_turbulence
Protected Member Functions inherited from Navier_Stokes_std
virtual void discretiser_assembleur_pression ()
 Types the pressure assembler.
virtual void modify_initial_variable ()
virtual void modify_initial_gradP (DoubleTrav &)
 OBS_PTR (Fluide_base) le_fluide
 OWN_PTR (Champ_Inc_base) la_vitesse
 OWN_PTR (Champ_Fonc_base) la_vorticite
 OWN_PTR (Champ_Fonc_base) distance_paroi_globale
 OWN_PTR (Assembleur_base) assembleur_pression_
 OWN_PTR (Traitement_particulier_NS_base) le_traitement_particulier
void uzawa (const DoubleTab &, const Matrice_Base &, SolveurSys &, DoubleTab &, DoubleTab &)
Protected Member Functions inherited from Equation_base
 OWN_PTR (Solveur_Masse_base) solveur_masse
 OBS_PTR (Schema_Temps_base) le_schema_en_temps
 OBS_PTR (Domaine_dis_base) le_dom_dis
 OWN_PTR (Domaine_Cl_dis_base) le_dom_Cl_dis
 OBS_PTR (Probleme_base) mon_probleme
virtual Entreelire_sources (Entree &)
 Reading of source terms in an input stream.
virtual Entreelire_cl (Entree &)
 Reading of boundary conditions in an input stream.
virtual void lire ()
 OWN_PTR (Parametre_equation_base) parametre_equation_
 LIST (RefObjU) liste_modeles_
 OWN_PTR (Champ_Inc_base) champ_conserve_
 OWN_PTR (Champ_Inc_base) champ_convecte_
 OWN_PTR (Champ_Inc_base) derivee_en_temps_
Protected Member Functions inherited from Objet_U
 Objet_U ()
 Default constructor: assigns a unique identifier to the object (object_id_) and registers the object in "memory" by giving it a num_obj number.
 Objet_U (const Objet_U &)
 Copy constructor.
const Objet_Uoperator= (const Objet_U &)
 Assignment operator: does nothing (the number and identifier are preserved).
Protected Member Functions inherited from Navier_Stokes_Fluide_Dilatable_Proto
 OWN_PTR (Champ_Inc_base) rho_la_vitesse_
Protected Attributes inherited from Navier_Stokes_std
 la_pression
 divergence_U
 gradient_P
 la_pression_en_pa
 grad_u
 critere_Q
 pression_hydrostatique_
 combinaison_champ
 y_plus
 Reynolds_maille
 Courant_maille
 Taux_cisaillement
Operateur_Conv terme_convectif
Operateur_Diff terme_diffusif
Operateur_Div divergence
Operateur_Grad gradient
Matrice matrice_pression_
SolveurSys solveur_pression_
int projection_initiale
double dt_projection
double seuil_projection
double seuil_uzawa
double max_div_U
double seuil_divU
double raison_seuil_divU
double cumulative_
Nom chaine_champ_combi
int methode_calcul_pression_initiale_
bool postraiter_gradient_pression_sans_masse_ = false
int div_u_nul_et_non_dsurdt_divu_
Protected Attributes inherited from Equation_base
Nom nom_
Sources les_sources
DoubleList dt_op_bak
int sys_invariant_
int implicite_
bool has_time_factor_
Champs_compris champs_compris_
Champs_Fonc list_champ_combi
Matrice_Morse matrice_stockee
int matrice_init
int calculate_time_derivative_
bool diffusion_multi_scalaire_ = false
Protected Attributes inherited from Navier_Stokes_Fluide_Dilatable_Proto
IntVect orientation_VDF_
DoubleTab tab_W

Detailed Description

Navier-Stokes equation for a quasi-compressible fluid with turbulence modelling.

Inherits from Navier_Stokes_Turbulent and Navier_Stokes_Fluide_Dilatable_Proto.
Contains an OWN_PTR(Modele_turbulence_hyd_base) member representing the turbulence model.
See also
Navier_Stokes_Turbulent OWN_PTR(Modele_turbulence_hyd_base) Pb_Thermohydraulique_Turbulent_QC

Definition at line 29 of file Navier_Stokes_Turbulent_QC.h.

Member Function Documentation

◆ assembler()

void Navier_Stokes_Turbulent_QC::assembler ( Matrice_Morse & mat_morse,
const DoubleTab & present,
DoubleTab & secmem )
overridevirtual

Reimplemented from Equation_base.

Definition at line 184 of file Navier_Stokes_Turbulent_QC.cpp.

◆ assembler_avec_inertie()

void Navier_Stokes_Turbulent_QC::assembler_avec_inertie ( Matrice_Morse & mat_morse,
const DoubleTab & present,
DoubleTab & secmem )
overridevirtual

Reimplemented from Equation_base.

Definition at line 188 of file Navier_Stokes_Turbulent_QC.cpp.

◆ completer()

void Navier_Stokes_Turbulent_QC::completer ( )
overridevirtual

Successive calls to: Navier_Stokes_std::completer().

 Mod_Turb_Hyd::completer() [on the turbulence member]

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 86 of file Navier_Stokes_Turbulent_QC.cpp.

◆ derivee_en_temps_inco()

DoubleTab & Navier_Stokes_Turbulent_QC::derivee_en_temps_inco ( DoubleTab & vpoint)
overridevirtual

Computes the time derivative of the velocity unknown, i.e. the acceleration dU/dt, and returns it.

Calls Equation_base::derivee_en_temps_inco(DoubleTab&). Also computes the pressure.

Parameters
vpointArray of acceleration values dU/dt.
Returns
Array of acceleration values (velocity derivative).

Reimplemented from Navier_Stokes_std.

Definition at line 179 of file Navier_Stokes_Turbulent_QC.cpp.

◆ diffusivite_pour_transport()

const Champ_Don_base & Navier_Stokes_Turbulent_QC::diffusivite_pour_transport ( ) const
overridevirtual

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 43 of file Navier_Stokes_Turbulent_QC.cpp.

◆ discretiser()

void Navier_Stokes_Turbulent_QC::discretiser ( )
overridevirtual

Discretizes the equation.

Reimplemented from Navier_Stokes_std.

Definition at line 73 of file Navier_Stokes_Turbulent_QC.cpp.

◆ get_champ()

const Champ_base & Navier_Stokes_Turbulent_QC::get_champ ( const Motcle & nom) const
overridevirtual

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 155 of file Navier_Stokes_Turbulent_QC.cpp.

◆ has_champ() [1/2]

bool Navier_Stokes_Turbulent_QC::has_champ ( const Motcle & nom) const
overridevirtual

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 141 of file Navier_Stokes_Turbulent_QC.cpp.

◆ has_champ() [2/2]

bool Navier_Stokes_Turbulent_QC::has_champ ( const Motcle & nom,
OBS_PTR(Champ_base) & ref_champ ) const
override

◆ impr()

int Navier_Stokes_Turbulent_QC::impr ( Sortie & os) const
overridevirtual

Prints some information to an output stream: - maximum of div U.

  - convective term
  - diffusive term
  - divergence
  - gradient
Parameters
(Sortie&os) output stream
Returns
(int) always returns 1

Reimplemented from Navier_Stokes_std.

Definition at line 61 of file Navier_Stokes_Turbulent_QC.cpp.

◆ imprimer()

void Navier_Stokes_Turbulent_QC::imprimer ( Sortie & os) const
overridevirtual

Prints the equation operators if the time scheme indicates it is necessary.

[IF limpr() THEN impr(os)]
Parameters
(Sortie&os) output stream

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 67 of file Navier_Stokes_Turbulent_QC.cpp.

◆ initTimeStep()

bool Navier_Stokes_Turbulent_QC::initTimeStep ( double dt)
overridevirtual

Allocation and initialization of the unknown and boundary conditions until present+dt.

  • other initializations for calculations on the next time step : operators, mass solver->
Returns
(0 in case of error, 1 otherwise)

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 193 of file Navier_Stokes_Turbulent_QC.cpp.

◆ mettre_a_jour()

void Navier_Stokes_Turbulent_QC::mettre_a_jour ( double temps)
overridevirtual

◆ preparer_calcul()

int Navier_Stokes_Turbulent_QC::preparer_calcul ( )
overridevirtual

See Equation_base::preparer_calcul(). Assembles the pressure solver and initializes the pressure.

Returns
Always returns 1.

Reimplemented from Navier_Stokes_Turbulent.

Definition at line 119 of file Navier_Stokes_Turbulent_QC.cpp.

◆ rho_la_vitesse()

const Champ_Inc_base & Navier_Stokes_Turbulent_QC::rho_la_vitesse ( ) const
inlineoverridevirtual

Reimplemented from Navier_Stokes_std.

Definition at line 45 of file Navier_Stokes_Turbulent_QC.h.


The documentation for this class was generated from the following files: