Documentation 6b54b78464
Loading...
Searching...
No Matches
CFEMFluidIteration.hpp
Go to the documentation of this file.
1/*!
2 * \file CFEMFluidIteration.hpp
3 * \brief Headers of the iteration classes used by SU2_CFD.
4 * Each CIteration class represents an available physics package.
5 * \author F. Palacios, T. Economon
6 * \version 8.5.0 "Harrier"
7 *
8 * SU2 Project Website: https://su2code.github.io
9 *
10 * The SU2 Project is maintained by the SU2 Foundation
11 * (http://su2foundation.org)
12 *
13 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
14 *
15 * SU2 is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * SU2 is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
27 */
28
29#pragma once
30
31#include "CFluidIteration.hpp"
32
33/*!
34 * \class CFEMFluidIteration
35 * \ingroup Drivers
36 * \brief Class for driving an iteration of the finite element flow system.
37 * \author T. Economon, E. van der Weide
38 * \version 8.5.0 "Harrier"
39 */
41 public:
42 /*!
43 * \brief Constructor of the class.
44 * \param[in] config - Definition of the particular problem.
45 */
46 explicit CFEMFluidIteration(const CConfig* config) : CFluidIteration(config) {}
47
48 /*!
49 * \brief Preprocessing to prepare for an iteration of the physics.
50 * \param[in] output - Pointer to the COutput class.
51 * \param[in] integration - Container vector with all the integration methods.
52 * \param[in] geometry - Geometrical definition of the problem.
53 * \param[in] solver - Container vector with all the solutions.
54 * \param[in] numerics - Description of the numerical method (the way in which the equations are solved).
55 * \param[in] config - Definition of the particular problem.
56 * \param[in] surface_movement - Surface movement classes of the problem.
57 * \param[in] grid_movement - Volume grid movement classes of the problem.
58 * \param[in] FFDBox - FFD FFDBoxes of the problem.
59 */
60 void Preprocess(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 * \brief Perform a single iteration of the finite element flow system.
66 * \param[in] output - Pointer to the COutput class.
67 * \param[in] integration - Container vector with all the integration methods.
68 * \param[in] geometry - Geometrical definition of the problem.
69 * \param[in] solver - Container vector with all the solutions.
70 * \param[in] numerics - Description of the numerical method (the way in which the equations are solved).
71 * \param[in] config - Definition of the particular problem.
72 * \param[in] surface_movement - Surface movement classes of the problem.
73 * \param[in] grid_movement - Volume grid movement classes of the problem.
74 * \param[in] FFDBox - FFD FFDBoxes of the problem.
75 * \param[in] val_iZone - Index of the zone.
76 * \param[in] val_iInst - Index of the instance layer.
77 */
78 void Iterate(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
79 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
80 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
81 unsigned short val_iInst) override;
82
83 /*!
84 * \brief Updates the containers for the finite element flow system.
85 * \param[in] ??? - Description here.
86 */
87 void Update(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
88 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
89 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
90 unsigned short val_iInst) override;
91
92 /*!
93 * \brief Postprocess routine for the finite element flow system.
94 * \param[in] solver - Container vector with all the solutions.
95 * \param[in] geometry - Geometrical definition of the problem.
96 * \param[in] config - Definition of the particular problem.
97 */
98 void Postprocess(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
99 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
100 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
101 unsigned short val_iInst) override;
102};
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Class for driving an iteration of the finite element flow system.
Definition CFEMFluidIteration.hpp:40
void Preprocess(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
Preprocessing to prepare for an iteration of the physics.
Definition CFEMFluidIteration.cpp:31
void Postprocess(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
Postprocess routine for the finite element flow system.
Definition CFEMFluidIteration.cpp:78
void Update(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
Updates the containers for the finite element flow system.
Definition CFEMFluidIteration.cpp:73
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 finite element flow system.
Definition CFEMFluidIteration.cpp:45
CFEMFluidIteration(const CConfig *config)
Constructor of the class.
Definition CFEMFluidIteration.hpp:46
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
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