Skip to content

Commit 0f15049

Browse files
authored
Merge pull request #41 from su2code/avoid_duplicated_config
Avoid duplicated config that is already in the code repo
2 parents 63d716b + c16c67e commit 0f15049

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

incompressible_flow/Inc_Species_Transport/DAspecies3_primitiveVenturi.cfg

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
% Author: T. Kattmann %
66
% Institution: Bosch Thermotechniek B.V. %
77
% Date: 2021/10/14 %
8-
% File Version 7.2.1 "Blackbird" %
8+
% File Version 7.5.1 "Blackbird" %
99
% %
1010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1111

@@ -14,7 +14,12 @@
1414
SOLVER= INC_RANS
1515
KIND_TURB_MODEL= SST
1616
%
17-
OBJECTIVE_FUNCTION= SURFACE_SPECIES_VARIANCE
17+
CUSTOM_OUTPUTS= 'avg_species_0 : AreaAvg{SPECIES[0]}[outlet];\
18+
avg_species_1 : AreaAvg{SPECIES[1]}[outlet];\
19+
var_species : AreaAvg{pow(SPECIES[0] - avg_species_0, 2) +\
20+
pow(SPECIES[1] - avg_species_1, 2)}[outlet]'
21+
CUSTOM_OBJFUNC= 'var_species'
22+
OBJECTIVE_FUNCTION= CUSTOM_OBJFUNC
1823
OBJECTIVE_WEIGHT= 1.0
1924
%
2025
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
@@ -80,7 +85,7 @@ LINEAR_SOLVER= FGMRES
8085
LINEAR_SOLVER_PREC= ILU
8186
LINEAR_SOLVER_ERROR= 1E-8
8287
LINEAR_SOLVER_ITER= 20
83-
88+
%
8489
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
8590
%
8691
CONV_NUM_METHOD_FLOW= FDS
@@ -119,7 +124,6 @@ CONV_STARTITER= 10
119124
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
120125
%
121126
MESH_FILENAME= primitiveVenturi.su2
122-
%
123127
SCREEN_OUTPUT= INNER_ITER WALL_TIME RMS_ADJ_PRESSURE RMS_ADJ_VELOCITY-X RMS_ADJ_VELOCITY-Y RMS_ADJ_TKE RMS_ADJ_DISSIPATION RMS_ADJ_SPECIES_0 RMS_ADJ_SPECIES_1
124128
SCREEN_WRT_FREQ_INNER= 10
125129
%
@@ -140,3 +144,4 @@ RESTART_FILENAME= restart
140144
SOLUTION_FILENAME= solution
141145
%
142146
WRT_PERFORMANCE= YES
147+

0 commit comments

Comments
 (0)