|
SU2
|
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... | |
Class for writing the flow, adjoint and linearized solver solution (including the history solution, and parallel stuff).
| 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.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
Deallocate temporary memory needed for merging and writing connectivity.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| void COutput::DeallocateConnectivity_Parallel | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| bool | surf_sol | ||
| ) |
Deallocate temporary memory needed for merging and writing connectivity in parallel.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
Deallocate temporary memory needed for merging and writing coordinates.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
Deallocate temporary memory needed for merging and writing output data in parallel.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
Deallocate temporary memory needed for merging and writing solution variables.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
Deallocate temporary memory needed for merging and writing output data in parallel.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| void COutput::MergeConnectivity | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Merge the geometry into a data structure used for output file writing.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_nZone | - iZone index. |
Merge the node coordinates from all processors.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| 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.
| [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. |
| void COutput::MergeSurfaceConnectivity | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | Elem_Type | ||
| ) |
Merge the connectivity for a single element type from all processors.
| [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. |
| void COutput::MergeVolumetricConnectivity | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | Elem_Type | ||
| ) |
Merge the connectivity for a single element type from all processors.
| [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. |
| void COutput::OneDimensionalOutput | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config | ||
| ) |
Writes one dimensional output.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| void COutput::SetCGNS_Connectivity | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write the element connectivity to a CGNS output file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| void COutput::SetCGNS_Coordinates | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write the x, y, & z coordinates to a CGNS output file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
Write solution data to a CGNS output file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [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. |
| void COutput::SetConvHistory_Header | ( | ofstream * | ConvHist_file, |
| CConfig * | config | ||
| ) |
Write the header of the history file.
| [in] | ConvHist_file | - Pointer to the convergence history file (which is defined in the main subroutine). |
| [in] | config | - Definition of the particular problem. |
| void COutput::SetCp_InverseDesign | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config, | ||
| unsigned long | iExtIter | ||
| ) |
Writes inverse design.
| [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. |
| void COutput::SetEquivalentArea | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config, | ||
| unsigned long | iExtIter | ||
| ) |
Writes equivalent area.
| [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. |
| void COutput::SetFieldViewASCII | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone, | ||
| unsigned short | val_nZone | ||
| ) |
Write a Tecplot ASCII solution file.
| [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. |
Write the nodal coordinates and connectivity to a Tecplot binary mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
Write the nodal coordinates and connectivity to a Tecplot binary mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [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. |
| void COutput::SetForceSections | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config, | ||
| unsigned long | iExtIter | ||
| ) |
Writes forces at different sections.
| [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. |
| void COutput::SetHeat_InverseDesign | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config, | ||
| unsigned long | iExtIter | ||
| ) |
Writes inverse design.
| [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. |
| void COutput::SetMassFlowRate | ( | CSolver * | solver_container, |
| CGeometry * | geometry, | ||
| CConfig * | config | ||
| ) |
Writes mass flow rate output at monitored marker.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| void COutput::SetRestart | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| CSolver ** | solver, | ||
| unsigned short | val_iZone | ||
| ) |
Write a native SU2 restart file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| void COutput::SetRestart_Parallel | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| CSolver ** | solver, | ||
| unsigned short | val_iZone | ||
| ) |
Write a native SU2 restart file (ASCII) in parallel.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | val_nZone | - Number of Zones. |
Write the nodal coordinates and connectivity to a Tecplot binary mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
Write the nodal coordinates and connectivity to a Tecplot binary mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [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. |
| 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.
| [in] | geometry | - Geometrical definition of the problem. |
| 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.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| 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.
| [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. |
| void COutput::SetTecplotBinary_DomainMesh | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write the nodal coordinates and connectivity to a Tecplot binary mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| void COutput::SetTecplotBinary_DomainSolution | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write solution data to a Tecplot binary volume solution file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| void COutput::SetTecplotBinary_SurfaceMesh | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write the coordinates and connectivity to a Tecplot binary surface mesh file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
| void COutput::SetTecplotBinary_SurfaceSolution | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| unsigned short | val_iZone | ||
| ) |
Write solution data to a Tecplot binary surface solution file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_iZone | - iZone index. |
Sort the connectivities (volume and surface) into data structures used for output file writing.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_nZone | - iZone index. |
Sort the output data for each grid node into a linear partitioning across all processors.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
Sort the surface output data for each grid node into a linear partitioning across all processors.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| 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.
| [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. |
| 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.
| [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. |
| void COutput::WriteSurface_Analysis | ( | CConfig * | config, |
| CGeometry * | geometry, | ||
| CSolver * | FlowSolver | ||
| ) |
Create and write the file with the flow coefficient on the surface.
| [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. |
1.8.12