ENH: noiseModels - re-worked output directories to avoid clashes. Fixes
Both point- and surfaceNoise utilities can operate on multiple input files. However, if the files had the same name, the output would be overwritten. To avoid this, the output files are now written to a sub-directory including the path '/input<input-file-index>/', e.g. postProcessing/noise/surfaceNoise/input0/nearWall/[fft|oneThirdOctave] An optional 'outputPrefix' can be included (defaults to empty), e.g. when set to 'test1': postProcessing/noise/test1/surfaceNoise/input0/nearWall/[fft|oneThirdOctave]
parent
f2903648
Branches
Tags
Showing
- src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.C 12 additions, 2 deletions...randomProcesses/noise/noiseModels/noiseModel/noiseModel.C
- src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.H 19 additions, 13 deletions...randomProcesses/noise/noiseModels/noiseModel/noiseModel.H
- src/randomProcesses/noise/noiseModels/pointNoise/pointNoise.C 28 additions, 24 deletions...randomProcesses/noise/noiseModels/pointNoise/pointNoise.C
- src/randomProcesses/noise/noiseModels/pointNoise/pointNoise.H 5 additions, 1 deletion...randomProcesses/noise/noiseModels/pointNoise/pointNoise.H
- src/randomProcesses/noise/noiseModels/surfaceNoise/surfaceNoise.C 17 additions, 14 deletions...omProcesses/noise/noiseModels/surfaceNoise/surfaceNoise.C
- src/randomProcesses/noise/noiseModels/surfaceNoise/surfaceNoise.H 1 addition, 1 deletion...omProcesses/noise/noiseModels/surfaceNoise/surfaceNoise.H