Documentation 6b54b78464
Loading...
Searching...
No Matches
CFlowIncOutput.hpp
Go to the documentation of this file.
1/*!
2 * \file CFlowIncOutput.hpp
3 * \brief Headers of the incompressible flow output.
4 * \author T. Albring, R. Sanchez
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 CFlowIncOutput
35 * \brief Output class for incompressible flow problems.
36 * \author R. Sanchez, T. Albring.
37 * \date May 30, 2018.
38 */
39class CFlowIncOutput final: public CFlowOutput {
40private:
41 TURB_MODEL turb_model; /*!< \brief The kind of turbulence model*/
42 bool heat; /*!< \brief Boolean indicating whether have a heat problem*/
43 bool weakly_coupled_heat; /*!< \brief Boolean indicating whether have a weakly coupled heat equation*/
44 bool flamelet; /*!< \brief Boolean indicating whether we solve the flamelet equations */
45 bool pressure_based; /*!< Boolean indicating whether running the pressure based version */
46 unsigned short streamwisePeriodic; /*!< \brief Boolean indicating whether it is a streamwise periodic simulation. */
47 bool streamwisePeriodic_temperature; /*!< \brief Boolean indicating streamwise periodic temperature is used. */
48
49public:
50 /*!
51 * \brief Constructor of the class
52 * \param[in] config - Definition of the particular problem.
53 */
54 CFlowIncOutput(CConfig *config, unsigned short nDim);
55
56 /*!
57 * \brief Load the history output field values
58 * \param[in] config - Definition of the particular problem.
59 */
60 void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override;
61
62 /*!
63 * \brief Set the available volume output fields
64 * \param[in] config - Definition of the particular problem.
65 */
66 void SetVolumeOutputFields(CConfig *config) override;
67
68 /*!
69 * \brief Set the values of the volume output fields for a point.
70 * \param[in] config - Definition of the particular problem.
71 * \param[in] geometry - Geometrical definition of the problem.
72 * \param[in] solver - The container holding all solution data.
73 * \param[in] iPoint - Index of the point.
74 */
75 void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override;
76
77 /*!
78 * \brief Set the available history output fields
79 * \param[in] config - Definition of the particular problem.
80 */
81 void SetHistoryOutputFields(CConfig *config) override;
82
83 /*!
84 * \brief Check whether the base values for relative residuals should be initialized
85 * \param[in] config - Definition of the particular problem.
86 * \return <TRUE> if the residuals should be initialized.
87 */
88 bool SetInitResiduals(const CConfig *config) override ;
89
90};
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 incompressible flow problems.
Definition CFlowIncOutput.hpp:39
bool SetInitResiduals(const CConfig *config) override
Check whether the base values for relative residuals should be initialized.
Definition CFlowIncOutput.cpp:519
void SetVolumeOutputFields(CConfig *config) override
Set the available volume output fields.
Definition CFlowIncOutput.cpp:322
void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override
Load the history output field values.
Definition CFlowIncOutput.cpp:218
void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override
Set the values of the volume output fields for a point.
Definition CFlowIncOutput.cpp:424
void SetHistoryOutputFields(CConfig *config) override
Set the available history output fields.
Definition CFlowIncOutput.cpp:107
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