Documentation a537f1bdf2
Loading...
Searching...
No Matches
CSingleGridIntegration.hpp
Go to the documentation of this file.
1/*!
2 * \file CSingleGridIntegration.hpp
3 * \brief Declaration of class for numerical integration of fine grid-only problems.
4 * \author A. Bueno.
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#include "CIntegration.hpp"
29
30/*!
31 * \class CSingleGridIntegration
32 * \ingroup Drivers
33 * \brief Class for numerical integration of fine grid-only problems (e.g. turbulence).
34 * \author A. Bueno.
35 */
37private:
38 /*!
39 * \brief Restrict solution from fine grid to a coarse grid.
40 * \param[in] RunTime_EqSystem - System of equations which is going to be solved.
41 * \param[in] sol_fine - Pointer to the solution on the fine grid.
42 * \param[out] sol_coarse - Pointer to the solution on the coarse grid.
43 * \param[in] geo_fine - Geometrical definition of the fine grid.
44 * \param[in] geo_coarse - Geometrical definition of the coarse grid.
45 * \param[in] config - Definition of the particular problem.
46 * \param[in] iMesh - Index of the mesh in multigrid computations.
47 * \param[in] InclSharedDomain - Include the shared domain in the interpolation.
48 */
49 void SetRestricted_Solution(unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse,
50 CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config);
51
52 /*!
53 * \brief Restrict solution from fine grid to a coarse grid.
54 * \param[in] RunTime_EqSystem - System of equations which is going to be solved.
55 * \param[in] sol_fine - Pointer to the solution on the fine grid.
56 * \param[out] sol_coarse - Pointer to the solution on the coarse grid.
57 * \param[in] geo_fine - Geometrical definition of the fine grid.
58 * \param[in] geo_coarse - Geometrical definition of the coarse grid.
59 * \param[in] config - Definition of the particular problem.
60 * \param[in] iMesh - Index of the mesh in multigrid computations.
61 * \param[in] InclSharedDomain - Include the shared domain in the interpolation.
62 */
63 void SetRestricted_EddyVisc(unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse,
64 CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config);
65
66public:
67 /*!
68 * \brief Constructor of the class.
69 */
71
72 /*!
73 * \brief Do the numerical integration (implicit) of the turbulence solver.
74 * \param[in] geometry - Geometrical definition of the problem.
75 * \param[in] solver_container - Container vector with all the solutions.
76 * \param[in] numerics_container - Description of the numerical method (the way in which the equations are solved).
77 * \param[in] config - Definition of the particular problem.
78 * \param[in] RunTime_EqSystem - System of equations which is going to be solved.
79 */
80 void SingleGrid_Iteration(CGeometry ****geometry, CSolver *****solver_container,
81 CNumerics ******numerics_container, CConfig **config,
82 unsigned short RunTime_EqSystem, unsigned short iZone, unsigned short iInst) override;
83
84};
Declaration of the main routines to orchestrate space and time integration.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Main class for doing the space integration, time integration, and monitoring of a system of Partial D...
Definition CIntegration.hpp:47
Class for defining the numerical methods.
Definition CNumerics.hpp:48
Class for numerical integration of fine grid-only problems (e.g. turbulence).
Definition CSingleGridIntegration.hpp:36
CSingleGridIntegration()
Constructor of the class.
Definition CSingleGridIntegration.cpp:32
void SingleGrid_Iteration(CGeometry ****geometry, CSolver *****solver_container, CNumerics ******numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned short iZone, unsigned short iInst) override
Do the numerical integration (implicit) of the turbulence solver.
Definition CSingleGridIntegration.cpp:34
Definition CSolver.hpp:71