Documentation 6b54b78464
Loading...
Searching...
No Matches
CFlowCompFEMOutput.hpp
Go to the documentation of this file.
1/*!
2 * \file CFlowCompFEMOutput.hpp
3 * \brief Headers of the compressible FEM flow 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 "CFlowOutput.hpp"
31
32class CVariable;
33
34/*! \class CFlowCompFEMOutput
35 * \brief Output class for the compressible FEM flow output.
36 * \author R. Sanchez, T. Albring.
37 * \date May 30, 2018.
38 */
39class CFlowCompFEMOutput final: public CFlowOutput {
40private:
41
42 TURB_MODEL turb_model; //!< Kind of turbulence model
43
44public:
45
46 /*!
47 * \brief Constructor of the class
48 * \param[in] config - Definition of the particular problem.
49 */
50 CFlowCompFEMOutput(CConfig *config, unsigned short nDim);
51
52 /*!
53 * \brief Destructor of the class.
54 */
55 ~CFlowCompFEMOutput(void) override;
56
57 /*!
58 * \brief Load the history output field values
59 * \param[in] config - Definition of the particular problem.
60 */
61 void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override;
62
63 /*!
64 * \brief Set the available volume output fields
65 * \param[in] config - Definition of the particular problem.
66 */
67 void SetVolumeOutputFields(CConfig *config) override;
68
69 /*!
70 * \brief Set the values of the volume output fields for a point.
71 * \param[in] config - Definition of the particular problem.
72 * \param[in] geometry - Geometrical definition of the problem.
73 * \param[in] solver - The container holding all solution data.
74 * \param[in] iElem - Index of the element.
75 * \param[in] index - Index of the value.
76 * \param[in] dof - Index of the local degree of freedom.
77 */
78 void LoadVolumeDataFEM(CConfig *config, CGeometry *geometry, CSolver **solver,
79 unsigned long iElem, unsigned long index, unsigned short dof) override;
80
81 /*!
82 * \brief Set the available history output fields
83 * \param[in] config - Definition of the particular problem.
84 */
85 void SetHistoryOutputFields(CConfig *config) override;
86
87 /*!
88 * \brief Check whether the base values for relative residuals should be initialized
89 * \param[in] config - Definition of the particular problem.
90 * \return <TRUE> if the residuals should be initialized.
91 */
92 bool SetInitResiduals(const CConfig *config) override ;
93
94};
Headers of the flow output.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Output class for the compressible FEM flow output.
Definition CFlowCompFEMOutput.hpp:39
~CFlowCompFEMOutput(void) override
Destructor of the class.
void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override
Load the history output field values.
Definition CFlowCompFEMOutput.cpp:229
bool SetInitResiduals(const CConfig *config) override
Check whether the base values for relative residuals should be initialized.
Definition CFlowCompFEMOutput.cpp:268
void SetVolumeOutputFields(CConfig *config) override
Set the available volume output fields.
Definition CFlowCompFEMOutput.cpp:127
void SetHistoryOutputFields(CConfig *config) override
Set the available history output fields.
Definition CFlowCompFEMOutput.cpp:87
void LoadVolumeDataFEM(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iElem, unsigned long index, unsigned short dof) override
Set the values of the volume output fields for a point.
Definition CFlowCompFEMOutput.cpp:158
Definition CFlowOutput.hpp:37
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
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