|
| | CSinglezoneDriver (char *confFile, unsigned short val_nZone, SU2_Comm MPICommunicator) |
| | Constructor of the class.
|
| |
| | ~CSinglezoneDriver (void) override |
| | Destructor of the class.
|
| |
| void | StartSolver () override |
| | [Overload] Launch the computation for single-zone problems.
|
| |
| void | Preprocess (unsigned long TimeIter) override |
| | Preprocess the single-zone iteration.
|
| |
| void | Run () override |
| | Run the iteration for ZONE_0.
|
| |
| virtual void | Postprocess () |
| | Postprocess the iteration for ZONE_0.
|
| |
| void | Update () override |
| | Update the dual-time solution within multiple zones.
|
| |
| void | Output (unsigned long TimeIter) override |
| | Output the solution in solution file.
|
| |
| void | DynamicMeshUpdate (unsigned long TimeIter) override |
| | Perform a dynamic mesh deformation, included grid velocity computation and the update of the multigrid structure.
|
| |
| void | SetInitialMesh () override |
| | Perform a mesh deformation as initial condition.
|
| |
| bool | Monitor (unsigned long TimeIter) override |
| | Monitor.
|
| |
| | CDriver (char *confFile, unsigned short val_nZone, SU2_Comm MPICommunicator, bool dummy_geo) |
| | Constructor of the class.
|
| |
| | ~CDriver (void) override |
| | Destructor of the class.
|
| |
| template<class Container , bool Old = false> |
| void | SetAllSolutions (unsigned short iZone, bool adjoint, const Container &solution) |
| | Set the solution of all solvers (adjoint or primal) in a zone.
|
| |
| template<class Container > |
| void | SetAllSolutionsOld (unsigned short iZone, bool adjoint, const Container &solution) |
| | Set the "old solution" of all solvers (adjoint or primal) in a zone.
|
| |
| template<class Container > |
| void | GetAllSolutions (unsigned short iZone, bool adjoint, Container &solution) const |
| | Get the solution of all solvers (adjoint or primal) in a zone.
|
| |
| unsigned short | GetTotalNumberOfVariables (unsigned short iZone, bool adjoint) const |
| | Sum the number of primal or adjoint variables for all solvers in a given zone.
|
| |
| void | Finalize () override |
| | Deallocation routine.
|
| |
| void | BoundaryConditionsUpdate () |
| | Process the boundary conditions and update the multi-grid structure.
|
| |
| unsigned long | GetNumberTimeIter () const |
| | Get the number of time iterations.
|
| |
| unsigned long | GetTimeIter () const |
| | Get the current time iteration.
|
| |
| passivedouble | GetUnsteadyTimeStep () const |
| | Get the unsteady time step.
|
| |
| string | GetSurfaceFileName () const |
| | Get the name of the output file for the surface.
|
| |
| void | SetHeatSourcePosition (passivedouble alpha, passivedouble pos_x, passivedouble pos_y, passivedouble pos_z) |
| | Set the position of the heat source.
|
| |
| void | SetInletAngle (unsigned short iMarker, passivedouble alpha) |
| | Set the direction of the inlet.
|
| |
| void | SetFarFieldAoA (passivedouble alpha) |
| | Set the angle of attack of the farfield.
|
| |
| void | SetFarFieldAoS (passivedouble beta) |
| | Set the angle of sideslip of the farfield.
|
| |
| void | SetTranslationRate (passivedouble xDot, passivedouble yDot, passivedouble zDot) |
| | Set the dynamic mesh translation rates.
|
| |
| void | SetRotationRate (passivedouble rot_x, passivedouble rot_y, passivedouble rot_z) |
| | Set the dynamic mesh rotation rates.
|
| |
| void | SetMarkerRotationRate (unsigned short iMarker, passivedouble rot_x, passivedouble rot_y, passivedouble rot_z) |
| | Set the moving wall marker rotation rates.
|
| |
| void | SetMarkerTranslationRate (unsigned short iMarker, passivedouble vel_x, passivedouble vel_y, passivedouble vel_z) |
| | Set the moving wall marker translation rates.
|
| |
| passivedouble | GetDensityFreeStreamND () const |
| | Get the Freestream Density for nondimensionalization.
|
| |
| passivedouble | GetForceRef () const |
| | Get the reference Body force for nondimensionalization.
|
| |
| | CDriverBase (char *confFile, unsigned short val_nZone, SU2_Comm MPICommunicator) |
| | Constructor of the class.
|
| |
| virtual | ~CDriverBase (void) |
| | Destructor of the class.
|
| |
| vector< string > | GetOutputNames () const |
| | Get the list of available outputs.
|
| |
| passivedouble | GetOutputValue (const std::string &output_name) const |
| | Get the value of one of the available history outputs.
|
| |
| vector< string > | GetMarkerOutputNames () const |
| | Get the list of available surface outputs on both MARKER_MONITORING and MARKER_ANALYZE.
|
| |
| passivedouble | GetMarkerMonitoringOutputValue (const std::string &output_name, const std::string &marker_monitoring) const |
| | Get the value of one of the available surface outputs at a given MARKER_MONITORING.
|
| |
| passivedouble | GetMarkerAnalyzeOutputValue (const std::string &output_name, const std::string &marker_analyze) const |
| | Get the value of one of the available surface outputs at a given MARKER_ANALYZE.
|
| |
| unsigned short | GetNumberDesignVariables () const |
| | Get the number of design variables.
|
| |
| unsigned short | GetNumberFFDBoxes () const |
| | Get the number of FFD boxes.
|
| |
| unsigned long | GetNumberDimensions () const |
| | Get the number of dimensions of the mesh.
|
| |
| unsigned long | GetNumberElements () const |
| | Get the number of elements in the mesh.
|
| |
| unsigned long | GetElementGlobalIndex (unsigned long iElem) const |
| | Get the global index of a mesh element.
|
| |
| vector< unsigned long > | GetElementNodes (unsigned long iElem) const |
| | Get the node indices of a mesh element.
|
| |
| unsigned long | GetNumberNodes () const |
| | Get the number of nodes in the mesh (including halos).
|
| |
| unsigned long | GetNumberHaloNodes () const |
| | Get the number of halo nodes in the mesh.
|
| |
| unsigned long | GetNodeGlobalIndex (unsigned long iPoint) const |
| | Get the global node index.
|
| |
| bool | GetNodeDomain (unsigned long iPoint) const |
| | Get the halo flag of a mesh node.
|
| |
| CPyWrapperMatrixView | InitialCoordinates () const |
| | Get a read-only view of the initial (undeformed) coordinates of all mesh nodes.
|
| |
| CPyWrapperMarkerMatrixView | MarkerInitialCoordinates (unsigned short iMarker) const |
| | Get a read-only view of the initial (undeformed) coordinates of the mesh nodes of a marker.
|
| |
| CPyWrapperMatrixView | Coordinates () |
| | Get a read/write view of the current coordinates of all mesh nodes.
|
| |
| CPyWrapperMarkerMatrixView | MarkerCoordinates (unsigned short iMarker) |
| | Get a read/write view of the current coordinates of the mesh nodes of a marker.
|
| |
| unsigned short | GetNumberMarkers () const |
| | Get the number of markers in the mesh.
|
| |
| map< string, unsigned short > | GetMarkerIndices () const |
| | Get all the boundary markers tags with their associated indices.
|
| |
| map< string, string > | GetMarkerTypes () const |
| | Get all the boundary markers tags with their associated types.
|
| |
| vector< string > | GetMarkerTags () const |
| | Get all the boundary marker tags.
|
| |
| vector< string > | GetDeformableMarkerTags () const |
| | Get all the deformable boundary marker tags.
|
| |
| vector< string > | GetCHTMarkerTags () const |
| | Get all the CHT boundary marker tags.
|
| |
| vector< string > | GetInletMarkerTags () const |
| | Get all the inlet boundary marker tags.
|
| |
| unsigned long | GetNumberMarkerElements (unsigned short iMarker) const |
| | Get the number of elements in the marker.
|
| |
| unsigned long | GetMarkerElementGlobalIndex (unsigned short iMarker, unsigned long iElem) const |
| | Get the global index of a marker element.
|
| |
| vector< unsigned long > | GetMarkerElementNodes (unsigned short iMarker, unsigned long iElem) const |
| | Get the node indices of a marker element.
|
| |
| unsigned long | GetNumberMarkerNodes (unsigned short iMarker) const |
| | Get the number of nodes in the marker.
|
| |
| unsigned long | GetMarkerNode (unsigned short iMarker, unsigned long iVertex) const |
| | Get the node index of a marker.
|
| |
| vector< passivedouble > | GetMarkerVertexNormals (unsigned short iMarker, unsigned long iVertex, bool normalize=false) const |
| | Get the normal vector of a marker vertex.
|
| |
| vector< passivedouble > | GetMarkerDisplacement (unsigned short iMarker, unsigned long iVertex) const |
| | Get the displacements currently imposed of a marker vertex.
|
| |
| void | SetMarkerCustomDisplacement (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > values) |
| | Set the mesh displacements of a marker vertex.
|
| |
| vector< passivedouble > | GetMarkerMeshVelocity (unsigned short iMarker, unsigned long iVertex) const |
| | Get the mesh velocities currently imposed on a marker vertex.
|
| |
| void | SetMarkerCustomMeshVelocity (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > values) |
| | Set the velocities of a marker vertex.
|
| |
| void | CommunicateMeshDisplacements (void) |
| | Communicate the boundary mesh displacements.
|
| |
| map< string, unsigned short > | GetSolverIndices () const |
| | Get all the active solver names with their associated indices (which can be used to access their data).
|
| |
| map< string, unsigned short > | GetFEASolutionIndices () const |
| | Get the structural solver solution variable names with their associated indices. These correspond to the column indices in the matrix returned by e.g. Solution().
|
| |
| CPyWrapperMatrixView | Solution (unsigned short iSolver) |
| | Get a read/write view of the current solution on all mesh nodes of a solver.
|
| |
| CPyWrapper3DMatrixView | Gradient (unsigned short iSolver) |
| | Get read/write view of the gradients of a solver variable in a point.
|
| |
| CPyWrapperMatrixView | UserDefinedSource (unsigned short iSolver) |
| | Get a read/write view of the user defined source on all mesh nodes of a solver.
|
| |
| CPyWrapperMarkerMatrixView | MarkerSolution (unsigned short iSolver, unsigned short iMarker) |
| | Get a read/write view of the current solution on the mesh nodes of a marker.
|
| |
| CPyWrapperMatrixView | SolutionTimeN (unsigned short iSolver) |
| | Get a read/write view of the solution at time N on all mesh nodes of a solver.
|
| |
| CPyWrapperMarkerMatrixView | MarkerSolutionTimeN (unsigned short iSolver, unsigned short iMarker) |
| | Get a read/write view of the solution at time N on the mesh nodes of a marker.
|
| |
| CPyWrapperMatrixView | SolutionTimeN1 (unsigned short iSolver) |
| | Get a read/write view of the solution at time N-1 on all mesh nodes of a solver.
|
| |
| CPyWrapperMarkerMatrixView | MarkerSolutionTimeN1 (unsigned short iSolver, unsigned short iMarker) |
| | Get a read/write view of the solution at time N-1 on the mesh nodes of a marker.
|
| |
| map< string, unsigned short > | GetPrimitiveIndices () const |
| | Get the flow solver primitive variable names with their associated indices. These correspond to the column indices in the matrix returned by Primitives.
|
| |
| CPyWrapperMatrixView | Primitives () |
| | Get a read/write view of the current primitive variables on all mesh nodes of the flow solver.
|
| |
| CPyWrapperMarkerMatrixView | MarkerPrimitives (unsigned short iMarker) |
| | Get a read/write view of the current primitive variables on the mesh nodes of a marker.
|
| |
| CPyWrapperMatrixView | Sensitivity (unsigned short iSolver) |
| | Get a read-only view of the geometry sensitivity of a discrete adjoint solver.
|
| |
| void | SetMarkerCustomTemperature (unsigned short iMarker, unsigned long iVertex, passivedouble WallTemp) |
| | Set the temperature of a vertex on a specified marker (MARKER_PYTHON_CUSTOM).
|
| |
| void | SetMarkerCustomNormalHeatFlux (unsigned short iMarker, unsigned long iVertex, passivedouble WallHeatFlux) |
| | Set the wall normal heat flux at a vertex on a specified marker (MARKER_PYTHON_CUSTOM).
|
| |
| void | SetMarkerCustomScalar (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > WallScalar) |
| | Set the wall normal scalar values at a vertex on a specified marker (MARKER_PYTHON_CUSTOM).
|
| |
| void | SelectZone (unsigned short iZone) |
| | Selects zone to be used for python driver operations.
|
| |
| unsigned short | SelectedZone () const |
| | Returns the index of the zone selected for python driver operations.
|
| |
| passivedouble | GetMarkerNormalHeatFlux (unsigned short iSolver, unsigned short iMarker, unsigned long iVertex) const |
| | Get the wall normal heat flux at a vertex on a specified marker of the flow or heat solver.
|
| |
| void | SetMarkerCustomFEALoad (unsigned short iMarker, unsigned long iVertex, std::vector< passivedouble > force) |
| | Sets the nodal force for the structural solver at a vertex of a marker.
|
| |
| vector< passivedouble > | GetMarkerFlowLoad (unsigned short iMarker, unsigned long iVertex) const |
| | Get the fluid force at a vertex of a solid wall marker of the flow solver.
|
| |
| void | SetMarkerCustomFlowLoadAdjoint (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > adjointLoad) |
| | Set the adjoint of the flow tractions of the flow solver.
|
| |
| vector< passivedouble > | GetMarkerDisplacementSensitivity (unsigned short iMarker, unsigned long iVertex) const |
| | Get the sensitivities of the displacements of the mesh boundary vertices.
|
| |
| vector< passivedouble > | GetMarkerFEALoadSensitivity (unsigned short iMarker, unsigned long iVertex) const |
| | Get the sensitivity of the FEA loads of the structural solver (via the adjoint structural solver).
|
| |
| void | SetMarkerCustomFEADisplacementAdjoint (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > adjointDisplacement) |
| | Set the adjoint of the structural displacements.
|
| |
| void | SetMarkerCustomFEAVelocityAdjoint (unsigned short iMarker, unsigned long iVertex, vector< passivedouble > adjointVelocity) |
| | Set the adjoint of the structural velocities.
|
| |
| void | SetMarkerCustomInletFlowVar0 (unsigned short iMarker, unsigned long iVertex, passivedouble value) |
| | Set the first variable in MARKER_INLET (usually temperature).
|
| |
| void | SetMarkerCustomInletFlowVar1 (unsigned short iMarker, unsigned long iVertex, passivedouble value) |
| | Set the second variable in MARKER_INLET (usually total pressure).
|
| |
| void | SetMarkerCustomInletFlowDirection (unsigned short iMarker, unsigned long iVertex, std::vector< passivedouble > values) |
| | Set the flow direction vector (does not need to be a unit vector).
|
| |
|
| virtual bool | GetTimeConvergence () const |
| | Returns whether all specified windowed-time-averaged ouputs have been converged.
|
| |
| void | InitializeContainers () |
| | Initialize containers.
|
| |
| void | PreprocessInput (CConfig **&config, CConfig *&driver_config) |
| | Read in the config and mesh files.
|
| |
| void | InitializeGeometry (CConfig *config, CGeometry **&geometry, bool dummy) |
| | Construction of the edge-based data structure and the multi-grid structure.
|
| |
| void | InitializeGeometryDGFEM (CConfig *config, CGeometry **&geometry) |
| | Do the geometrical preprocessing for the DG FEM solver.
|
| |
| void | InitializeGeometryFVM (CConfig *config, CGeometry **&geometry) |
| | InitializeGeometryFVM.
|
| |
| void | PreprocessIteration (CConfig *config, CIteration *&iteration) const |
| | Definition of the physics iteration class or within a single zone.
|
| |
| void | InitializeSolver (CConfig *config, CGeometry **geometry, CSolver ***&solver) |
| | Definition and allocation of all solution classes.
|
| |
| void | PreprocessInlet (CSolver ***solver, CGeometry **geometry, CConfig *config) const |
| | Preprocess the inlets via file input for all solvers.
|
| |
| void | RestartSolver (CSolver ***solver, CGeometry **geometry, CConfig *config, bool update_geo) |
| | Restart of the solvers from the restart files.
|
| |
| void | FinalizeSolver (CSolver ****solver, CGeometry **geometry, CConfig *config, unsigned short val_iInst) |
| | Definition and allocation of all solution classes.
|
| |
| void | InitializeIntegration (CConfig *config, CSolver **solver, CIntegration **&integration) const |
| | Definition and allocation of all integration classes.
|
| |
| void | FinalizeIntegration (CIntegration ***integration, CGeometry **geometry, CConfig *config, unsigned short val_iInst) |
| | Definition and allocation of all integration classes.
|
| |
| void | InitializeInterface (CConfig **config, CSolver *****solver, CGeometry ****geometry, unsigned short **interface_types, CInterface ***interface, vector< vector< unique_ptr< CInterpolator > > > &interpolation) |
| | Definition and allocation of all interface classes.
|
| |
| void | InitializeNumerics (CConfig *config, CGeometry **geometry, CSolver ***solver, CNumerics ****&numerics) const |
| | Definition and allocation of all solver classes.
|
| |
| template<class FlowIndices > |
| void | InstantiateTurbulentNumerics (unsigned short nVar_Turb, int offset, const CConfig *config, const CSolver *turb_solver, CNumerics ****&numerics) const |
| | Helper to instantiate turbulence numerics specialized for different flow solvers.
|
| |
| template<class FlowIndices > |
| void | InstantiateTransitionNumerics (unsigned short nVar_Trans, int offset, const CConfig *config, const CSolver *trans_solver, CNumerics ****&numerics) const |
| | Helper to instantiate transition numerics specialized for different flow solvers.
|
| |
| template<class FlowIndices > |
| void | InstantiateSpeciesNumerics (unsigned short nVar_Species, int offset, const CConfig *config, const CSolver *species_solver, CNumerics ****&numerics) const |
| | Helper to instantiate species transport numerics specialized for different flow solvers.
|
| |
| void | FinalizeNumerics (CNumerics *****numerics, CSolver ***solver, CGeometry **geometry, CConfig *config, unsigned short val_iInst) |
| | Definition and allocation of all solver classes.
|
| |
| void | PreprocessDynamicMesh (CConfig *config, CGeometry **geometry, CSolver ***solver, CIteration *iteration, CVolumetricMovement *&grid_movement, CSurfaceMovement *&surface_movement) const |
| | GridMovement_Preprocessing.
|
| |
| void | PreprocessPythonInterface (CConfig **config, CGeometry ****geometry, CSolver *****solver) |
| | Initialize Python interface functionalities. When using multigrid, it is important to call this after modifying custom boundary values.
|
| |
| void | PreprocessOutput (CConfig **config, CConfig *driver_config, COutput **&output_container, COutput *&driver_output) |
| | Preprocess the output container.
|
| |
| void | PreprocessStaticMesh (const CConfig *config, CGeometry **geometry) |
| | Initiate value for static mesh movement such as the gridVel for the ROTATING frame.
|
| |
| void | PreprocessTurbomachinery (CConfig **config, CGeometry ****geometry, CSolver *****solver, CInterface ***interface, CIteration ***iteration, bool dummy) |
| | Initiate value for static mesh movement such as the gridVel for the ROTATING frame.
|
| |
| void | PreprocessTurboVertex (CConfig **config, CGeometry ****geometry, CSolver *****solver, CInterface ***interface, CIteration ***iteration, bool dummy) |
| |
| virtual void | PredictDisplacements (unsigned short donorZone, unsigned short targetZone) |
| | A virtual member.
|
| |
| virtual void | PredictTractions (unsigned short donorZone, unsigned short targetZone) |
| | A virtual member.
|
| |
| virtual void | TransferDisplacements (unsigned short donorZone, unsigned short targetZone) |
| | A virtual member.
|
| |
| virtual void | TransferTractions (unsigned short donorZone, unsigned short targetZone) |
| | A virtual member.
|
| |
| virtual void | RelaxationDisplacements (unsigned short donorZone, unsigned short targetZone, unsigned long iOuterIter) |
| | A virtual member.
|
| |
| virtual void | RelaxationTractions (unsigned short donorZone, unsigned short targetZone, unsigned long iOuterIter) |
| | A virtual member.
|
| |
| void | PrintDirectResidual (RECORDING kind_recording) |
| | Print out the direct residuals.
|
| |
| CSolver * | GetSolverAndCheckMarker (unsigned short iSolver, unsigned short iMarker=std::numeric_limits< unsigned short >::max()) const |
| | Automates some boilerplate of accessing solution fields for the python wrapper.
|
| |
| void | InitializeContainers () |
| | Initialize containers.
|
| |
| void | CommonFinalize () |
| | Delete containers.
|
| |
| void | InputPreprocessing (CConfig **&config, CConfig *&driver_config) |
| | Read in the config and mesh files.
|
| |
| void | InitializeGeometry (CConfig *config, CGeometry **&geometry, bool dummy) |
| | Construction of the edge-based data structure and the multi-grid structure.
|
| |
| void | InitializeSolver (CConfig *config, CGeometry **geometry, CSolver ***&solver) |
| | Definition and allocation of all solution classes.
|
| |
| void | InitializeNumerics (CConfig *config, CGeometry **geometry, CSolver ***solver, CNumerics ****&numerics) const |
| | Definition and allocation of all solver classes.
|
| |
| void | OutputPreprocessing (CConfig **config, CConfig *driver_config, COutput **&output_container, COutput *&driver_output) |
| | Preprocess the output container.
|
| |