|
[Sponsors] |
March 9, 2016, 22:06 |
CONGO GA optimization
|
#1 |
New Member
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10 |
Hi Dr. wang,
if I want to run a GA cases with the default merit function, does it means I can use the merit.in file to specify the setting, otherwise, the merit.in file is unnecessary for a user defined merit function case? Without using congo, I turned on the ga_flag in inputs.in file and ran the case, it created one outdata.0 file, in which some performance parameters are written. Can you tell me the names and units of these parameters? Thanks |
|
March 10, 2016, 17:04 |
|
#2 |
Member
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10 |
Jack,
Can you tell me the version of your CONVERGE and UDF? Thanks, Yunliang |
|
March 10, 2016, 18:15 |
|
#3 |
New Member
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10 |
Thanks. The version i am using is converge 2.2.0_101915.
|
|
March 11, 2016, 11:02 |
|
#4 |
Member
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10 |
The default UDF for user_ga_merit.c was changed to work automatically from v2.2 on by creating a ga_output file with ISFC, NOx, Soot, PCP, and indicated Power.
However, the default ga_merit_function.c in the main code was not updated accordingly. You can use the UDF user_ga_merit by turning on user_ga_merit_flag in udf.in We will fix this soon. The merit.in is required to set up a default merit function using the variables in the ga_output file. Thanks, Yunliang |
|
March 11, 2016, 11:59 |
|
#5 |
New Member
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10 |
Thanks, I got it. But it looks like the default UDF for user_ga_merit.c only changes the output performance variables in ga_ouput file. So it means the merit function is still use the default as the description in CONGO summary_r4, right?
one more question, i want to add a peak pressure rise rate(PPRR) into the ga_output file, if i could possibly get a completion signal of runing case, use which i can write code to read thermo.out file than calculate the PPRR and write into the ga_output file. Thanks |
|
March 11, 2016, 14:23 |
|
#6 |
Member
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10 |
Jack,
You can read through the UDF user_outputs.c to see how we calculate the region-dependent variables like pressure, temperature etc. You can do the same thing in your user_ga_merit_function.c. You can save the pressure at last time as cylinder_pres_last for example. Then you should be able calculate the pressure rise rate according the pressure at the current time step and the previous time step. Thanks, Yunliang |
|
March 11, 2016, 14:44 |
|
#7 |
New Member
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10 |
Thanks. I see, sounds like it is a better way than my idea. I gonna try it.
|
|
September 1, 2017, 08:10 |
CONGO.in File
|
#8 |
New Member
Payam Asadollahzadeh
Join Date: Sep 2017
Posts: 1
Rep Power: 0 |
Dear Dr. Wang
I am going to optimize parameters like ISFC, NOx and Soot in RCCI engine through CONGO. I was wondering if you could please provide me with CONGO.in sample file. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Motion parameter optimization | bennn | SU2 | 0 | March 9, 2016 09:03 |
Question about SU2 optimization | YoniHe | SU2 Shape Design | 3 | January 15, 2016 00:31 |
Total force optimization or pressure force optimization? | robyTKD | SU2 Shape Design | 1 | August 19, 2013 15:54 |
COMSOL: optimization applied to a laminar flow | tdh89 | COMSOL | 0 | April 30, 2012 08:57 |
BOOK ON OPTIMIZATION OF FORTRAN CODES | Alberto | Main CFD Forum | 3 | November 10, 2008 06:07 |