SU2
Public Member Functions | List of all members
CSingleGridIntegration Class Reference

Class for doing the numerical integration of the turbulence model. More...

#include <integration_structure.hpp>

Inheritance diagram for CSingleGridIntegration:
CIntegration

Public Member Functions

 CSingleGridIntegration (CConfig *config)
 Constructor of the class. More...
 
 ~CSingleGridIntegration (void)
 Destructor of the class.
 
void SingleGrid_Iteration (CGeometry ***geometry, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned long Iteration, unsigned short iZone)
 Do the numerical integration (implicit) of the turbulence solver. More...
 
void SetRestricted_Solution (unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config)
 Restrict solution from fine grid to a coarse grid. More...
 
void SetRestricted_EddyVisc (unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config)
 Restrict solution from fine grid to a coarse grid. More...
 
- Public Member Functions inherited from CIntegration
 CIntegration (CConfig *config)
 Constructor of the class.
 
virtual ~CIntegration (void)
 Destructor of the class.
 
void Space_Integration (CGeometry *geometry, CSolver **solver_container, CNumerics **numerics, CConfig *config, unsigned short iMesh, unsigned short iRKStep, unsigned short RunTime_EqSystem)
 Do the space integration of the numerical system. More...
 
void Space_Integration_FEM (CGeometry *geometry, CSolver **solver_container, CNumerics **numerics, CConfig *config, unsigned short RunTime_EqSystem, unsigned long Iteration)
 Do the space integration of the numerical system on a FEM framework. More...
 
void Time_Integration (CGeometry *geometry, CSolver **solver_container, CConfig *config, unsigned short iRKStep, unsigned short RunTime_EqSystem, unsigned long Iteration)
 Do the time integration (explicit or implicit) of the numerical system. More...
 
void Time_Integration_FEM (CGeometry *geometry, CSolver **solver_container, CNumerics **numerics, CConfig *config, unsigned short RunTime_EqSystem, unsigned long Iteration)
 Do the time integration (explicit or implicit) of the numerical system on a FEM framework. More...
 
void Adjoint_Setup (CGeometry ***geometry, CSolver ****solver_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned long Iteration, unsigned short iZone)
 Initialize the adjoint solution using the primal problem. More...
 
void Convergence_Monitoring (CGeometry *geometry, CConfig *config, unsigned long Iteration, su2double monitor, unsigned short iMesh)
 Do the convergence analisys to determine if the code must stop the execution. More...
 
void Convergence_Monitoring_FEM (CGeometry *geometry, CConfig *config, CSolver *solver, unsigned long iFSIIter)
 Do the convergence analysis to determine if the structural FEM analysis has converged. More...
 
void Convergence_Monitoring_FSI (CGeometry *fea_geometry, CConfig *fea_config, CSolver *fea_solver, unsigned long iFSIIter)
 Do the convergence analysis to determine if the FSI problem has converged on the structural side. More...
 
su2double GetCauchy_Value (void)
 Get the value of the convergence. More...
 
bool GetConvergence (void)
 Get the indicator of the convergence for the direct, adjoint and linearized problem. More...
 
bool GetConvergence_FSI (void)
 Get the indicator of the convergence for the Fluid-Structure Interaction problem. More...
 
void SetConvergence (bool value)
 Set the indicator of the convergence. More...
 
void SetConvergence_FSI (bool valueFSI)
 Set the indicator of the convergence for FSI. More...
 
bool GetConvergence_FullMG (void)
 Get the indicator of the convergence for the full multigrid problem. More...
 
void SetDualTime_Solver (CGeometry *geometry, CSolver *solver, CConfig *config, unsigned short iMesh)
 Save the solution, and volume at different time steps. More...
 
void SetStructural_Solver (CGeometry *geometry, CSolver *solver, CConfig *config, unsigned short iMesh)
 Save the structural solution at different time steps. More...
 
void SetFEM_StructuralSolver (CGeometry *geometry, CSolver **solver_container, CConfig *config, unsigned short iMesh)
 Save the structural solution at different time steps. More...
 
virtual void MultiGrid_Iteration (CGeometry ***geometry, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned long Iteration, unsigned short iZone)
 A virtual member. More...
 
virtual void MultiGrid_Cycle (CGeometry ***geometry, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config, unsigned short iMesh, unsigned short mu, unsigned short RunTime_EqSystem, unsigned long Iteration, unsigned short iZone)
 A virtual member. More...
 
virtual void NonDimensional_Parameters (CGeometry **geometry, CSolver ***solver_container, CNumerics ****numerics_container, CConfig *config, unsigned short FinestMesh, unsigned short RunTime_EqSystem, unsigned long Iteration, su2double *monitor)
 A virtual member. More...
 
virtual void SetProlongated_Correction (CSolver *sol_fine, CGeometry *geo_fine, CConfig *config, unsigned short iMesh)
 A virtual member. More...
 
