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

Class for writing the flow, adjoint and linearized solver solution (including the history solution, and parallel stuff). More...

#include <output_structure.hpp>

Public Member Functions

 COutput (void)
 Constructor of the class.
 
 ~COutput (void)
 Destructor of the class.
 
void SetResult_Files (CSolver ****solver_container, CGeometry ***geometry, CConfig **config, unsigned long iExtIter, unsigned short val_nZone)
 Writes and organizes the all the output files, except the history one, for serial computations. More...
 
void SetBaselineResult_Files (CSolver **solver, CGeometry **geometry, CConfig **config, unsigned long iExtIter, unsigned short val_nZone)
 Writes and organizes the all the output files, except the history one, for serial computations. More...
 
void SetMesh_Files (CGeometry **geometry, CConfig **config, unsigned short val_nZone, bool new_file, bool su2_file)
 Writes and organizes the all the output files, except the history one, for serial computations. More...
 
void SetEquivalentArea (CSolver *solver_container, CGeometry *geometry, CConfig *config, unsigned long iExtIter)
 Writes equivalent area. More...
 
void SetCp_InverseDesign (CSolver *solver_container, CGeometry *geometry, CConfig *config, unsigned long iExtIter)
 Writes inverse design. More...
 
void SetHeat_InverseDesign (CSolver *solver_container, CGeometry *geometry, CConfig *config, unsigned long iExtIter)
 Writes inverse design. More...
 
void SetForceSections (CSolver *solver_container, CGeometry *geometry, CConfig *config, unsigned long iExtIter)
 Writes forces at different sections. More...
 
void OneDimensionalOutput (CSolver *solver_container, CGeometry *geometry, CConfig *config)
 Writes one dimensional output. More...
 
void WriteSurface_Analysis (CConfig *config, CGeometry *geometry, CSolver *FlowSolver)
 Create and write the file with the flow coefficient on the surface. More...
 
void SetMassFlowRate (CSolver *solver_container, CGeometry *geometry, CConfig *config)
 Writes mass flow rate output at monitored marker. More...
 
void SetSurfaceCSV_Flow (CConfig *config, CGeometry *geometry, CSolver *FlowSolver, unsigned long iExtIter, unsigned short val_iZone)
 Create and write the file with the flow coefficient on the surface. More...
 
void SetSurfaceCSV_Adjoint (CConfig *config, CGeometry *geometry, CSolver *AdjSolver, CSolver *FlowSolution, unsigned long iExtIter, unsigned short val_iZone)
 Create and write the file with the adjoint coefficients on the surface for serial computations. More...
 
