TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Fluide_Incompressible.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
17#ifndef Fluide_Incompressible_included
18#define Fluide_Incompressible_included
19
20#include <Fluide_base.h>
21
22/*! @brief classe Fluide_Incompressible Cette classe represente un d'un fluide incompressible ainsi que
23 *
24 * ses proprietes:
25 * - viscosite cinematique, (mu)
26 * - viscosite dynamique, (nu)
27 * - masse volumique, (rho)
28 * - diffusivite, (alpha)
29 * - conductivite, (lambda)
30 * - capacite calorifique, (Cp)
31 * - dilatabilite thermique du constituant (beta_co)
32 *
33 * @sa Milieu_base
34 */
36{
37 Declare_instanciable_sans_constructeur(Fluide_Incompressible);
38
39public :
40
42 void verifier_coherence_champs(int& err,Nom& message) override;
43 void set_param(Param& param) const override;
44 int is_incompressible() const override
45 {
46 return 1;
47 }
48};
49
50#endif
int is_incompressible() const override
void set_param(Param &param) const override
void verifier_coherence_champs(int &err, Nom &message) override
Verifie que les champs lus l'ont ete correctement.
classe Fluide_base Cette classe represente un d'un fluide incompressible ainsi que
Definition Fluide_base.h:38
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112