@@ -372,11 +372,8 @@ void CFlowIncOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, CSolv
372
372
373
373
void CFlowIncOutput::SetVolumeOutputFields (CConfig *config){
374
374
375
- // Grid coordinates
376
- AddVolumeOutput (" COORD-X" , " x" , " COORDINATES" , " x-component of the coordinate vector" );
377
- AddVolumeOutput (" COORD-Y" , " y" , " COORDINATES" , " y-component of the coordinate vector" );
378
- if (nDim == 3 )
379
- AddVolumeOutput (" COORD-Z" , " z" , " COORDINATES" , " z-component of the coordinate vector" );
375
+ // Coordinates, Mesh quality metrics
376
+ AddCommonFVMOutputs (config);
380
377
381
378
// SOLUTION variables
382
379
AddVolumeOutput (" PRESSURE" , " Pressure" , " SOLUTION" , " Pressure" );
@@ -512,7 +509,6 @@ void CFlowIncOutput::SetVolumeOutputFields(CConfig *config){
512
509
AddVolumeOutput (" RECOVERED_TEMPERATURE" , " Recovered_Temperature" , " SOLUTION" , " Recovered physical temperature" );
513
510
}
514
511
515
- AddCommonFVMOutputs (config);
516
512
}
517
513
518
514
void CFlowIncOutput::LoadVolumeData (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint){
@@ -521,6 +517,7 @@ void CFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSolve
521
517
CVariable* Node_Heat = nullptr ;
522
518
CVariable* Node_Turb = nullptr ;
523
519
CVariable* Node_Rad = nullptr ;
520
+ CPoint* Node_Geo = geometry->nodes ;
524
521
525
522
if (config->GetKind_Turb_Model () != NONE){
526
523
Node_Turb = solver[TURB_SOL]->GetNodes ();
@@ -529,12 +526,8 @@ void CFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSolve
529
526
Node_Heat = solver[HEAT_SOL]->GetNodes ();
530
527
}
531
528
532
- CPoint* Node_Geo = geometry->nodes ;
533
-
534
- SetVolumeOutputValue (" COORD-X" , iPoint, Node_Geo->GetCoord (iPoint, 0 ));
535
- SetVolumeOutputValue (" COORD-Y" , iPoint, Node_Geo->GetCoord (iPoint, 1 ));
536
- if (nDim == 3 )
537
- SetVolumeOutputValue (" COORD-Z" , iPoint, Node_Geo->GetCoord (iPoint, 2 ));
529
+ // Coordinates, Mesh quality metrics
530
+ LoadCommonFVMOutputs (config, geometry, iPoint);
538
531
539
532
SetVolumeOutputValue (" PRESSURE" , iPoint, Node_Flow->GetSolution (iPoint, 0 ));
540
533
SetVolumeOutputValue (" VELOCITY-X" , iPoint, Node_Flow->GetSolution (iPoint, 1 ));
@@ -665,8 +658,6 @@ void CFlowIncOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSolve
665
658
if (heat && streamwisePeriodic_temperature)
666
659
SetVolumeOutputValue (" RECOVERED_TEMPERATURE" , iPoint, Node_Flow->GetStreamwise_Periodic_RecoveredTemperature (iPoint));
667
660
}
668
-
669
- LoadCommonFVMOutputs (config, geometry, iPoint);
670
661
}
671
662
672
663
void CFlowIncOutput::LoadSurfaceData (CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint, unsigned short iMarker, unsigned long iVertex){
0 commit comments