|
SU2
|
Class for driving an iteration of the discrete adjoint mean flow system. More...
#include <iteration_structure.hpp>
Public Member Functions | |
| CDiscAdjMeanFlowIteration (CConfig *config) | |
| Constructor of the class. More... | |
| ~CDiscAdjMeanFlowIteration (void) | |
| Destructor of the class. | |
| void | Preprocess (COutput *output, CIntegration ***integration_container, CGeometry ***geometry_container, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone) |
| Preprocessing to prepare for an iteration of the physics. More... | |
| void | Iterate (COutput *output, CIntegration ***integration_container, CGeometry ***geometry_container, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone) |
| Perform a single iteration of the adjoint mean flow system. More... | |
| void | Update (COutput *output, CIntegration ***integration_container, CGeometry ***geometry_container, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone) |
| Updates the containers for the discrete adjoint mean flow system. More... | |
| void | Monitor () |
| Monitors the convergence and other metrics for the discrete adjoint mean flow system. More... | |
| void | Output () |
| Outputs desired files and quantities for the discrete adjoint mean flow system. More... | |
| void | Postprocess () |
| Postprocesses the discrete adjoint mean flow system before heading to another physics system or the next iteration. More... | |
| void | RegisterInput (CSolver ****solver_container, CGeometry ***geometry_container, CConfig **config_container, unsigned short iZone, unsigned short kind_recording) |
| Registers all input variables of the mean flow iteration. More... | |
| void | RegisterOutput (CSolver ****solver_container, CGeometry ***geometry_container, CConfig **config_container, unsigned short iZone) |
| Registers all output variables of the mean flow iteration. More... | |
| void | InitializeAdjoint (CSolver ****solver_container, CGeometry ***geometry_container, CConfig **config_container, unsigned short iZone) |
| Initializes the adjoints of the output variables of the meanflow iteration. More... | |
| void | SetRecording (COutput *output, CIntegration ***integration_container, CGeometry ***geometry_container, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone, unsigned short kind_recording) |
| Record a single iteration of the direct mean flow system. More... | |
| void | SetDependencies (CSolver ****solver_container, CGeometry ***geometry_container, CConfig **config_container, unsigned short iZone, unsigned short kind_recording) |
| Compute necessary variables that depend on the conservative variables or the mesh node positions (e.g. turbulent variables, normals, volumes). More... | |
| void | LoadUnsteady_Solution (CGeometry ***geometry_container, CSolver ****solver_container, CConfig **config_container, unsigned short val_iZone, int val_DirectIter) |
| load unsteady solution for unsteady problems More... | |
Public Member Functions inherited from CIteration | |
| CIteration (CConfig *config) | |
| Constructor of the class. | |
| virtual | ~CIteration (void) |
| Destructor of the class. | |
| virtual void | SetGrid_Movement (CGeometry ***geometry_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormDefBox ***FFDBox, CSolver ****solver_container, CConfig **config_container, unsigned short val_iZone, unsigned long IntIter, unsigned long ExtIter) |
| Updates the positions and grid velocities for dynamic meshes between physical time steps. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CIteration | |
| unsigned short | nZone |
| Total number of zones in the problem. | |
Class for driving an iteration of the discrete adjoint mean flow system.
| CDiscAdjMeanFlowIteration::CDiscAdjMeanFlowIteration | ( | CConfig * | config | ) |
Constructor of the class.
| [in] | config | - Definition of the particular problem. |
| void CDiscAdjMeanFlowIteration::InitializeAdjoint | ( | CSolver **** | solver_container, |
| CGeometry *** | geometry_container, | ||
| CConfig ** | config_container, | ||
| unsigned short | iZone | ||
| ) |
Initializes the adjoints of the output variables of the meanflow iteration.
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | config_container | - Definition of the particular problem. |
| [in] | iZone | - Index of the zone. |
|
virtual |
Perform a single iteration of the adjoint mean flow system.
| [in] | output | - Pointer to the COutput class. |
| [in] | integration_container | - Container vector with all the integration methods. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | numerics_container | - Description of the numerical method (the way in which the equations are solved). |
| [in] | config_container | - Definition of the particular problem. |
| [in] | surface_movement | - Surface movement classes of the problem. |
| [in] | grid_movement | - Volume grid movement classes of the problem. |
| [in] | FFDBox | - FFD FFDBoxes of the problem. |
Reimplemented from CIteration.
| void CDiscAdjMeanFlowIteration::LoadUnsteady_Solution | ( | CGeometry *** | geometry_container, |
| CSolver **** | solver_container, | ||
| CConfig ** | config_container, | ||
| unsigned short | val_iZone, | ||
| int | val_DirectIter | ||
| ) |
load unsteady solution for unsteady problems
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | config_container | - Definition of the particular problem. |
| [in] | val_iZone | - Index of the zone. |
| [in] | val_DirectIter | - Direct iteration to load. |
|
virtual |
Monitors the convergence and other metrics for the discrete adjoint mean flow system.
| [in] | ??? | - Description here. |
Reimplemented from CIteration.
|
virtual |
Outputs desired files and quantities for the discrete adjoint mean flow system.
| [in] | ??? | - Description here. |
Reimplemented from CIteration.
|
virtual |
Postprocesses the discrete adjoint mean flow system before heading to another physics system or the next iteration.
| [in] | ??? | - Description here. |
Reimplemented from CIteration.
|
virtual |
Preprocessing to prepare for an iteration of the physics.
| [in] | ??? | - Description here. |
Reimplemented from CIteration.
| void CDiscAdjMeanFlowIteration::RegisterInput | ( | CSolver **** | solver_container, |
| CGeometry *** | geometry_container, | ||
| CConfig ** | config_container, | ||
| unsigned short | iZone, | ||
| unsigned short | kind_recording | ||
| ) |
Registers all input variables of the mean flow iteration.
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | config_container | - Definition of the particular problem. |
| [in] | iZone | - Index of the zone. |
| [in] | kind_recording | - Kind of recording, either FLOW_VARIABLES or GEOMETRY_VARIABLES |
| void CDiscAdjMeanFlowIteration::RegisterOutput | ( | CSolver **** | solver_container, |
| CGeometry *** | geometry_container, | ||
| CConfig ** | config_container, | ||
| unsigned short | iZone | ||
| ) |
Registers all output variables of the mean flow iteration.
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | config_container | - Definition of the particular problem. |
| [in] | iZone | - Index of the zone. |
| void CDiscAdjMeanFlowIteration::SetDependencies | ( | CSolver **** | solver_container, |
| CGeometry *** | geometry_container, | ||
| CConfig ** | config_container, | ||
| unsigned short | iZone, | ||
| unsigned short | kind_recording | ||
| ) |
Compute necessary variables that depend on the conservative variables or the mesh node positions (e.g. turbulent variables, normals, volumes).
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | config_container | - Definition of the particular problem. |
| [in] | iZone | - Index of the zone. |
| [in] | kind_recording | - The kind of recording (geometry or flow). |
| void CDiscAdjMeanFlowIteration::SetRecording | ( | COutput * | output, |
| CIntegration *** | integration_container, | ||
| CGeometry *** | geometry_container, | ||
| CSolver **** | solver_container, | ||
| CNumerics ***** | numerics_container, | ||
| CConfig ** | config_container, | ||
| CSurfaceMovement ** | surface_movement, | ||
| CVolumetricMovement ** | grid_movement, | ||
| CFreeFormDefBox *** | FFDBox, | ||
| unsigned short | val_iZone, | ||
| unsigned short | kind_recording | ||
| ) |
Record a single iteration of the direct mean flow system.
| [in] | output | - Pointer to the COutput class. |
| [in] | integration_container | - Container vector with all the integration methods. |
| [in] | geometry_container | - Geometrical definition of the problem. |
| [in] | solver_container | - Container vector with all the solutions. |
| [in] | numerics_container | - Description of the numerical method (the way in which the equations are solved). |
| [in] | config_container | - Definition of the particular problem. |
| [in] | surface_movement | - Surface movement classes of the problem. |
| [in] | grid_movement | - Volume grid movement classes of the problem. |
| [in] | FFDBox | - FFD FFDBoxes of the problem. |
| [in] | val_iZone | - Index of the zone. |
| [in] | kind_recording | - The kind of recording (geometry or flow). |
|
virtual |
Updates the containers for the discrete adjoint mean flow system.
| [in] | ??? | - Description here. |
Reimplemented from CIteration.
1.8.12