TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
IJK_Thermal_Multiple_Subresolutions.h
1/****************************************************************************
2* Copyright (c) 2023, 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 IJK_Thermal_Multiple_Subresolutions_included
17#define IJK_Thermal_Multiple_Subresolutions_included
18
19#include <IJK_Thermal_Subresolution.h>
20#include <IJK_Field_vector.h>
21#include <IJK_Field.h>
22#include <Boundary_Conditions_Thermique.h>
23#include <Domaine_IJK.h>
24#include <IJK_Field.h>
25#include <Parser.h>
26#include <IJK_Lata_writer.h>
27#include <OpConvQuickIJKScalar.h>
28#include <OpConvCentre2IJKScalar.h>
29#include <Ouvrir_fichier.h>
30#include <Corrige_flux_FT_base.h>
31#include <TRUST_Ref.h>
32#include <Operateur_IJK_elem_diff_base.h>
33#include <OpConvAmontIJK.h>
34#include <OpConvDiscQuickIJKScalar.h>
35#include <OpConvCentre4IJK.h>
36
37/////////////////////////////////////////////////////////////////////////////
38//
39// .DESCRIPTION : class IJK_Thermal_Multiple_Subresolutions
40//
41// <Description of class IJK_Thermal_Multiple_Subresolutions>
42//
43/////////////////////////////////////////////////////////////////////////////
44
45
47{
48
49 Declare_instanciable( IJK_Thermal_Multiple_Subresolutions ) ;
50
51public :
52
53 void initialize(const Domaine_IJK& splitting) override;
54 void update_thermal_properties() override;
55 void set_param(Param& param) const override;
56
57protected :
58
59 /*
60 * Treat the second phase like it is vapour !
61 */
62
63 IJK_Field_double temperature_vapour_;
65 IJK_Field_vector3_double grad_T_vapour_;
66
68
70
71 bool main_phase_ = false;
74
77
78};
79
80#endif /* IJK_Thermal_Multiple_Subresolutions_included */
This class encapsulates all the information related to the eulerian mesh for TrioIJK.
Definition Domaine_IJK.h:47
OpDiffUniformIJKScalar_double diffusion_temperature_vapour_op_
void initialize(const Domaine_IJK &splitting) override
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112