virtual void SetProlongated_Solution (unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config)
 A virtual member. More...
 
virtual void SetRestricted_Residual (CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config)
 A virtual member. More...
 
virtual void SetRestricted_Gradient (unsigned short RunTime_EqSystem, CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config)
 A virtual member. More...
 
virtual void SetResidual_Term (CGeometry *geometry, CSolver *flow)
 A virtual member. More...
 
virtual void SetForcing_Term (CSolver *sol_fine, CSolver *sol_coarse, CGeometry *geo_fine, CGeometry *geo_coarse, CConfig *config, unsigned short iMesh)
 A virtual member. More...
 
virtual void Structural_Iteration (CGeometry ***geometry, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned long Iteration, unsigned short iZone)
 A virtual member. More...
 
virtual void SetPotential_Solver (CGeometry ***geometry, CSolver ****solver_container, CNumerics *****numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned short iMesh, unsigned short iZone)
 A virtual member. More...
 
virtual void Smooth_Solution (unsigned short RunTime_EqSystem, CSolver *solver, CGeometry *geometry, unsigned short val_nSmooth, su2double val_smooth_coeff, CConfig *config)
 A virtual member. More...
 

Additional Inherited Members

- Protected Attributes inherited from CIntegration
su2double Cauchy_Value
 Summed value of the convergence indicator.
 
su2double Cauchy_Func
 Current value of the convergence indicator at one iteration.
 
unsigned short Cauchy_Counter
 Number of elements of the Cauchy serial.
 
su2double * Cauchy_Serie
 Complete Cauchy serial.
 
su2double Old_Func
 Old value of the objective function (the function which is monitored).
 
su2double New_Func
 Current value of the objective function (the function which is monitored).
 
bool Convergence
 To indicate if the flow solver (direct, adjoint, or linearized) has converged or not.
 
bool Convergence_FSI
 To indicate if the FSI problem has converged or not.
 
bool Convergence_FullMG
 To indicate if the Full Multigrid has converged and it is necessary to add a new level.
 
su2double InitResidual
 Initial value of the residual to evaluate the convergence level.
 

Detailed Description

Class for doing the numerical integration of the turbulence model.

Author
A. Bueno.
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CSingleGridIntegration()

CSingleGridIntegration::CSingleGridIntegration ( CConfig config)

Constructor of the class.

Parameters
[in]config- Definition of the particular problem.

Member Function Documentation

§ SetRestricted_EddyVisc()

void CSingleGridIntegration::SetRestricted_EddyVisc ( unsigned short  RunTime_EqSystem,
CSolver sol_fine,
CSolver sol_coarse,
CGeometry geo_fine,
CGeometry geo_coarse,
CConfig config 
)
virtual

Restrict solution from fine grid to a coarse grid.

Parameters
[in]RunTime_EqSystem- System of equations which is going to be solved.
[in]sol_fine- Pointer to the solution on the fine grid.
[out]sol_coarse- Pointer to the solution on the coarse grid.
[in]geo_fine- Geometrical definition of the fine grid.
[in]geo_coarse- Geometrical definition of the coarse grid.
[in]config- Definition of the particular problem.
[in]iMesh- Index of the mesh in multigrid computations.
[in]InclSharedDomain- Include the shared domain in the interpolation.

Reimplemented from CIntegration.

§ SetRestricted_Solution()

void CSingleGridIntegration::SetRestricted_Solution ( unsigned short  RunTime_EqSystem,
CSolver sol_fine,
CSolver sol_coarse,
CGeometry geo_fine,
CGeometry geo_coarse,
CConfig config 
)
virtual

Restrict solution from fine grid to a coarse grid.

Parameters
[in]RunTime_EqSystem- System of equations which is going to be solved.
[in]sol_fine- Pointer to the solution on the fine grid.
[out]sol_coarse- Pointer to the solution on the coarse grid.
[in]geo_fine- Geometrical definition of the fine grid.
[in]geo_coarse- Geometrical definition of the coarse grid.
[in]config- Definition of the particular problem.
[in]iMesh- Index of the mesh in multigrid computations.
[in]InclSharedDomain- Include the shared domain in the interpolation.

Reimplemented from CIntegration.

§ SingleGrid_Iteration()

void CSingleGridIntegration::SingleGrid_Iteration ( CGeometry ***  geometry,
CSolver ****  solver_container,
CNumerics *****  numerics_container,
CConfig **  config,
unsigned short  RunTime_EqSystem,
unsigned long  Iteration,
unsigned short  iZone 
)
virtual

Do the numerical integration (implicit) of the turbulence solver.

Parameters
[in]geometry- 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- Definition of the particular problem.
[in]RunTime_EqSystem- System of equations which is going to be solved.
[in]Iteration- Current iteration.

Reimplemented from CIntegration.


The documentation for this class was generated from the following files: