Skip to content

Commit 17a2ab4

Browse files
Merge branch 'develop' into feature_output_comp
2 parents a280299 + b1c3a15 commit 17a2ab4

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@
2727
[submodule "subprojects/MLPCpp"]
2828
path = subprojects/MLPCpp
2929
url = https://github.com/EvertBunschoten/MLPCpp.git
30+
[submodule "externals/FADO"]
31+
path = externals/FADO
32+
url = https://github.com/pcarruscag/FADO.git

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ Thomas D. Economon
136136
Tim Albring
137137
TobiKattmann
138138
Trent Lukaczyk
139+
Vikram Bharadwaj
139140
Vinzenz Götz
140141
VivaanKhatri
141142
Wally Maier

SU2_CFD/src/output/COutput.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ void COutput::SetHistoryOutput(CGeometry *geometry,
206206
unsigned long TimeIter,
207207
unsigned long OuterIter,
208208
unsigned long InnerIter) {
209-
210-
curTimeIter = TimeIter;
209+
curTimeIter = TimeIter;
211210
curAbsTimeIter = max(TimeIter, config->GetStartWindowIteration()) - config->GetStartWindowIteration();
212211
curOuterIter = OuterIter;
213212
curInnerIter = InnerIter;
@@ -273,7 +272,7 @@ void COutput::SetHistoryOutput(CGeometry ****geometry, CSolver *****solver, CCon
273272

274273
void COutput::SetMultizoneHistoryOutput(COutput **output, CConfig **config, CConfig *driver_config, unsigned long TimeIter, unsigned long OuterIter){
275274

276-
curTimeIter = TimeIter;
275+
curTimeIter = TimeIter;
277276
curAbsTimeIter = max(TimeIter, driver_config->GetStartWindowIteration()) - driver_config->GetStartWindowIteration();
278277
curOuterIter = OuterIter;
279278

@@ -389,6 +388,9 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
389388
/*--- File writer that will later be used to write the file to disk. Created below in the "switch" ---*/
390389
CFileWriter *fileWriter = nullptr;
391390

391+
/*--- Set current time iter even if history file is not written ---*/
392+
curTimeIter = config->GetTimeIter();
393+
392394
/*--- If it is still present, strip the extension (suffix) from the filename ---*/
393395
const auto lastindex = fileName.find_last_of('.');
394396
fileName = fileName.substr(0, lastindex);
@@ -476,7 +478,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
476478
extension = CSU2MeshFileWriter::fileExt;
477479

478480
if (fileName.empty())
479-
fileName = volumeFilename;
481+
fileName = config->GetFilename(volumeFilename, "", curTimeIter);
480482

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

SU2_CFD/src/solvers/CTurbSASolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void CTurbSASolver::BC_HeatFlux_Wall(CGeometry *geometry, CSolver **solver_conta
500500
Res_Wall = coeff*RoughWallBC*Area;
501501
LinSysRes.SubtractBlock(iPoint, &Res_Wall);
502502

503-
su2double Jacobian_i = (laminar_viscosity*Area)/(0.03*Roughness_Height*sigma);
503+
su2double Jacobian_i = (laminar_viscosity /density *Area)/(0.03*Roughness_Height*sigma);
504504
Jacobian_i += 2.0*RoughWallBC*Area/sigma;
505505
if (implicit) Jacobian.AddVal2Diag(iPoint, -Jacobian_i);
506506
}

SU2_PY/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ install_data(['FSI_tools/__init__.py',
7070
install_data(['SU2_Nastran/__init__.py',
7171
'SU2_Nastran/pysu2_nastran.py'],
7272
install_dir: join_paths(get_option('bindir'), 'SU2_Nastran'))
73+
74+
install_subdir(['../externals/FADO'], install_dir: get_option('bindir'))

externals/FADO

Submodule FADO added at de31864

0 commit comments

Comments
 (0)