Skip to content

Commit a96176f

Browse files
authored
Align Paraview multiblock output filename with other volume output filenames. (#1930)
1 parent f33b248 commit a96176f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

SU2_CFD/src/output/COutput.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,8 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
557557

558558
extension = CParaviewVTMFileWriter::fileExt;
559559

560-
/*--- The file name of the multiblock file is the case name (i.e. the config file name w/o ext.) ---*/
561-
562-
fileName = config->GetUnsteady_FileName(config->GetCaseName(), curTimeIter, "");
560+
if (fileName.empty())
561+
fileName = config->GetUnsteady_FileName(volumeFilename, curTimeIter, "");
563562

564563
if (!config->GetWrt_Volume_Overwrite())
565564
filename_iter = config->GetFilename_Iter(fileName,curInnerIter, curOuterIter);

0 commit comments

Comments
 (0)