TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Op_Diff_K_Eps_VEF_base.h
1/****************************************************************************
2* Copyright (c) 2015 - 2016, 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/*! @brief class Op_Diff_K_Eps_VEF_Face Cette classe represente l'operateur de diffusion turbulente
16 *
17 * La discretisation est VEF
18 * Les methodes pour l'implicite sont codees.
19 *
20 */
21#ifndef Op_Diff_K_Eps_VEF_base_included
22#define Op_Diff_K_Eps_VEF_base_included
23
24#include <Op_Dift_VEF_base.h>
25#include <Op_VEF_Face.h>
26#include <TRUST_Ref.h>
27#include <K_Omega_Eps_constants.h>
28
29//////////////////////////////////////////////////////////////////////////////
30//
31// CLASS: Op_Diff_K_Eps_VEF_base
32//
33//////////////////////////////////////////////////////////////////////////////
34
35class Op_Diff_K_Eps_VEF_base : public Op_Dift_VEF_base
36{
37
38 Declare_instanciable_sans_constructeur(Op_Diff_K_Eps_VEF_base);
39
40 Op_Diff_K_Eps_VEF_base(double Sigma_K = SIGMA_K_KEPS, double Sigma_Eps = SIGMA_EPS_KEPS ) : Sigma_K_(Sigma_K) , Sigma_Eps_(Sigma_Eps)
41 {
42 Sigma_[0]=Sigma_K;
43 Sigma_[1]=Sigma_Eps;
44 }
45
46public:
47
48 void completer() override;
49
50protected:
51 double Sigma_K_;
52 double Sigma_Eps_;
53 double Sigma_[2];
54
55};
56
57#endif
void completer() override
Associe l'operateur au domaine_dis, le domaine_Cl_dis, et a l'inconnue de son equation.