Documentation 6b54b78464
Loading...
Searching...
No Matches
CPBFluidIteration.hpp
Go to the documentation of this file.
1/*!
2 * \file CPBFluidIteration.hpp
3 * \brief Headers of the pressure based fluid iteration class.
4 * \author T. Aalbers
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 "CFluidIteration.hpp"
31
32/*!
33 * \class CPBFluidIteration
34 * \ingroup Drivers
35 * \brief Class for driving a pressure-based iteration of the fluid system.
36 * \author T. Aalbers
37 */
39public:
40 /*!
41 * \brief Constructor of the class.
42 * \param[in] config - Definition of the particular problem.
43 */
44 explicit CPBFluidIteration(const CConfig* config) : CFluidIteration(config) {}
45
46 /*!
47 * \brief Perform a single iteration of the fluid system.
48 * \param[in] output - Pointer to the COutput class.
49 * \param[in] integration - Container vector with all the integration methods.
50 * \param[in] geometry - Geometrical definition of the problem.
51 * \param[in] solver - Container vector with all the solutions.
52 * \param[in] numerics - Description of the numerical method (the way in which the equations are solved).
53 * \param[in] config - Definition of the particular problem.
54 * \param[in] surface_movement - Surface movement classes of the problem.
55 * \param[in] grid_movement - Volume grid movement classes of the problem.
56 * \param[in] FFDBox - FFD FFDBoxes of the problem.
57 * \param[in] val_iZone - Index of the zone.
58 * \param[in] val_iInst - Index of the instance layer.
59 */
60 void Iterate(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
61 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
62 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
63 unsigned short val_iInst) override;
64
65 };
66
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Class for driving an iteration of the fluid system.
Definition CFluidIteration.hpp:39
Class for defining the free form FFDBox structure.
Definition CFreeFormDefBox.hpp:38
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 writing the convergence history and to write solution data to file.
Definition COutput.hpp:68
Class for driving a pressure-based iteration of the fluid system.
Definition CPBFluidIteration.hpp:38
CPBFluidIteration(const CConfig *config)
Constructor of the class.
Definition CPBFluidIteration.hpp:44
void Iterate(COutput *output, CIntegration ****integration, CGeometry ****geometry, CSolver *****solver, CNumerics ******numerics, CConfig **config, CSurfaceMovement **surface_movement, CVolumetricMovement ***grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone, unsigned short val_iInst) override
Perform a single iteration of the fluid system.
Definition CPBFluidIteration.cpp:32
Definition CSolver.hpp:71
Class for moving the surface numerical grid.
Definition CSurfaceMovement.hpp:38
Class for moving the volumetric numerical grid.
Definition CVolumetricMovement.hpp:37