TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Op_Dift_Multiphase_VDF_Face.h
1/****************************************************************************
2* Copyright (c) 2024, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef Op_Dift_Multiphase_VDF_Face_included
17#define Op_Dift_Multiphase_VDF_Face_included
18
19#include <Op_Dift_Multiphase_proto.h>
20#include <Op_Dift_VDF_Face_base.h>
21#include <Eval_Dift_VDF_leaves.h>
22#include <Op_Diff_Dift_VDF.h>
23
24class Op_Dift_Multiphase_VDF_Face : public Op_Dift_VDF_Face_base, public Op_Diff_Dift_VDF<Op_Dift_Multiphase_VDF_Face>, public Op_Dift_Multiphase_proto
25{
26 Declare_instanciable_sans_constructeur(Op_Dift_Multiphase_VDF_Face);
27public:
29
30 void creer_champ(const Motcle& motlu) override;
31 void get_noms_champs_postraitables(Noms& nom, Option opt = NONE) const override;
32
33 void completer() override;
34 void mettre_a_jour(double ) override;
35 void preparer_calcul() override;
36 void modifier_mu(DoubleTab& ) const { throw; }
38
39 double calculer_dt_stab() const override;
40 bool is_turb() const override { return true; }
41 const Correlation_base* correlation_viscosite_turbulente() const override { return &(corr_.valeur()); }
42
47
52
53 inline const Champ_base& diffusivite() const override
54 {
56 }
57
62};
63
64#endif /* Op_Dift_Multiphase_VDF_Face_included */
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
Class Champ_Inc_base.
class Champ_base This class is the base of the fields hierarchy.
Definition Champ_base.h:43
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
A character string (Nom) in uppercase.
Definition Motcle.h:26
An array of character strings (VECT(Nom)).
Definition Noms.h:26
void associer_diffusivite_impl(const Champ_base &ch_diff)
std::enable_if_t< _TYPE_==Type_Operateur::Op_DIFF_ELEM||_TYPE_==Type_Operateur::Op_DIFT_ELEM||_TYPE_==Type_Operateur::Op_DIFT_MULTIPHASE_ELEM, void > associer_impl(const Domaine_dis_base &domaine_dis, const Domaine_Cl_dis_base &domaine_cl_dis, const Champ_Inc_base &ch_diffuse)
std::enable_if_t< _TYPE_==Type_Operateur::Op_DIFT_MULTIPHASE_FACE||_TYPE_==Type_Operateur::Op_DIFT_MULTIPHASE_ELEM, const DoubleTab & > get_diffusivite_turbulente_multiphase_impl() const
void associer_diffusivite_turbulente(const Champ_Fonc_base &ch)=delete
double calculer_dt_stab() const override
Computes dt_stab.
const Champ_base & diffusivite() const override
const DoubleTab & get_diffusivite_turbulente() const
void completer() override
Associates the operator with the domaine_dis, the domaine_Cl_dis, and the unknown of its equation.
void mettre_a_jour(double) override
DOES NOTHING - to override in derived classes.
void associer(const Domaine_dis_base &zd, const Domaine_Cl_dis_base &zcd, const Champ_Inc_base &ch) override
void associer_diffusivite(const Champ_base &ch) override
const Correlation_base * correlation_viscosite_turbulente() const override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
void creer_champ(const Motcle &motlu) override
Op_Dift_VDF_Face_base(const Iterateur_VDF_base &iter_base)