16#include <Corrige_flux_FT_base.h>
18#include <Probleme_FTD_IJK.h>
19#include <IJK_Navier_Stokes_tools.h>
20#include <Intersection_Interface_ijk.h>
26Corrige_flux_FT_base::Corrige_flux_FT_base()
44 const IJK_Field_double& field,
55 interfaces_ = interfaces;
64 const IJK_Field_double& field,
71 initialize(splitting, field, interfaces, ijk_ft, intersection_ijk_face, intersection_ijk_cell);
89 const double velocity = ref_ijk_ft_->eq_ns().get_velocity(
91 double stencil_inclut_interface = 1.;
96 for (
int c = 0; c < 3; c++)
98 const auto c_elem =
parcours_.elem(c + decal);
99 stencil_inclut_interface *= ref_ijk_ft_->get_interface().I(
106 return std::abs(1. - stencil_inclut_interface) > 0.05;
113 const double velocity = ref_ijk_ft_->eq_ns().get_velocity(
115 double stencil_inclut_interface = 1.;
120 for (
int c = 0; c < 3; c++)
122 const auto c_elem =
parcours_.elem(c + decal);
123 stencil_inclut_interface *= (
124 1. - ref_ijk_ft_->get_interface().I(
131 return std::abs(1. - stencil_inclut_interface) > 0.05;
: class Corrige_flux_FT API pour modifier un champ de flux à partir de donnees à l'interface....
Intersection_Interface_ijk_cell * intersection_ijk_cell_
virtual void initialize_with_subproblems(const Domaine_IJK &splitting, const IJK_Field_double &field, const IJK_Interfaces &interfaces, const Probleme_FTD_IJK_base &ijk_ft, Intersection_Interface_ijk_face &intersection_ijk_face, Intersection_Interface_ijk_cell &intersection_ijk_cell, IJK_One_Dimensional_Subproblems &thermal_local_subproblems)
bool test_if_stencil_inclut_bout_interface_vapeur() const
bool test_if_stencil_inclut_bout_interface_liquide() const
Intersection_Interface_ijk_face * intersection_ijk_face_
virtual void initialize(const Domaine_IJK &dom, const IJK_Field_double &field, const IJK_Interfaces &interfaces, const Probleme_FTD_IJK_base &ijk_ft, Intersection_Interface_ijk_face &intersection_ijk_face, Intersection_Interface_ijk_cell &intersection_ijk_cell)
const IJK_Field_double * field_
void set_physical_parameters(const double rhocpl, const double rhocpv, const double ldal, const double ldav)
This class encapsulates all the information related to the eulerian mesh for TrioIJK.
Class defining operators and methods for all reading operation in an input flow (file,...
classe Objet_U Cette classe est la classe de base des Objets de TRUST
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
Classe de base des flux de sortie.