Skip to main content
Ctrl+K
TrioCFD  documentation - Home
  • TrioCFD Documentation
  • Quick Start

TrioCFD User Guide

  • How to write a data file
    • HOW TO DEFINE MESHING ?
    • HOW TO DEFINE PRESSURE SOLVER ?
    • HOW TO DEFINE BOUNDARY CONDITIONS ?
    • HOW TO DEFINE INITIAL CONDITIONS ?
    • HOW TO VISUALISE RESULTS ?
    • HOW TO DEFINE A STATIONNARY TEST-CASE ?
    • HOW TO DEFINE A STATIONNARY TEST-CASE WITH THERMAL EFFECTS ?
    • HOW TO DEFINE AN UNSTEADY TEST-CASE ?
    • HOW TO DEFINE TIME SCHEMES FOR RANS k-epsilon MODELLING ?
    • HOW TO DEFINE CONVECTION SCHEMES FOR RANS k-epsilon MODELLING ?
    • WHAT ARE CONVECTION SCHEMES AVAILABLE ?
    • WHAT ARE k-EPSILON MODELS AVAILABLE ?
    • WHAT ARE DIFFERENCES BETWEEN VDF MESH OPTIONS ?
  • Physical Models
    • Turbulence modeling
      • Turbulence bibliography
      • Large-eddy simulation
      • Reynolds-averaged Navier-Stokes modeling
      • Wall functions
      • Best practices about turbulent modeling
    • Multiphase CFD
      • Multiphase turbulence RANS modeling
      • Fluid proprieties
      • Interfacial forces models
      • Dispersed phase size modeling
      • Thermal modeling
      • Other types of models
      • Homogeneous Mixture model
      • Post-processing
      • Best practices for multiphase RANS modeling
  • Numerical methods in TrioCFD
  • Keywords Reference Manual
    • Objet_u

TrioCFD Tutorials

  • Tutorials
    • Backward facing step
    • Channel flow
    • Pipe flow

Developer Corner

  • Developper tutorials
    • Setup your development environment
    • Test your code !
      • Non regression tests
      • Validation reports: Jupyter Notebooks
    • Writing documentation
      • XDATA
    • Code syntax guidelines
    • Git Tutorial
      • Manage branches
      • Commit
      • Rebase
      • Quick reference
  • FAQ
  • C++ API (Doxygen)
    • Doxygen Documentation
      • Classes
      • Templates
      • Namespaces
      • Enums

Navigation

  • Bibliography
  • Index
  • Search Page
  • Repository
  • Open issue
  • .rst

Navier_Stokes_phase_field

Contents

  • How to reference this class
  • Detailed description
  • Inherits from
  • Inheritance graph
  • List of Public Static Methods
  • List of Public Methods
  • List of Protected Methods
  • Complete Member Function Documentation
    • cree_instance
    • info
    • self_cast
    • self_cast
    • calculer_mu
    • calculer_pas_de_temps
    • calculer_rho
    • completer
    • creer_champ
    • derivee_en_temps_inco
    • diffusivite_pour_transport
    • discretiser
    • drhodc
    • duplique
    • get_boussi_
    • get_diff_boussi_
    • get_g_
    • get_g_
    • get_info
    • getset_compressible_
    • getset_terme_source_
    • lire_motcle_non_standard
    • mettre_a_jour
    • mu
    • mu
    • Navier_Stokes_phase_field
    • preparer_calcul
    • rho
    • rho0
    • rho_aux_faces
    • set_param
    • taille_memoire
    • ~Navier_Stokes_phase_field
    • _aff_donnee_P0
    • _aff_donnee_P1
    • _aff_donnee_P1Bulle
    • printOn
    • readOn
  • Attributes Documentation

Navier_Stokes_phase_field#

#include <Navier_Stokes_phase_field.h>
Brief description

classe Navier_Stokes_phase_field Cette classe porte les termes de l’equation de la dynamique

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

: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

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classNavier__Stokes__phase__field__inherit__graph.png

List of Public Static Methods#

  • cree_instance

  • info

  • self_cast

  • self_cast

List of Public Methods#

  • calculer_mu

  • calculer_pas_de_temps

  • calculer_rho

  • completer

  • creer_champ

  • derivee_en_temps_inco

  • diffusivite_pour_transport

  • discretiser

  • drhodc

  • duplique

  • get_boussi_

  • get_diff_boussi_

  • get_g_

  • get_g_

  • get_info

  • getset_compressible_

  • getset_terme_source_

  • lire_motcle_non_standard

  • mettre_a_jour

  • mu

  • mu

  • Navier_Stokes_phase_field

  • preparer_calcul

  • rho

  • rho0

  • rho_aux_faces

  • set_param

  • taille_memoire

  • ~Navier_Stokes_phase_field

List of Protected Methods#

  • _aff_donnee_P0

  • _aff_donnee_P1

  • _aff_donnee_P1Bulle

  • printOn

  • readOn

Complete Member Function Documentation#

cree_instance#

Definition
Objet_U * Navier_Stokes_phase_field::cree_instance()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Objet_U * Navier_Stokes_phase_field::cree_instance() <navier-stokes-phase-field-public-static-objet-u-ptr-navier-stokes-phase-field-cree-instance>`
[Objet_U * Navier_Stokes_phase_field::cree_instance()](#navier-stokes-phase-field-public-static-objet-u-ptr-navier-stokes-phase-field-cree-instance)

info#

Definition
const Type_info * Navier_Stokes_phase_field::info()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Navier_Stokes_phase_field::info() <navier-stokes-phase-field-public-static-const-type-info-ptr-navier-stokes-phase-field-info>`
[const Type_info * Navier_Stokes_phase_field::info()](#navier-stokes-phase-field-public-static-const-type-info-ptr-navier-stokes-phase-field-info)

self_cast#

Definition
const Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(const Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(const Objet_U &) <navier-stokes-phase-field-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 &)](#navier-stokes-phase-field-public-static-const-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-const-objet-u-ref)

self_cast#

Definition
Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Navier_Stokes_phase_field & Navier_Stokes_phase_field::self_cast(Objet_U &) <navier-stokes-phase-field-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 &)](#navier-stokes-phase-field-public-static-navier-stokes-phase-field-ref-navier-stokes-phase-field-self-cast-objet-u-ref)

calculer_mu#

Definition
void Navier_Stokes_phase_field::calculer_mu(const bool init=false)
Brief description
Detailed description
References
  • boussi_

  • Source_Con_Phase_field_base::calculer_champ_fonc_c

  • diff_boussi_

  • TRUSTVect<_TYPE_, _SIZE_>::echange_espace_virtuel

  • Champ_Inc_base::futur

  • Convection_Diffusion_Concentration::inconnue

  • Equation_base::mon_probleme

  • mu_

  • Equation_base::schema_temps

  • Equation_base::sources

  • Schema_Temps_base::temps_courant

  • Schema_Temps_base::temps_futur

  • Champ_Don_base::valeurs

Referenced By
  • mettre_a_jour

  • preparer_calcul

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::calculer_mu(const bool init=false) <navier-stokes-phase-field-public-void-navier-stokes-phase-field-calculer-mu-const-bool-init-equal-false>`
[void Navier_Stokes_phase_field::calculer_mu(const bool init=false)](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-calculer-mu-const-bool-init-equal-false)

calculer_pas_de_temps#

Definition
double Navier_Stokes_phase_field::calculer_pas_de_temps() const override
Brief description

Calcul du prochain pas de temps.

Detailed description

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:

  • calculer_pas_de_temps

References
  • Operateur::calculer_pas_de_temps

  • Statistiques::last_time

  • Equation_base::le_schema_en_temps

  • Schema_Temps_base::nb_pas_dt

  • Equation_base::probleme

  • rho

  • Equation_base::schema_temps

  • Schema_Temps_base::temps_courant

  • Schema_Temps_base::temps_init

  • Schema_Temps_base::temps_max

  • Navier_Stokes_std::terme_convectif

  • Navier_Stokes_std::terme_diffusif

  • Champ_Don_base::valeurs

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Navier_Stokes_phase_field::calculer_pas_de_temps() const override <navier-stokes-phase-field-public-double-navier-stokes-phase-field-calculer-pas-de-temps-const-override>`
[double Navier_Stokes_phase_field::calculer_pas_de_temps() const override](#navier-stokes-phase-field-public-double-navier-stokes-phase-field-calculer-pas-de-temps-const-override)

calculer_rho#

Definition
void Navier_Stokes_phase_field::calculer_rho(const bool init=false)
Brief description

Calcule rho_n + 1 pour utilisation dans la pression.

Detailed description
References
  • betac_

  • boussi_

  • Source_Con_Phase_field_base::calculer_champ_fonc_c

  • TRUSTTab<_TYPE_, _SIZE_>::dimension

  • drhodc_

  • TRUSTVect<_TYPE_, _SIZE_>::echange_espace_virtuel

  • Champ_Inc_base::futur

  • Source_Con_Phase_field::get_type_systeme_naire

  • Convection_Diffusion_Concentration::inconnue

  • Navier_Stokes_std::le_fluide

  • TRUSTVect<_TYPE_, _SIZE_>::line_size

  • Equation_base::mon_probleme

  • rho0_

  • rho_

  • Equation_base::schema_temps

  • Equation_base::sources

  • Schema_Temps_base::temps_courant

  • Schema_Temps_base::temps_futur

  • Champ_Don_base::valeurs

Referenced By
  • Schema_Phase_field::faire_un_pas_de_temps_eqn_base

  • mettre_a_jour

  • preparer_calcul

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::calculer_rho(const bool init=false) <navier-stokes-phase-field-public-void-navier-stokes-phase-field-calculer-rho-const-bool-init-equal-false>`
[void Navier_Stokes_phase_field::calculer_rho(const bool init=false)](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-calculer-rho-const-bool-init-equal-false)

completer#

Definition
void Navier_Stokes_phase_field::completer() override
Brief description

Complete l’equation base, associe la pression a l’equation,.

Detailed description

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:

  • completer

References
  • betac_

  • Navier_Stokes_std::completer

  • creer_champ

  • Navier_Stokes_std::le_fluide

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::completer() override <navier-stokes-phase-field-public-void-navier-stokes-phase-field-completer-override>`
[void Navier_Stokes_phase_field::completer() override](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-completer-override)

creer_champ#

Definition
void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override
Brief description
Detailed description

Reimplements:

  • creer_champ

References
  • Champs_compris_T<FIELD_TYPE>::ajoute_champ

  • boussi_

  • Equation_base::champs_compris_

  • Navier_Stokes_std::creer_champ

  • Equation_base::discretisation

  • Discretisation_base::discretiser_champ

  • Equation_base::domaine_dis

  • drhodc_

  • Process::exit

  • Navier_Stokes_std::le_fluide

  • Objet_U_ptr::le_nom

  • Discretisation_base::nommer_completer_champ_physique

  • Objet_U_ptr::non_nul

  • Equation_base::probleme

  • rho_

Referenced By
  • completer

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override <navier-stokes-phase-field-public-void-navier-stokes-phase-field-creer-champ-const-motcle-ref-motlu-override>`
[void Navier_Stokes_phase_field::creer_champ(const Motcle &motlu) override](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-creer-champ-const-motcle-ref-motlu-override)

derivee_en_temps_inco#

Definition
DoubleTab & Navier_Stokes_phase_field::derivee_en_temps_inco(DoubleTab &) override
Brief description

Returns the time derivative of the unknown I of the equation: dI/dt = M - 1*(sum(operators(I) + sources))

Detailed description

In : derivee contains I (but immediatly set to 0) Out: derivee contains dI/dt

Reimplements:

  • derivee_en_temps_inco

References
  • Operateur_Conv::ajouter

  • Operateur_Diff::ajouter

  • Operateur_Div::ajouter

  • Sources::ajouter

  • Solveur_Masse_base::appliquer

  • Assembleur_base::assembler_rho_variable

  • Navier_Stokes_std::assembleur_pression_

  • boussi_

  • Equation_base::calculate_time_derivative

  • Operateur_Div::calculer

  • Operateur_Grad::calculer

  • Equation_base::derivee_en_temps

  • Navier_Stokes_std::derivee_en_temps_inco

  • diff_boussi_

  • Objet_U::dimension

  • Navier_Stokes_std::divergence

  • Equation_base::domaine_dis

  • TRUSTVect<_TYPE_, _SIZE_>::echange_espace_virtuel

  • Domaine_VF::face_voisins

  • Navier_Stokes_std::gradient

  • Navier_Stokes_std::inconnue

  • Navier_Stokes_std::la_pression

  • Navier_Stokes_std::la_vitesse

  • Equation_base::le_dom_dis

  • Equation_base::le_schema_en_temps

  • Equation_base::les_sources

  • TRUSTVect<_TYPE_, _SIZE_>::line_size

  • Navier_Stokes_std::matrice_pression_

  • Assembleur_base::modifier_secmem

  • Schema_Temps_base::modifier_second_membre

  • Assembleur_base::modifier_solution

  • Domaine_VF::nb_faces

  • Domaine_VF::premiere_face_int

  • SolveurSys::resoudre_systeme

  • rho0_

  • rho_

  • Equation_base::schema_temps

  • Equation_base::solveur_masse

  • Navier_Stokes_std::solveur_pression_

  • Navier_Stokes_std::terme_convectif

  • Navier_Stokes_std::terme_diffusif

  • TRUST_Deriv<_CLASSE_>::valeur

  • TRUST_Ref<_CLASSE_>::valeur

  • Champ_Don_base::valeurs

  • Champ_Inc_base::valeurs

  • Domaine_VF::volumes

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`DoubleTab & Navier_Stokes_phase_field::derivee_en_temps_inco(DoubleTab &) override <navier-stokes-phase-field-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](#navier-stokes-phase-field-public-doubletab-ref-navier-stokes-phase-field-derivee-en-temps-inco-doubletab-ref-override)

diffusivite_pour_transport#

Definition
const Champ_Don_base & Navier_Stokes_phase_field::diffusivite_pour_transport() const override
Brief description
Detailed description

Reimplements:

  • diffusivite_pour_transport

References
  • boussi_

  • diff_boussi_

  • diffusivite_pour_transport

  • Process::exit

  • Navier_Stokes_std::le_fluide

  • mu_

Referenced By
  • diffusivite_pour_transport

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Champ_Don_base & Navier_Stokes_phase_field::diffusivite_pour_transport() const override <navier-stokes-phase-field-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](#navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-diffusivite-pour-transport-const-override)

discretiser#

Definition
void Navier_Stokes_phase_field::discretiser() override
Brief description

Dicretise l’equation.

Detailed description

Reimplements:

  • discretiser

References
  • Navier_Stokes_std::assembleur_pression_

  • Assembleur_base::associer_domaine_dis_base

  • Navier_Stokes_std::discretiser

  • Equation_base::domaine_dis

  • Process::exit

  • Navier_Stokes_std::le_fluide

  • TRUSTTab<_TYPE_, _SIZE_>::nb_dim

  • rho0_

  • Assembleur_base::set_resoudre_increment_pression

  • Objet_U_ptr::typer

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::discretiser() override <navier-stokes-phase-field-public-void-navier-stokes-phase-field-discretiser-override>`
[void Navier_Stokes_phase_field::discretiser() override](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-discretiser-override)

drhodc#

Definition
const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const
Brief description
Detailed description
References
  • drhodc_

Referenced By
  • Source_Con_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const <navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-drhodc-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::drhodc() const](#navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-drhodc-const)

duplique#

Definition
int Navier_Stokes_phase_field::duplique() const override
Brief description
Detailed description

Reimplements:

  • duplique

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Navier_Stokes_phase_field::duplique() const override <navier-stokes-phase-field-public-int-navier-stokes-phase-field-duplique-const-override>`
[int Navier_Stokes_phase_field::duplique() const override](#navier-stokes-phase-field-public-int-navier-stokes-phase-field-duplique-const-override)

get_boussi_#

Definition
int & Navier_Stokes_phase_field::get_boussi_()
Brief description
Detailed description
References
  • boussi_

Referenced By
  • Source_Gravite_PF_VDF::ajouter

  • Source_Con_Phase_field::associer_pb

  • Source_Qdm_VDF_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int & Navier_Stokes_phase_field::get_boussi_() <navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-get-boussi-underscore>`
[int & Navier_Stokes_phase_field::get_boussi_()](#navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-get-boussi-underscore)

get_diff_boussi_#

Definition
int & Navier_Stokes_phase_field::get_diff_boussi_()
Brief description
Detailed description
References
  • diff_boussi_

Referenced By
  • Source_Con_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int & Navier_Stokes_phase_field::get_diff_boussi_() <navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-get-diff-boussi-underscore>`
[int & Navier_Stokes_phase_field::get_diff_boussi_()](#navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-get-diff-boussi-underscore)

get_g_#

Definition
DoubleVect & Navier_Stokes_phase_field::get_g_()
Brief description
Detailed description
References
  • g_

Referenced By
  • Source_Gravite_PF_VDF::ajouter

  • Source_Con_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`DoubleVect & Navier_Stokes_phase_field::get_g_() <navier-stokes-phase-field-public-doublevect-ref-navier-stokes-phase-field-get-g-underscore>`
[DoubleVect & Navier_Stokes_phase_field::get_g_()](#navier-stokes-phase-field-public-doublevect-ref-navier-stokes-phase-field-get-g-underscore)

get_g_#

Definition
const DoubleVect & Navier_Stokes_phase_field::get_g_() const
Brief description
Detailed description
References
  • g_

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleVect & Navier_Stokes_phase_field::get_g_() const <navier-stokes-phase-field-public-const-doublevect-ref-navier-stokes-phase-field-get-g-underscore-const>`
[const DoubleVect & Navier_Stokes_phase_field::get_g_() const](#navier-stokes-phase-field-public-const-doublevect-ref-navier-stokes-phase-field-get-g-underscore-const)

get_info#

Definition
const Type_info * Navier_Stokes_phase_field::get_info() const override
Brief description

Donne des informations sur le type de l’ Objet_U .

Detailed description

Reimplements:

  • get_info

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Navier_Stokes_phase_field::get_info() const override <navier-stokes-phase-field-public-const-type-info-ptr-navier-stokes-phase-field-get-info-const-override>`
[const Type_info * Navier_Stokes_phase_field::get_info() const override](#navier-stokes-phase-field-public-const-type-info-ptr-navier-stokes-phase-field-get-info-const-override)

getset_compressible_#

Definition
int & Navier_Stokes_phase_field::getset_compressible_()
Brief description
Detailed description
References
  • compressible_

Referenced By
  • Source_Qdm_VDF_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int & Navier_Stokes_phase_field::getset_compressible_() <navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-getset-compressible-underscore>`
[int & Navier_Stokes_phase_field::getset_compressible_()](#navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-getset-compressible-underscore)

getset_terme_source_#

Definition
int & Navier_Stokes_phase_field::getset_terme_source_()
Brief description
Detailed description
References
  • terme_source_

Referenced By
  • Source_Con_Phase_field::associer_pb

  • Source_Qdm_VDF_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int & Navier_Stokes_phase_field::getset_terme_source_() <navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-getset-terme-source-underscore>`
[int & Navier_Stokes_phase_field::getset_terme_source_()](#navier-stokes-phase-field-public-int-ref-navier-stokes-phase-field-getset-terme-source-underscore)

lire_motcle_non_standard#

Definition
int Navier_Stokes_phase_field::lire_motcle_non_standard(const Motcle &, Entree &) override
Brief description

Lecture des parametres de type non simple d’un objet_U a partir d’un flot d’entree.

Detailed description

Reimplements:

  • lire_motcle_non_standard

References
  • Champs_compris_T<FIELD_TYPE>::ajoute_champ

  • boussi_

  • Equation_base::champs_compris_

  • diff_boussi_

  • Equation_base::discretisation

  • Equation_base::domaine_dis

  • drhodc_

  • Process::exit

  • Navier_Stokes_std::le_fluide

  • Navier_Stokes_std::lire_motcle_non_standard

  • mu_

  • Discretisation_base::nommer_completer_champ_physique

  • Equation_base::probleme

  • rho_

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Navier_Stokes_phase_field::lire_motcle_non_standard(const Motcle &, Entree &) override <navier-stokes-phase-field-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](#navier-stokes-phase-field-public-int-navier-stokes-phase-field-lire-motcle-non-standard-const-motcle-ref-entree-ref-override)

mettre_a_jour#

Definition
void Navier_Stokes_phase_field::mettre_a_jour(double) override
Brief description

Effectue une mise a jour en temps de l’equation.

Detailed description

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:

  • mettre_a_jour

References
  • Assembleur_base::assembler

  • Assembleur_base::assembler_rho_variable

  • Navier_Stokes_std::assembleur_pression_

  • boussi_

  • calculer_mu

  • calculer_rho

  • Champ_base::changer_temps

  • drhodc_

  • Navier_Stokes_std::inconnue

  • Navier_Stokes_std::matrice_pression_

  • Navier_Stokes_std::mettre_a_jour

  • mu_

  • Objet_U_ptr::non_nul

  • rho_

  • rho_aux_faces

  • TRUST_Deriv<_CLASSE_>::valeur

  • Champ_Don_base::valeurs

  • Champ_Inc_base::valeurs

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::mettre_a_jour(double) override <navier-stokes-phase-field-public-void-navier-stokes-phase-field-mettre-a-jour-double-override>`
[void Navier_Stokes_phase_field::mettre_a_jour(double) override](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-mettre-a-jour-double-override)

mu#

Definition
Champ_Don_base & Navier_Stokes_phase_field::mu()
Brief description
Detailed description
References
  • mu_

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Champ_Don_base & Navier_Stokes_phase_field::mu() <navier-stokes-phase-field-public-champ-don-base-ref-navier-stokes-phase-field-mu>`
[Champ_Don_base & Navier_Stokes_phase_field::mu()](#navier-stokes-phase-field-public-champ-don-base-ref-navier-stokes-phase-field-mu)

mu#

Definition
const Champ_Don_base & Navier_Stokes_phase_field::mu() const
Brief description
Detailed description
References
  • mu_

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Champ_Don_base & Navier_Stokes_phase_field::mu() const <navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-mu-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::mu() const](#navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-mu-const)

Navier_Stokes_phase_field#

Definition
Navier_Stokes_phase_field::Navier_Stokes_phase_field()
Brief description
Detailed description
References
  • boussi_

  • diff_boussi_

  • g_

  • TRUSTVect<_TYPE_, _SIZE_>::resize

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Navier_Stokes_phase_field::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()](#navier-stokes-phase-field-public-navier-stokes-phase-field-navier-stokes-phase-field)

preparer_calcul#

Definition
int Navier_Stokes_phase_field::preparer_calcul() override
Brief description

Dicretise l’equation.

Detailed description

Reimplements:

  • preparer_calcul

References
  • Assembleur_base::assembler

  • Assembleur_base::assembler_rho_variable

  • Navier_Stokes_std::assembleur_pression_

  • boussi_

  • Operateur_Grad::calculer

  • Navier_Stokes_std::calculer_la_pression_en_pa

  • calculer_mu

  • calculer_rho

  • Champ_base::changer_temps

  • Champ_Inc_base::changer_temps

  • Navier_Stokes_std::divergence_U

  • drhodc_

  • TRUSTVect<_TYPE_, _SIZE_>::echange_espace_virtuel

  • Navier_Stokes_std::gradient

  • Navier_Stokes_std::gradient_P

  • Navier_Stokes_std::inconnue

  • Champ_Don_base::initialiser

  • Navier_Stokes_std::la_pression

  • Navier_Stokes_std::le_traitement_particulier

  • Navier_Stokes_std::matrice_pression_

  • mu_

  • Objet_U_ptr::non_nul

  • Equation_base::preparer_calcul

  • Traitement_particulier_NS_base::preparer_calcul_particulier

  • Navier_Stokes_std::projection_a_faire

  • Navier_Stokes_std::projeter

  • rho_

  • rho_aux_faces

  • Equation_base::schema_temps

  • TRUST_Deriv<_CLASSE_>::valeur

  • Champ_Don_base::valeurs

  • Champ_Inc_base::valeurs

  • Debog::verifier

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Navier_Stokes_phase_field::preparer_calcul() override <navier-stokes-phase-field-public-int-navier-stokes-phase-field-preparer-calcul-override>`
[int Navier_Stokes_phase_field::preparer_calcul() override](#navier-stokes-phase-field-public-int-navier-stokes-phase-field-preparer-calcul-override)

rho#

Definition
const Champ_Don_base & Navier_Stokes_phase_field::rho() const
Brief description
Detailed description
References
  • rho_

Referenced By
  • Source_Gravite_PF_VDF::ajouter

  • Source_Con_Phase_field::calculer_div_alpha_rho_gradC

  • calculer_pas_de_temps

  • Source_Qdm_VDF_Phase_field::methode_1

  • Source_Qdm_VDF_Phase_field::methode_2

  • Source_Qdm_VDF_Phase_field::methode_3

  • Source_Qdm_VDF_Phase_field::methode_4

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Champ_Don_base & Navier_Stokes_phase_field::rho() const <navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-rho-const>`
[const Champ_Don_base & Navier_Stokes_phase_field::rho() const](#navier-stokes-phase-field-public-const-champ-don-base-ref-navier-stokes-phase-field-rho-const)

rho0#

Definition
const double & Navier_Stokes_phase_field::rho0() const
Brief description
Detailed description
References
  • rho0_

Referenced By
  • Source_Gravite_PF_VDF::ajouter

  • Source_Con_Phase_field::associer_pb

  • Source_Qdm_VDF_Phase_field::associer_pb

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const double & Navier_Stokes_phase_field::rho0() const <navier-stokes-phase-field-public-const-double-ref-navier-stokes-phase-field-rho0-const>`
[const double & Navier_Stokes_phase_field::rho0() const](#navier-stokes-phase-field-public-const-double-ref-navier-stokes-phase-field-rho0-const)

rho_aux_faces#

Definition
void Navier_Stokes_phase_field::rho_aux_faces(const DoubleTab &, Champ_Don_base &)
Brief description

Interpole la masse volumique aux faces (pour l’assembleur pression en particulier)

Detailed description
References
  • Equation_base::domaine_dis

  • Domaine_VF::face_voisins

  • Domaine_VF::nb_faces

  • Domaine_VF::premiere_face_int

  • Champ_Don_base::valeurs

  • Domaine_VF::volumes

Referenced By
  • mettre_a_jour

  • preparer_calcul

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::rho_aux_faces(const DoubleTab &, Champ_Don_base &) <navier-stokes-phase-field-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 &)](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-rho-aux-faces-const-doubletab-ref-champ-don-base-ref)

set_param#

Definition
void Navier_Stokes_phase_field::set_param(Param &titi) override
Brief description
Detailed description

Reimplements:

  • set_param

References
  • Param::ajouter

  • Param::ajouter_non_std

  • g_

  • Param::OPTIONAL

  • Param::REQUIRED

  • Navier_Stokes_std::set_param

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::set_param(Param &titi) override <navier-stokes-phase-field-public-void-navier-stokes-phase-field-set-param-param-ref-titi-override>`
[void Navier_Stokes_phase_field::set_param(Param &titi) override](#navier-stokes-phase-field-public-void-navier-stokes-phase-field-set-param-param-ref-titi-override)

taille_memoire#

Definition
unsigned Navier_Stokes_phase_field::taille_memoire() const override
Brief description
Detailed description

Reimplements:

  • taille_memoire

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`unsigned Navier_Stokes_phase_field::taille_memoire() const override <navier-stokes-phase-field-public-unsigned-navier-stokes-phase-field-taille-memoire-const-override>`
[unsigned Navier_Stokes_phase_field::taille_memoire() const override](#navier-stokes-phase-field-public-unsigned-navier-stokes-phase-field-taille-memoire-const-override)

~Navier_Stokes_phase_field#

Definition
Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override <navier-stokes-phase-field-public-navier-stokes-phase-field-dtor-navier-stokes-phase-field-override>`
[Navier_Stokes_phase_field::~Navier_Stokes_phase_field() override](#navier-stokes-phase-field-public-navier-stokes-phase-field-dtor-navier-stokes-phase-field-override)

_aff_donnee_P0#

Definition
void Navier_Stokes_phase_field::_aff_donnee_P0(const DoubleTab &, const Motcle &) const
Brief description
Detailed description
References
  • Objet_U::dimension

  • Equation_base::domaine_dis

  • TRUSTTab<_TYPE_, _SIZE_>::nb_dim

  • Domaine_dis_base::nb_elem_tot

  • Domaine_VF::xp

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::_aff_donnee_P0(const DoubleTab &, const Motcle &) const <navier-stokes-phase-field-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](#navier-stokes-phase-field-protected-void-navier-stokes-phase-field-aff-donnee-p0-const-doubletab-ref-const-motcle-ref-const)

_aff_donnee_P1#

Definition
void Navier_Stokes_phase_field::_aff_donnee_P1(const DoubleTab &, const Motcle &) const
Brief description
Detailed description
References
  • Objet_U::dimension

  • Equation_base::domaine_dis

  • TRUSTTab<_TYPE_, _SIZE_>::nb_dim

  • Domaine_VF::nb_faces

  • Domaine_VF::xv

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::_aff_donnee_P1(const DoubleTab &, const Motcle &) const <navier-stokes-phase-field-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](#navier-stokes-phase-field-protected-void-navier-stokes-phase-field-aff-donnee-p1-const-doubletab-ref-const-motcle-ref-const)

_aff_donnee_P1Bulle#

Definition
void Navier_Stokes_phase_field::_aff_donnee_P1Bulle(const DoubleTab &, const Motcle &) const
Brief description
Detailed description
References
  • Domaine_32_64<_SIZE_>::coord_sommets

  • Objet_U::dimension

  • Domaine_dis_base::domaine

  • Equation_base::domaine_dis

  • TRUSTTab<_TYPE_, _SIZE_>::nb_dim

  • Domaine_dis_base::nb_elem_tot

  • Domaine_dis_base::nb_som

  • Domaine_VF::xp

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Navier_Stokes_phase_field::_aff_donnee_P1Bulle(const DoubleTab &, const Motcle &) const <navier-stokes-phase-field-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](#navier-stokes-phase-field-protected-void-navier-stokes-phase-field-aff-donnee-p1bulle-const-doubletab-ref-const-motcle-ref-const)

printOn#

Definition
Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override
Brief description

Simple appel a: Navier_Stokes_std::printOn(Sortie&) Ecrit l’equation sur un flot de sortie.

Detailed description

Reimplements:

  • printOn

References
  • Navier_Stokes_std::printOn

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override <navier-stokes-phase-field-protected-sortie-ref-navier-stokes-phase-field-printon-sortie-ref-x-const-override>`
[Sortie & Navier_Stokes_phase_field::printOn(Sortie &x) const override](#navier-stokes-phase-field-protected-sortie-ref-navier-stokes-phase-field-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & Navier_Stokes_phase_field::readOn(Entree &) override
Brief description

Appel Navier_Stokes_phase_field::readOn(Entree& is) En sortie verifie que l’on a bien lu:

Detailed description
  • le terme diffusif, - le terme convectif, - le solveur en pression

Reimplements:

  • readOn

References
  • TRUST_List<_CLASSE_>::add

  • Equation_base::discretisation

  • Process::exit

  • g_

  • Equation_base::les_sources

  • Objet_U::que_suis_je

  • Navier_Stokes_std::readOn

  • TRUSTVect<_TYPE_, _SIZE_>::size

  • Source::typer_direct

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Navier_Stokes_phase_field::readOn(Entree &) override <navier-stokes-phase-field-protected-entree-ref-navier-stokes-phase-field-readon-entree-ref-override>`
[Entree & Navier_Stokes_phase_field::readOn(Entree &) override](#navier-stokes-phase-field-protected-entree-ref-navier-stokes-phase-field-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Navier_Stokes_phase_field::info_obj
betac_ (protected)
TRUST_Ref<Champ_Don_base *> Navier_Stokes_phase_field::betac_
boussi_ (protected)
int Navier_Stokes_phase_field::boussi_
compressible_ (protected)
int Navier_Stokes_phase_field::compressible_
diff_boussi_ (protected)
int Navier_Stokes_phase_field::diff_boussi_
drhodc_ (protected)
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::drhodc_
g_ (protected)
DoubleVect Navier_Stokes_phase_field::g_
mu_ (protected)
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::mu_
rho0_ (protected)
double Navier_Stokes_phase_field::rho0_
rho_ (protected)
TRUST_Deriv<Champ_Don_base> Navier_Stokes_phase_field::rho_
terme_source_ (protected)
int Navier_Stokes_phase_field::terme_source_
Contents
  • How to reference this class
  • Detailed description
  • Inherits from
  • Inheritance graph
  • List of Public Static Methods
  • List of Public Methods
  • List of Protected Methods
  • Complete Member Function Documentation
    • cree_instance
    • info
    • self_cast
    • self_cast
    • calculer_mu
    • calculer_pas_de_temps
    • calculer_rho
    • completer
    • creer_champ
    • derivee_en_temps_inco
    • diffusivite_pour_transport
    • discretiser
    • drhodc
    • duplique
    • get_boussi_
    • get_diff_boussi_
    • get_g_
    • get_g_
    • get_info
    • getset_compressible_
    • getset_terme_source_
    • lire_motcle_non_standard
    • mettre_a_jour
    • mu
    • mu
    • Navier_Stokes_phase_field
    • preparer_calcul
    • rho
    • rho0
    • rho_aux_faces
    • set_param
    • taille_memoire
    • ~Navier_Stokes_phase_field
    • _aff_donnee_P0
    • _aff_donnee_P1
    • _aff_donnee_P1Bulle
    • printOn
    • readOn
  • Attributes Documentation

By The TrioCFD team

© Copyright 2025, CEA.