Navier_Stokes_phase_field#
#include <Navier_Stokes_phase_field.h>
classe Navier_Stokes_phase_field Cette classe porte les termes de l’equation de la dynamique
How to cite this class in this doc#
:ref:`Navier\_Stokes\_phase\_field <class-navier-stokes-phase-field>`
[Navier\_Stokes\_phase\_field](#class-navier-stokes-phase-field)
Detailed description#
pour un fluide sans modelisation de la turbulence. On suppose l’hypothese de fluide incompressible: div U = 0 On peut 1) soit utiliser un modele a rho variable 2) soit utiliser l’hypothese de Boussinesq Dans ce cas, on considere la masse volumique constante (egale a rho_0) sauf dans le terme des forces de gravite. Sous ces hypotheses, on utilise la forme suivante des equations de Navier_Stokes: DU/dt = div(terme visqueux) - gradP/rho_0 + Bt(T - T0)g + autres sources/rho_0 div U = 0 avec DU/dt : derivee particulaire de la vitesse rho_0 : masse volumique de reference T0 : temperature de reference Bt : coefficient de dilatabilite du fluide g : vecteur gravite Rq : l’implementation de la classe permet bien sur de negliger certains termes de l’equation (le terme visqueux, le terme convectif, tel ou tel terme source). L’inconnue est le champ de vitesse. Pour le traitement des cas un peu particulier : ajout de Traitement_particulier exemple : THI, canal (CA)
Inherits from#
public : Navier_Stokes_std
List of Public Static Methods#
List of Public Methods#
List of Protected Methods#
Complete Member Function Documentation#
Objet_U * Navier_Stokes_phase_field::cree_instance()
How to cite in this doc:
:ref:`Objet_U * Navier_Stokes_phase_field::cree_instance() <public-static-objet-u-ptr-navier-stokes-phase-field-cree-instance>`
[Objet_U * Navier_Stokes_phase_field::cree_instance()](#public-static-objet-u-ptr-navier-stokes-phase-field-cree-instance)
const Type_info * Navier_Stokes_phase_field::info()
How to cite in this doc:
:ref:`const Type_info * Navier_Stokes_phase_field::info() <public-static-const-type-info-ptr-navier-stokes-phase-field-info>`
[const Type_info * Navier_Stokes_phase_field::info()](#public-static-const-type-info-ptr-navier-stokes-phase-field-info)
const Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(const Objet_U &) <public-static-const-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-const-objet-u-ref>`
[const Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(const Objet_U &)](#public-static-const-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-const-objet-u-ref)
Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(Objet_U &) <public-static-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-objet-u-ref>`
[Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(Objet_U &)](#public-static-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-objet-u-ref)
void Navier_Stokes_phase_field::calculer_mu(const bool init=false)
References
Referenced By
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::calculer_mu(const bool init=false) <public-void-navier-stokes-phase-field-calculer-mu-const-bool-init-equal-false>`
[void Navier_Stokes_phase_field::calculer_mu(const bool init=false)](#public-void-navier-stokes-phase-field-calculer-mu-const-bool-init-equal-false)
double Navier_Stokes_phase_field::calculer_pas_de_temps() const override
Calcul du prochain pas de temps.
Renvoie l’inverse de la somme des inverses des pas de temps calcules par les operateurs. Ces pas de temps sont ceux pour le schema d’Euler explicite. Le pas de temps n’est pas majore par dt_max, ceci est fait dans corriger_dt_calcule
Reimplements:
References
How to cite in this doc:
:ref:`double Navier_Stokes_phase_field::calculer_pas_de_temps() const override <public-double-navier-stokes-phase-field-calculer-pas-de-temps-const-override>`
[double Navier_Stokes_phase_field::calculer_pas_de_temps() const override](#public-double-navier-stokes-phase-field-calculer-pas-de-temps-const-override)
void Navier_Stokes_phase_field::calculer_rho(const bool init=false)
Calcule rho_n + 1 pour utilisation dans la pression.
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::calculer_rho(const bool init=false) <public-void-navier-stokes-phase-field-calculer-rho-const-bool-init-equal-false>`
[void Navier_Stokes_phase_field::calculer_rho(const bool init=false)](#public-void-navier-stokes-phase-field-calculer-rho-const-bool-init-equal-false)
void Navier_Stokes_phase_field::completer() override
Complete l’equation base, associe la pression a l’equation,.
complete la divergence, le gradient et le solveur pression. Ajout de 2 termes sources: l’un representant la force centrifuge dans le cas axi - symetrique,l’autre intervenant dans la resolution en 2D axisymetrique Association d une equation de transport d interface a l ensemble de points suivis si le fluide est marque
Reimplements:
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::completer() override <public-void-navier-stokes-phase-field-completer-override>`
[void Navier_Stokes_phase_field::completer() override](#public-void-navier-stokes-phase-field-completer-override)
void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override
Reimplements:
References
Referenced By
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override <public-void-navier-stokes-phase-field-creer-champ-const-motcle-ref-motlu-override>`
[void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override](#public-void-navier-stokes-phase-field-creer-champ-const-motcle-ref-motlu-override)
DoubleTab & Navier_Stokes_phase_field::derivee_en_temps_inco(DoubleTab &) override
Returns the time derivative of the unknown I of the equation: dI/dt = M - 1*(sum(operators(I) + sources))
In : derivee contains I (but immediatly set to 0) Out: derivee contains dI/dt
Reimplements:
References
How to cite in this doc:
:ref:`DoubleTab & Navier_Stokes_phase_field::derivee_en_temps_inco(DoubleTab &) override <public-doubletab-ref-navier-stokes-phase-field-derivee-en-temps-inco-doubletab-ref-override>`
[DoubleTab & Navier_Stokes_phase_field::derivee_en_temps_inco(DoubleTab &) override](#public-doubletab-ref-navier-stokes-phase-field-derivee-en-temps-inco-doubletab-ref-override)
const Champ_Don_base & Navier_Stokes_phase_field::diffusivite_pour_transport() const override
Reimplements:
References
Referenced By
How to cite in this doc:
:ref:`const Champ_Don_base & Navier_Stokes_phase_field::diffusivite_pour_transport() const override <public-const-champ-don-base-ref-navier-stokes-phase-field-diffusivite-pour-transport-const-override>`
[const Champ_Don_base & Navier_Stokes_phase_field::diffusivite_pour_transport() const override](#public-const-champ-don-base-ref-navier-stokes-phase-field-diffusivite-pour-transport-const-override)
void Navier_Stokes_phase_field::discretiser() override
Dicretise l’equation.
Reimplements:
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::discretiser() override <public-void-navier-stokes-phase-field-discretiser-override>`
[void Navier_Stokes_phase_field::discretiser() override](#public-void-navier-stokes-phase-field-discretiser-override)
const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const
References
Referenced By
How to cite in this doc:
:ref:`const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const <public-const-champ-don-base-ref-navier-stokes-phase-field-drhodc-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const](#public-const-champ-don-base-ref-navier-stokes-phase-field-drhodc-const)
int Navier_Stokes_phase_field::duplique() const override
Reimplements:
How to cite in this doc:
:ref:`int Navier_Stokes_phase_field::duplique() const override <public-int-navier-stokes-phase-field-duplique-const-override>`
[int Navier_Stokes_phase_field::duplique() const override](#public-int-navier-stokes-phase-field-duplique-const-override)
int & Navier_Stokes_phase_field::get_boussi_()
References
Referenced By
How to cite in this doc:
:ref:`int & Navier_Stokes_phase_field::get_boussi_() <public-int-ref-navier-stokes-phase-field-get-boussi-underscore>`
[int & Navier_Stokes_phase_field::get_boussi_()](#public-int-ref-navier-stokes-phase-field-get-boussi-underscore)
int & Navier_Stokes_phase_field::get_diff_boussi_()
References
Referenced By
How to cite in this doc:
:ref:`int & Navier_Stokes_phase_field::get_diff_boussi_() <public-int-ref-navier-stokes-phase-field-get-diff-boussi-underscore>`
[int & Navier_Stokes_phase_field::get_diff_boussi_()](#public-int-ref-navier-stokes-phase-field-get-diff-boussi-underscore)
DoubleVect & Navier_Stokes_phase_field::get_g_()
References
How to cite in this doc:
:ref:`DoubleVect & Navier_Stokes_phase_field::get_g_() <public-doublevect-ref-navier-stokes-phase-field-get-g-underscore>`
[DoubleVect & Navier_Stokes_phase_field::get_g_()](#public-doublevect-ref-navier-stokes-phase-field-get-g-underscore)
const DoubleVect & Navier_Stokes_phase_field::get_g_() const
References
How to cite in this doc:
:ref:`const DoubleVect & Navier_Stokes_phase_field::get_g_() const <public-const-doublevect-ref-navier-stokes-phase-field-get-g-underscore-const>`
[const DoubleVect & Navier_Stokes_phase_field::get_g_() const](#public-const-doublevect-ref-navier-stokes-phase-field-get-g-underscore-const)
const Type_info * Navier_Stokes_phase_field::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Reimplements:
How to cite in this doc:
:ref:`const Type_info * Navier_Stokes_phase_field::get_info() const override <public-const-type-info-ptr-navier-stokes-phase-field-get-info-const-override>`
[const Type_info * Navier_Stokes_phase_field::get_info() const override](#public-const-type-info-ptr-navier-stokes-phase-field-get-info-const-override)
int & Navier_Stokes_phase_field::getset_compressible_()
References
Referenced By
How to cite in this doc:
:ref:`int & Navier_Stokes_phase_field::getset_compressible_() <public-int-ref-navier-stokes-phase-field-getset-compressible-underscore>`
[int & Navier_Stokes_phase_field::getset_compressible_()](#public-int-ref-navier-stokes-phase-field-getset-compressible-underscore)
int & Navier_Stokes_phase_field::getset_terme_source_()
References
How to cite in this doc:
:ref:`int & Navier_Stokes_phase_field::getset_terme_source_() <public-int-ref-navier-stokes-phase-field-getset-terme-source-underscore>`
[int & Navier_Stokes_phase_field::getset_terme_source_()](#public-int-ref-navier-stokes-phase-field-getset-terme-source-underscore)
int Navier_Stokes_phase_field::lire_motcle_non_standard(const Motcle &, Entree &) override
Lecture des parametres de type non simple d’un objet_U a partir d’un flot d’entree.
Reimplements:
References
How to cite in this doc:
:ref:`int Navier_Stokes_phase_field::lire_motcle_non_standard(const Motcle &, Entree &) override <public-int-navier-stokes-phase-field-lire-motcle-non-standard-const-motcle-ref-entree-ref-override>`
[int Navier_Stokes_phase_field::lire_motcle_non_standard(const Motcle &, Entree &) override](#public-int-navier-stokes-phase-field-lire-motcle-non-standard-const-motcle-ref-entree-ref-override)
void Navier_Stokes_phase_field::mettre_a_jour(double) override
Effectue une mise a jour en temps de l’equation.
Appelle Equation_base::mettre_a_jour(double) et met a jour la pression. Integration des points suivis si le fluide est marque Mise a jour du champ postraitable correspondant
Reimplements:
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::mettre_a_jour(double) override <public-void-navier-stokes-phase-field-mettre-a-jour-double-override>`
[void Navier_Stokes_phase_field::mettre_a_jour(double) override](#public-void-navier-stokes-phase-field-mettre-a-jour-double-override)
Champ_Don_base & Navier_Stokes_phase_field::mu()
References
How to cite in this doc:
:ref:`Champ_Don_base & Navier_Stokes_phase_field::mu() <public-champ-don-base-ref-navier-stokes-phase-field-mu>`
[Champ_Don_base & Navier_Stokes_phase_field::mu()](#public-champ-don-base-ref-navier-stokes-phase-field-mu)
const Champ_Don_base & Navier_Stokes_phase_field::mu() const
References
How to cite in this doc:
:ref:`const Champ_Don_base & Navier_Stokes_phase_field::mu() const <public-const-champ-don-base-ref-navier-stokes-phase-field-mu-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::mu() const](#public-const-champ-don-base-ref-navier-stokes-phase-field-mu-const)
Navier_Stokes_phase_field::Navier_Stokes_phase_field()
References
How to cite in this doc:
:ref:`Navier_Stokes_phase_field::Navier_Stokes_phase_field() <public-navier-stokes-phase-field-navier-stokes-phase-field>`
[Navier_Stokes_phase_field::Navier_Stokes_phase_field()](#public-navier-stokes-phase-field-navier-stokes-phase-field)
int Navier_Stokes_phase_field::preparer_calcul() override
Dicretise l’equation.
Reimplements:
References
How to cite in this doc:
:ref:`int Navier_Stokes_phase_field::preparer_calcul() override <public-int-navier-stokes-phase-field-preparer-calcul-override>`
[int Navier_Stokes_phase_field::preparer_calcul() override](#public-int-navier-stokes-phase-field-preparer-calcul-override)
const Champ_Don_base & Navier_Stokes_phase_field::rho() const
References
Referenced By
How to cite in this doc:
:ref:`const Champ_Don_base & Navier_Stokes_phase_field::rho() const <public-const-champ-don-base-ref-navier-stokes-phase-field-rho-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::rho() const](#public-const-champ-don-base-ref-navier-stokes-phase-field-rho-const)
const double & Navier_Stokes_phase_field::rho0() const
References
Referenced By
How to cite in this doc:
:ref:`const double & Navier_Stokes_phase_field::rho0() const <public-const-double-ref-navier-stokes-phase-field-rho0-const>`
[const double & Navier_Stokes_phase_field::rho0() const](#public-const-double-ref-navier-stokes-phase-field-rho0-const)
void Navier_Stokes_phase_field::rho_aux_faces(const DoubleTab &, Champ_Don_base &)
Interpole la masse volumique aux faces (pour l’assembleur pression en particulier)
References
Referenced By
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::rho_aux_faces(const DoubleTab &, Champ_Don_base &) <public-void-navier-stokes-phase-field-rho-aux-faces-const-doubletab-ref-champ-don-base-ref>`
[void Navier_Stokes_phase_field::rho_aux_faces(const DoubleTab &, Champ_Don_base &)](#public-void-navier-stokes-phase-field-rho-aux-faces-const-doubletab-ref-champ-don-base-ref)
void Navier_Stokes_phase_field::set_param(Param &titi) override
Reimplements:
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::set_param(Param &titi) override <public-void-navier-stokes-phase-field-set-param-param-ref-titi-override>`
[void Navier_Stokes_phase_field::set_param(Param &titi) override](#public-void-navier-stokes-phase-field-set-param-param-ref-titi-override)
unsigned Navier_Stokes_phase_field::taille_memoire() const override
Reimplements:
How to cite in this doc:
:ref:`unsigned Navier_Stokes_phase_field::taille_memoire() const override <public-unsigned-navier-stokes-phase-field-taille-memoire-const-override>`
[unsigned Navier_Stokes_phase_field::taille_memoire() const override](#public-unsigned-navier-stokes-phase-field-taille-memoire-const-override)
Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override
How to cite in this doc:
:ref:`Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override <public-navier-stokes-phase-field-dtor-navier-stokes-phase-field-override>`
[Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override](#public-navier-stokes-phase-field-dtor-navier-stokes-phase-field-override)
void Navier_Stokes_phase_field::_aff_donnee_P0(const DoubleTab &, const Motcle &) const
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::_aff_donnee_P0(const DoubleTab &, const Motcle &) const <protected-void-navier-stokes-phase-field-aff-donnee-p0-const-doubletab-ref-const-motcle-ref-const>`
[void Navier_Stokes_phase_field::_aff_donnee_P0(const DoubleTab &, const Motcle &) const](#protected-void-navier-stokes-phase-field-aff-donnee-p0-const-doubletab-ref-const-motcle-ref-const)
void Navier_Stokes_phase_field::_aff_donnee_P1(const DoubleTab &, const Motcle &) const
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::_aff_donnee_P1(const DoubleTab &, const Motcle &) const <protected-void-navier-stokes-phase-field-aff-donnee-p1-const-doubletab-ref-const-motcle-ref-const>`
[void Navier_Stokes_phase_field::_aff_donnee_P1(const DoubleTab &, const Motcle &) const](#protected-void-navier-stokes-phase-field-aff-donnee-p1-const-doubletab-ref-const-motcle-ref-const)
void Navier_Stokes_phase_field::_aff_donnee_P1Bulle(const DoubleTab &, const Motcle &) const
References
How to cite in this doc:
:ref:`void Navier_Stokes_phase_field::_aff_donnee_P1Bulle(const DoubleTab &, const Motcle &) const <protected-void-navier-stokes-phase-field-aff-donnee-p1bulle-const-doubletab-ref-const-motcle-ref-const>`
[void Navier_Stokes_phase_field::_aff_donnee_P1Bulle(const DoubleTab &, const Motcle &) const](#protected-void-navier-stokes-phase-field-aff-donnee-p1bulle-const-doubletab-ref-const-motcle-ref-const)
Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override
Simple appel a: Navier_Stokes_std::printOn(Sortie&) Ecrit l’equation sur un flot de sortie.
Reimplements:
References
How to cite in this doc:
:ref:`Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override <protected-sortie-ref-navier-stokes-phase-field-printon-sortie-ref-x-const-override>`
[Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override](#protected-sortie-ref-navier-stokes-phase-field-printon-sortie-ref-x-const-override)
Entree & Navier_Stokes_phase_field::readOn(Entree &) override
Appel Navier_Stokes_phase_field::readOn(Entree& is) En sortie verifie que l’on a bien lu:
le terme diffusif, - le terme convectif, - le solveur en pression
Reimplements:
References
How to cite in this doc:
:ref:`Entree & Navier_Stokes_phase_field::readOn(Entree &) override <protected-entree-ref-navier-stokes-phase-field-readon-entree-ref-override>`
[Entree & Navier_Stokes_phase_field::readOn(Entree &) override](#protected-entree-ref-navier-stokes-phase-field-readon-entree-ref-override)
Attributes Documentation#
const Type_info Navier_Stokes_phase_field::info_obj
TRUST_Ref<Champ_Don_base *> Navier_Stokes_phase_field::betac_
int Navier_Stokes_phase_field::boussi_
int Navier_Stokes_phase_field::compressible_
int Navier_Stokes_phase_field::diff_boussi_
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::drhodc_
DoubleVect Navier_Stokes_phase_field::g_
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::mu_
double Navier_Stokes_phase_field::rho0_
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::rho_
int Navier_Stokes_phase_field::terme_source_