void MergeConnectivity (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Merge the geometry into a data structure used for output file writing. More...
 
void MergeCoordinates (CConfig *config, CGeometry *geometry)
 Merge the node coordinates from all processors. More...
 
void MergeVolumetricConnectivity (CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
 Merge the connectivity for a single element type from all processors. More...
 
void MergeSurfaceConnectivity (CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
 Merge the connectivity for a single element type from all processors. More...
 
void MergeSolution (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Merge the solution into a data structure used for output file writing. More...
 
void MergeBaselineSolution (CConfig *config, CGeometry *geometry, CSolver *solver, unsigned short val_iZone)
 Merge the solution into a data structure used for output file writing. More...
 
void SetRestart (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Write a native SU2 restart file. More...
 
void SetRestart_Parallel (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Write a native SU2 restart file (ASCII) in parallel. More...
 
void SetCGNS_Coordinates (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write the x, y, & z coordinates to a CGNS output file. More...
 
void SetCGNS_Connectivity (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write the element connectivity to a CGNS output file. More...
 
void SetCGNS_Solution (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write solution data to a CGNS output file. More...
 
void SetParaview_ASCII (CConfig *config, CGeometry *geometry, unsigned short val_iZone, unsigned short val_nZone, bool surf_sol)
 Write a Paraview ASCII solution file. More...
 
void SetParaview_MeshASCII (CConfig *config, CGeometry *geometry, unsigned short val_iZone, unsigned short val_nZone, bool surf_sol, bool new_file)
 Write a Paraview ASCII solution file. More...
 
void SetTecplotASCII_LowMemory (CConfig *config, CGeometry *geometry, CSolver **solver, char mesh_filename[MAX_STRING_SIZE], bool surf_sol)
 Write a Tecplot ASCII solution file. More...
 
void SetTecplotASCII (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone, unsigned short val_nZone, bool surf_sol)
 Write a Tecplot ASCII solution file. More...
 
void SetTecplotASCII_Mesh (CConfig *config, CGeometry *geometry, bool surf_sol, bool new_file)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetTecplotASCII_Parallel (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone, unsigned short val_nZone, bool surf_sol)
 Write the solution data and connectivity to a Tecplot ASCII mesh file in parallel. More...
 
string AssembleVariableNames (CGeometry *geometry, CConfig *config, unsigned short nVar_Consv, unsigned short *NVar)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetSU2_MeshASCII (CConfig *config, CGeometry *geometry)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetSU2_MeshBinary (CConfig *config, CGeometry *geometry)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetTecplotBinary_DomainMesh (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetTecplotBinary_SurfaceMesh (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write the coordinates and connectivity to a Tecplot binary surface mesh file. More...
 
void SetTecplotBinary_DomainSolution (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write solution data to a Tecplot binary volume solution file. More...
 
void SetTecplotBinary_SurfaceSolution (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Write solution data to a Tecplot binary surface solution file. More...
 
void SetFieldViewASCII (CConfig *config, CGeometry *geometry, unsigned short val_iZone, unsigned short val_nZone)
 Write a Tecplot ASCII solution file. More...
 
void SetFieldViewASCII_Mesh (CConfig *config, CGeometry *geometry)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetFieldViewBinary_Mesh (CConfig *config, CGeometry *geometry)
 Write the nodal coordinates and connectivity to a Tecplot binary mesh file. More...
 
void SetFieldViewBinary (CConfig *config, CGeometry *geometry, unsigned short val_iZone, unsigned short val_nZone)
 Write solution data to a Tecplot binary volume solution file. More...
 
void DeallocateCoordinates (CConfig *config, CGeometry *geometry)
 Deallocate temporary memory needed for merging and writing coordinates. More...
 
void DeallocateConnectivity (CConfig *config, CGeometry *geometry, bool surf_sol)
 Deallocate temporary memory needed for merging and writing connectivity. More...
 
void DeallocateSolution (CConfig *config, CGeometry *geometry)
 Deallocate temporary memory needed for merging and writing solution variables. More...
 
void SetConvHistory_Header (ofstream *ConvHist_file, CConfig *config)
 Write the header of the history file. More...
 
void SetConvHistory_Body (ofstream *ConvHist_file, CGeometry ***geometry, CSolver ****solver_container, CConfig **config, CIntegration ***integration, bool DualTime, su2double timeused, unsigned short val_iZone)
 Write the history file and the convergence on the screen for serial computations. More...
 
void SetForces_Breakdown (CGeometry ***geometry, CSolver ****solver_container, CConfig **config, CIntegration ***integration, unsigned short val_iZone)
 Write the history file and the convergence on the screen for serial computations. More...
 
void SetCFL_Number (CSolver ****solver_container, CConfig **config, unsigned short val_iZone)
 Write the history file and the convergence on the screen for serial computations. More...
 
void SetSensitivity_Files (CGeometry **geometry, CConfig **config, unsigned short val_nZone)
 Write the sensitivity (including mesh sensitivity) computed with the discrete adjoint method on the surface and in the volume to a file. More...
 
void HarmonicBalanceOutput (CSolver ****solver_container, CConfig **config, unsigned short val_nZone, unsigned short val_iZone)
 Write the output file for harmonic balance for each time-instance. More...
 
void SetResult_Files_Parallel (CSolver ****solver_container, CGeometry ***geometry, CConfig **config, unsigned long iExtIter, unsigned short val_nZone)
 Writes and organizes the all the output files, except the history one, for parallel computations. More...
 
void LoadLocalData_Flow (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Load the desired solution data into a structure used for parallel reordering and output file writing for flow problems. More...
 
void LoadLocalData_AdjFlow (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Load the desired solution data into a structure used for parallel reordering and output file writing for adjoint flow problems. More...
 
void LoadLocalData_Elasticity (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Load the desired solution data into a structure used for parallel reordering and output file writing for elasticity problems. More...
 
void LoadLocalData_Base (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned short val_iZone)
 Load the desired solution data into a structure used for parallel reordering and output file writing for generic problems. More...
 
void SortConnectivity (CConfig *config, CGeometry *geometry, unsigned short val_iZone)
 Sort the connectivities (volume and surface) into data structures used for output file writing. More...
 
void SortVolumetricConnectivity (CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
 Sort the connectivity for a single volume element type into a linear partitioning across all processors. More...
 
void SortSurfaceConnectivity (CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
 Sort the connectivity for a single surface element type into a linear partitioning across all processors. More...
 
void SortOutputData (CConfig *config, CGeometry *geometry)
 Sort the output data for each grid node into a linear partitioning across all processors. More...
 
void SortOutputData_Surface (CConfig *config, CGeometry *geometry)
 Sort the surface output data for each grid node into a linear partitioning across all processors. More...
 
void DeallocateConnectivity_Parallel (CConfig *config, CGeometry *geometry, bool surf_sol)
 Deallocate temporary memory needed for merging and writing connectivity in parallel. More...
 
void DeallocateData_Parallel (CConfig *config, CGeometry *geometry)
 Deallocate temporary memory needed for merging and writing output data in parallel. More...
 
void DeallocateSurfaceData_Parallel (CConfig *config, CGeometry *geometry)
 Deallocate temporary memory needed for merging and writing output data in parallel. More...
 

Detailed Description

Class for writing the flow, adjoint and linearized solver solution (including the history solution, and parallel stuff).

Author
F. Palacios, T. Economon, M. Colonno.
Version
5.0.0 "Raven"

Member Function Documentation

§ AssembleVariableNames()

string COutput::AssembleVariableNames ( CGeometry geometry,
CConfig config,
unsigned short  nVar_Consv,
unsigned short *  NVar 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ DeallocateConnectivity()

void COutput::DeallocateConnectivity ( CConfig config,
CGeometry geometry,
bool  surf_sol 
)

Deallocate temporary memory needed for merging and writing connectivity.

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

§ DeallocateConnectivity_Parallel()

void COutput::DeallocateConnectivity_Parallel ( CConfig config,
CGeometry geometry,
bool  surf_sol 
)

Deallocate temporary memory needed for merging and writing connectivity in parallel.

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

§ DeallocateCoordinates()

void COutput::DeallocateCoordinates ( CConfig config,
CGeometry geometry 
)

Deallocate temporary memory needed for merging and writing coordinates.

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

§ DeallocateData_Parallel()

void COutput::DeallocateData_Parallel ( CConfig config,
CGeometry geometry 
)

Deallocate temporary memory needed for merging and writing output data in parallel.

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

§ DeallocateSolution()

void COutput::DeallocateSolution ( CConfig config,
CGeometry geometry 
)

Deallocate temporary memory needed for merging and writing solution variables.

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

§ DeallocateSurfaceData_Parallel()

void COutput::DeallocateSurfaceData_Parallel ( CConfig config,
CGeometry geometry 
)

Deallocate temporary memory needed for merging and writing output data in parallel.

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

§ HarmonicBalanceOutput()

void COutput::HarmonicBalanceOutput ( CSolver ****  solver_container,
CConfig **  config,
unsigned short  val_nZone,
unsigned short  val_iZone 
)

Write the output file for harmonic balance for each time-instance.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]config- Definition of the particular problem.
[in]val_nZone- Number of Zones.
[in]val_iZone- Zone index.

§ LoadLocalData_AdjFlow()

void COutput::LoadLocalData_AdjFlow ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Load the desired solution data into a structure used for parallel reordering and output file writing for adjoint flow problems.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ LoadLocalData_Base()

void COutput::LoadLocalData_Base ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Load the desired solution data into a structure used for parallel reordering and output file writing for generic problems.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ LoadLocalData_Elasticity()

void COutput::LoadLocalData_Elasticity ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Load the desired solution data into a structure used for parallel reordering and output file writing for elasticity problems.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ LoadLocalData_Flow()

void COutput::LoadLocalData_Flow ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Load the desired solution data into a structure used for parallel reordering and output file writing for flow problems.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ MergeBaselineSolution()

void COutput::MergeBaselineSolution ( CConfig config,
CGeometry geometry,
CSolver solver,
unsigned short  val_iZone 
)

Merge the solution into a data structure used for output file writing.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ MergeConnectivity()

void COutput::MergeConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Merge the geometry into a data structure used for output file writing.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_nZone- iZone index.

§ MergeCoordinates()

void COutput::MergeCoordinates ( CConfig config,
CGeometry geometry 
)

Merge the node coordinates from all processors.

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

§ MergeSolution()

void COutput::MergeSolution ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Merge the solution into a data structure used for output file writing.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]solution- Flow, adjoint or linearized solution.
[in]val_nZone- iZone index.

§ MergeSurfaceConnectivity()

void COutput::MergeSurfaceConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  Elem_Type 
)

Merge the connectivity for a single element type from all processors.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]Elem_Type- VTK index of the element type being merged.

§ MergeVolumetricConnectivity()

void COutput::MergeVolumetricConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  Elem_Type 
)

Merge the connectivity for a single element type from all processors.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]Elem_Type- VTK index of the element type being merged.

§ OneDimensionalOutput()

void COutput::OneDimensionalOutput ( CSolver solver_container,
CGeometry geometry,
CConfig config 
)

Writes one dimensional output.

Author
H. Kline
Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetBaselineResult_Files()

void COutput::SetBaselineResult_Files ( CSolver **  solver,
CGeometry **  geometry,
CConfig **  config,
unsigned long  iExtIter,
unsigned short  val_nZone 
)

Writes and organizes the all the output files, except the history one, for serial computations.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Total number of domains in the grid file.
[in]val_nZone- Total number of domains in the grid file.

§ SetCFL_Number()

void COutput::SetCFL_Number ( CSolver ****  solver_container,
CConfig **  config,
unsigned short  val_iZone 
)

Write the history file and the convergence on the screen for serial computations.

Parameters
[in]ConvHist_file- Pointer to the convergence history file (which is defined in the main subroutine).
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]config- Definition of the particular problem.
[in]integration- Generic subroutines for space integration, time integration, and monitoring.
[in]iExtIter- Current external (time) iteration.
[in]timeused- Current number of clock tick in the computation (related with total time).
[in]val_nZone- iZone index.

§ SetCGNS_Connectivity()

void COutput::SetCGNS_Connectivity ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write the element connectivity to a CGNS output file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetCGNS_Coordinates()

void COutput::SetCGNS_Coordinates ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write the x, y, & z coordinates to a CGNS output file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetCGNS_Solution()

void COutput::SetCGNS_Solution ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write solution data to a CGNS output file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetConvHistory_Body()

void COutput::SetConvHistory_Body ( ofstream *  ConvHist_file,
CGeometry ***  geometry,
CSolver ****  solver_container,
CConfig **  config,
CIntegration ***  integration,
bool  DualTime,
su2double  timeused,
unsigned short  val_iZone 
)

Write the history file and the convergence on the screen for serial computations.

Parameters
[in]ConvHist_file- Pointer to the convergence history file (which is defined in the main subroutine).
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]config- Definition of the particular problem.
[in]integration- Generic subroutines for space integration, time integration, and monitoring.
[in]iExtIter- Current external (time) iteration.
[in]timeused- Current number of clock tick in the computation (related with total time).
[in]val_nZone- iZone index.

§ SetConvHistory_Header()

void COutput::SetConvHistory_Header ( ofstream *  ConvHist_file,
CConfig config 
)

Write the header of the history file.

Parameters
[in]ConvHist_file- Pointer to the convergence history file (which is defined in the main subroutine).
[in]config- Definition of the particular problem.

§ SetCp_InverseDesign()

void COutput::SetCp_InverseDesign ( CSolver solver_container,
CGeometry geometry,
CConfig config,
unsigned long  iExtIter 
)

Writes inverse design.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetEquivalentArea()

void COutput::SetEquivalentArea ( CSolver solver_container,
CGeometry geometry,
CConfig config,
unsigned long  iExtIter 
)

Writes equivalent area.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetFieldViewASCII()

void COutput::SetFieldViewASCII ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone,
unsigned short  val_nZone 
)

Write a Tecplot ASCII solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- Current zone.
[in]val_nZone- Total number of zones.

§ SetFieldViewASCII_Mesh()

void COutput::SetFieldViewASCII_Mesh ( CConfig config,
CGeometry geometry 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetFieldViewBinary()

void COutput::SetFieldViewBinary ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone,
unsigned short  val_nZone 
)

Write solution data to a Tecplot binary volume solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetFieldViewBinary_Mesh()

void COutput::SetFieldViewBinary_Mesh ( CConfig config,
CGeometry geometry 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetForces_Breakdown()

void COutput::SetForces_Breakdown ( CGeometry ***  geometry,
CSolver ****  solver_container,
CConfig **  config,
CIntegration ***  integration,
unsigned short  val_iZone 
)

Write the history file and the convergence on the screen for serial computations.

Parameters
[in]ConvHist_file- Pointer to the convergence history file (which is defined in the main subroutine).
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]config- Definition of the particular problem.
[in]integration- Generic subroutines for space integration, time integration, and monitoring.
[in]iExtIter- Current external (time) iteration.
[in]timeused- Current number of clock tick in the computation (related with total time).
[in]val_nZone- iZone index.

§ SetForceSections()

void COutput::SetForceSections ( CSolver solver_container,
CGeometry geometry,
CConfig config,
unsigned long  iExtIter 
)

Writes forces at different sections.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetHeat_InverseDesign()

void COutput::SetHeat_InverseDesign ( CSolver solver_container,
CGeometry geometry,
CConfig config,
unsigned long  iExtIter 
)

Writes inverse design.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetMassFlowRate()

void COutput::SetMassFlowRate ( CSolver solver_container,
CGeometry geometry,
CConfig config 
)

Writes mass flow rate output at monitored marker.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.

§ SetMesh_Files()

void COutput::SetMesh_Files ( CGeometry **  geometry,
CConfig **  config,
unsigned short  val_nZone,
bool  new_file,
bool  su2_file 
)

Writes and organizes the all the output files, except the history one, for serial computations.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]val_nZone- Total number of domains in the grid file.

§ SetParaview_ASCII()

void COutput::SetParaview_ASCII ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone,
unsigned short  val_nZone,
bool  surf_sol 
)

Write a Paraview ASCII solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- Current zone.
[in]val_nZone- Total number of zones.

§ SetParaview_MeshASCII()

void COutput::SetParaview_MeshASCII ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone,
unsigned short  val_nZone,
bool  surf_sol,
bool  new_file 
)

Write a Paraview ASCII solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- Current zone.
[in]val_nZone- Total number of zones.

§ SetRestart()

void COutput::SetRestart ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Write a native SU2 restart file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetRestart_Parallel()

void COutput::SetRestart_Parallel ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone 
)

Write a native SU2 restart file (ASCII) in parallel.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetResult_Files()

void COutput::SetResult_Files ( CSolver ****  solver_container,
CGeometry ***  geometry,
CConfig **  config,
unsigned long  iExtIter,
unsigned short  val_nZone 
)

Writes and organizes the all the output files, except the history one, for serial computations.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Total number of domains in the grid file.
[in]val_nZone- Total number of domains in the grid file.

§ SetResult_Files_Parallel()

void COutput::SetResult_Files_Parallel ( CSolver ****  solver_container,
CGeometry ***  geometry,
CConfig **  config,
unsigned long  iExtIter,
unsigned short  val_nZone 
)

Writes and organizes the all the output files, except the history one, for parallel computations.

Parameters
[in]solver_container- Container vector with all the solutions.
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Total number of domains in the grid file.
[in]val_nZone- Total number of domains in the grid file.

§ SetSensitivity_Files()

void COutput::SetSensitivity_Files ( CGeometry **  geometry,
CConfig **  config,
unsigned short  val_nZone 
)

Write the sensitivity (including mesh sensitivity) computed with the discrete adjoint method on the surface and in the volume to a file.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.
[in]val_nZone- Number of Zones.

§ SetSU2_MeshASCII()

void COutput::SetSU2_MeshASCII ( CConfig config,
CGeometry geometry 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetSU2_MeshBinary()

void COutput::SetSU2_MeshBinary ( CConfig config,
CGeometry geometry 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetSurfaceCSV_Adjoint()

void COutput::SetSurfaceCSV_Adjoint ( CConfig config,
CGeometry geometry,
CSolver AdjSolver,
CSolver FlowSolution,
unsigned long  iExtIter,
unsigned short  val_iZone 
)

Create and write the file with the adjoint coefficients on the surface for serial computations.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]AdjSolution- Adjoint solution.
[in]FlowSolution- Flow solution.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Current zone number in the grid file.

§ SetSurfaceCSV_Flow()

void COutput::SetSurfaceCSV_Flow ( CConfig config,
CGeometry geometry,
CSolver FlowSolver,
unsigned long  iExtIter,
unsigned short  val_iZone 
)

Create and write the file with the flow coefficient on the surface.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]FlowSolution- Flow solution.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Current zone number in the grid file.

§ SetTecplotASCII()

void COutput::SetTecplotASCII ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone,
unsigned short  val_nZone,
bool  surf_sol 
)

Write a Tecplot ASCII solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- Current zone.
[in]val_nZone- Total number of zones.

§ SetTecplotASCII_LowMemory()

void COutput::SetTecplotASCII_LowMemory ( CConfig config,
CGeometry geometry,
CSolver **  solver,
char  mesh_filename[MAX_STRING_SIZE],
bool  surf_sol 
)

Write a Tecplot ASCII solution file.

Parameters
[in]geometry- Geometrical definition of the problem.

§ SetTecplotASCII_Mesh()

void COutput::SetTecplotASCII_Mesh ( CConfig config,
CGeometry geometry,
bool  surf_sol,
bool  new_file 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetTecplotASCII_Parallel()

void COutput::SetTecplotASCII_Parallel ( CConfig config,
CGeometry geometry,
CSolver **  solver,
unsigned short  val_iZone,
unsigned short  val_nZone,
bool  surf_sol 
)

Write the solution data and connectivity to a Tecplot ASCII mesh file in parallel.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- Current zone.
[in]val_nZone- Total number of zones.
[in]surf_sol- Flag controlling whether this is a volume or surface file.

§ SetTecplotBinary_DomainMesh()

void COutput::SetTecplotBinary_DomainMesh ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write the nodal coordinates and connectivity to a Tecplot binary mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetTecplotBinary_DomainSolution()

void COutput::SetTecplotBinary_DomainSolution ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write solution data to a Tecplot binary volume solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetTecplotBinary_SurfaceMesh()

void COutput::SetTecplotBinary_SurfaceMesh ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write the coordinates and connectivity to a Tecplot binary surface mesh file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SetTecplotBinary_SurfaceSolution()

void COutput::SetTecplotBinary_SurfaceSolution ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Write solution data to a Tecplot binary surface solution file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_iZone- iZone index.

§ SortConnectivity()

void COutput::SortConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  val_iZone 
)

Sort the connectivities (volume and surface) into data structures used for output file writing.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_nZone- iZone index.

§ SortOutputData()

void COutput::SortOutputData ( CConfig config,
CGeometry geometry 
)

Sort the output data for each grid node into a linear partitioning across all processors.

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

§ SortOutputData_Surface()

void COutput::SortOutputData_Surface ( CConfig config,
CGeometry geometry 
)

Sort the surface output data for each grid node into a linear partitioning across all processors.

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

§ SortSurfaceConnectivity()

void COutput::SortSurfaceConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  Elem_Type 
)

Sort the connectivity for a single surface element type into a linear partitioning across all processors.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]Elem_Type- VTK index of the element type being merged.

§ SortVolumetricConnectivity()

void COutput::SortVolumetricConnectivity ( CConfig config,
CGeometry geometry,
unsigned short  Elem_Type 
)

Sort the connectivity for a single volume element type into a linear partitioning across all processors.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]Elem_Type- VTK index of the element type being merged.

§ WriteSurface_Analysis()

void COutput::WriteSurface_Analysis ( CConfig config,
CGeometry geometry,
CSolver FlowSolver 
)

Create and write the file with the flow coefficient on the surface.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]FlowSolution- Flow solution.
[in]iExtIter- Current external (time) iteration.
[in]val_iZone- Current zone number in the grid file.

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