TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Modele_turbulence_hyd_Longueur_Melange_VEF.h
1/****************************************************************************
2* Copyright (c) 2026, 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 Modele_turbulence_hyd_Longueur_Melange_VEF_included
17#define Modele_turbulence_hyd_Longueur_Melange_VEF_included
18
19#include <Modele_turbulence_hyd_Longueur_Melange_base.h>
20
21class Domaine_Cl_VEF;
22class Domaine_VEF;
23
24/*! @brief Class Turbulence_hyd_Longueur_Melange_VEF
25 *
26 * @brief This class implements the mixing-length turbulence model in VEF.
27 *
28 * @sa Modele_turbulence_hyd_Longueur_Melange_base
29 *
30 */
32{
34public:
35 void set_param(Param& param) const override;
36 int lire_motcle_non_standard(const Motcle&, Entree&) override;
38 int preparer_calcul() override;
40 void calculer_Sij2();
42
43protected:
45 double hauteur_ = 2., diametre_ = 2., dmax_ = -1.;
46 int cas_ = 0;
47 DoubleVect f_amortissement_;
48};
49
50#endif /* Modele_turbulence_hyd_Longueur_Melange_VEF_included */
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
class Domaine_VEF
Definition Domaine_VEF.h:53
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
Mixing-length turbulence model for the Navier-Stokes equations.
A character string (Nom) in uppercase.
Definition Motcle.h:26
class Nom: a character string for naming TRUST objects.
Definition Nom.h:31
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112