Documentation 6b54b78464
Loading...
Searching...
No Matches
CNEMOCompOutput.hpp
Go to the documentation of this file.
1/*!
2 * \file CNEMOCompOutput.hpp
3 * \brief Headers of the compressible flow output.
4 * \author R. Sanchez, W. Maier.
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 "CFlowOutput.hpp"
31
32class CVariable;
33
34/*! \class CNEMOCompOutput
35 * \brief Output class for NEMO compressible flow problems.
36 * \author R. Sanchez, T. Albring.
37 */
38class CNEMOCompOutput final: public CFlowOutput {
39private:
40 TURB_MODEL turb_model; /*!< \brief Kind of turbulence model */
41 unsigned short nSpecies; /*!< \brief Number of species */
42public:
43 /*!
44 * \brief Constructor of the class
45 * \param[in] config - Definition of the particular problem.
46 */
47 CNEMOCompOutput(const CConfig *config, unsigned short nDim);
48
49 /*!
50 * \brief Load the history output field values
51 * \param[in] config - Definition of the particular problem.
52 */
53 void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override;
54
55 /*!
56 * \brief Set the available volume output fields
57 * \param[in] config - Definition of the particular problem.
58 */
59 void SetVolumeOutputFields(CConfig *config) override;
60
61 /*!
62 * \brief Set the values of the volume output fields for a point.
63 * \param[in] config - Definition of the particular problem.
64 * \param[in] geometry - Geometrical definition of the problem.
65 * \param[in] solver - The container holding all solution data.
66 * \param[in] iPoint - Index of the point.
67 */
68 void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override;
69
70 /*!
71 * \brief Set the available history output fields
72 * \param[in] config - Definition of the particular problem.
73 */
74 void SetHistoryOutputFields(CConfig *config) override;
75
76 /*!
77 * \brief Check whether the base values for relative residuals should be initialized
78 * \param[in] config - Definition of the particular problem.
79 * \return <TRUE> if the residuals should be initialized.
80 */
81 bool SetInitResiduals(const CConfig *config) override ;
82
83 /*!
84 * \brief Write any additional output defined for the current solver.
85 * \param[in] config - Definition of the particular problem per zone.
86 */
87 void SetAdditionalScreenOutput(const CConfig *config) override;
88
89 /*!
90 * \brief Determines if the history file output.
91 * \param[in] config - Definition of the particular problem.
92 */
93 bool WriteHistoryFileOutput(const CConfig *config) override ;
94};
Headers of the flow output.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Definition CFlowOutput.hpp:37
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Output class for NEMO compressible flow problems.
Definition CNEMOCompOutput.hpp:38
void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override
Load the history output field values.
Definition CNEMOCompOutput.cpp:386
void SetHistoryOutputFields(CConfig *config) override
Set the available history output fields.
Definition CNEMOCompOutput.cpp:107
void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override
Set the values of the volume output fields for a point.
Definition CNEMOCompOutput.cpp:298
bool SetInitResiduals(const CConfig *config) override
Check whether the base values for relative residuals should be initialized.
Definition CNEMOCompOutput.cpp:456
void SetVolumeOutputFields(CConfig *config) override
Set the available volume output fields.
Definition CNEMOCompOutput.cpp:200
void SetAdditionalScreenOutput(const CConfig *config) override
Write any additional output defined for the current solver.
Definition CNEMOCompOutput.cpp:463
bool WriteHistoryFileOutput(const CConfig *config) override
Determines if the history file output.
Definition CNEMOCompOutput.cpp:470
const unsigned short nDim
Physical Dimension.
Definition COutput.hpp:78
Definition CSolver.hpp:71
Main class for defining the variables.
Definition CVariable.hpp:50
TURB_MODEL
Types of turbulent models.
Definition option_structure.hpp:1066