Documentation 6b54b78464
Loading...
Searching...
No Matches
CHeatOutput.hpp
Go to the documentation of this file.
1/*!
2 * \file CHeatOutput.hpp
3 * \brief Headers of the heat output.
4 * \author R. Sanchez, T. Albring.
5 * \version 8.5.0 "Harrier"
6 *
7 * SU2 Project Website: https://su2code.github.io
8 *
9 * The SU2 Project is maintained by the SU2 Foundation
10 * (http://su2foundation.org)
11 *
12 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
13 *
14 * SU2 is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * SU2 is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
26 */
27
28#pragma once
29
30#include "CFVMOutput.hpp"
31
32
33/*! \class CHeatOutput
34 * \brief Output class for heat problems.
35 * \author R. Sanchez, T. Albring.
36 * \date June 5, 2018.
37 */
38class CHeatOutput final: public CFVMOutput {
39public:
40
41 /*!
42 * \brief Constructor of the class
43 * \param[in] config - Definition of the particular problem.
44 */
45 CHeatOutput(CConfig *config, unsigned short nDim);
46
47 /*!
48 * \brief Set the available history output fields
49 * \param[in] config - Definition of the particular problem.
50 */
51 void SetHistoryOutputFields(CConfig *config) override;
52
53 /*!
54 * \brief Set the available history output fields in another output instance.
55 */
56 static void SetHistoryOutputFieldsImpl(CConfig *config, COutput* output);
57
58 /*!
59 * \brief Load the history output field values
60 * \param[in] config - Definition of the particular problem.
61 */
62 void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override;
63
64 /*!
65 * \brief Set the history output field values in another output instance.
66 */
67 static void LoadHistoryDataImpl(CConfig *config, CGeometry *geometry, CSolver **solver, COutput* output);
68
69 /*!
70 * \brief Set the available volume output fields
71 * \param[in] config - Definition of the particular problem.
72 */
73 void SetVolumeOutputFields(CConfig *config) override;
74
75 /*!
76 * \brief Set the values of the volume output fields for a point.
77 * \param[in] config - Definition of the particular problem.
78 * \param[in] geometry - Geometrical definition of the problem.
79 * \param[in] solver - The container holding all solution data.
80 * \param[in] iPoint - Index of the point.
81 */
82 void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override;
83
84 /*!
85 * \brief LoadSurfaceData
86 * \param[in] config - Definition of the particular problem.
87 * \param[in] geometry - Geometrical definition of the problem.
88 * \param[in] solver - The container holding all solution data.
89 * \param[in] iPoint - Index of the point.
90 * \param[in] iMarker - Index of the surface marker.
91 * \param[in] iVertex - Index of the vertex on the marker.
92 */
93 void LoadSurfaceData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint,
94 unsigned short iMarker, unsigned long iVertex) override;
95};
Headers of the Finite Volume Method output.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Definition CFVMOutput.hpp:32
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Output class for heat problems.
Definition CHeatOutput.hpp:38
static void SetHistoryOutputFieldsImpl(CConfig *config, COutput *output)
Set the available history output fields in another output instance.
Definition CHeatOutput.cpp:104
void SetHistoryOutputFields(CConfig *config) override
Set the available history output fields.
Definition CHeatOutput.cpp:115
static void LoadHistoryDataImpl(CConfig *config, CGeometry *geometry, CSolver **solver, COutput *output)
Set the history output field values in another output instance.
Definition CHeatOutput.cpp:75
void LoadSurfaceData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint, unsigned short iMarker, unsigned long iVertex) override
LoadSurfaceData.
Definition CHeatOutput.cpp:161
void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override
Set the values of the volume output fields for a point.
Definition CHeatOutput.cpp:144
void SetVolumeOutputFields(CConfig *config) override
Set the available volume output fields.
Definition CHeatOutput.cpp:126
void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override
Load the history output field values.
Definition CHeatOutput.cpp:89
Class for writing the convergence history and to write solution data to file.
Definition COutput.hpp:68
const unsigned short nDim
Physical Dimension.
Definition COutput.hpp:78
Definition CSolver.hpp:71