CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > CONVERGE

CONGO GA optimization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2016, 22:06
Post CONGO GA optimization
  #1
New Member
 
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10
zwu249 is on a distinguished road
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
zwu249 is offline   Reply With Quote

Old   March 10, 2016, 17:04
Default
  #2
Member
 
ywang89's Avatar
 
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10
ywang89 is on a distinguished road
Jack,

Can you tell me the version of your CONVERGE and UDF?
Thanks,

Yunliang
__________________
Yunliang Wang
Applications Manager

CONVERGECFD
ywang89 is offline   Reply With Quote

Old   March 10, 2016, 18:15
Default
  #3
New Member
 
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10
zwu249 is on a distinguished road
Thanks. The version i am using is converge 2.2.0_101915.
zwu249 is offline   Reply With Quote

Old   March 11, 2016, 11:02
Default
  #4
Member
 
ywang89's Avatar
 
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10
ywang89 is on a distinguished road
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
__________________
Yunliang Wang
Applications Manager

CONVERGECFD
ywang89 is offline   Reply With Quote

Old   March 11, 2016, 11:59
Default
  #5
New Member
 
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10
zwu249 is on a distinguished road
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
zwu249 is offline   Reply With Quote

Old   March 11, 2016, 14:23
Default
  #6
Member
 
ywang89's Avatar
 
Yunliang Wang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 58
Rep Power: 10
ywang89 is on a distinguished road
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
__________________
Yunliang Wang
Applications Manager

CONVERGECFD
ywang89 is offline   Reply With Quote

Old   March 11, 2016, 14:44
Default
  #7
New Member
 
Johnny
Join Date: Nov 2015
Posts: 26
Rep Power: 10
zwu249 is on a distinguished road
Thanks. I see, sounds like it is a better way than my idea. I gonna try it.
zwu249 is offline   Reply With Quote

Old   September 1, 2017, 08:10
Default CONGO.in File
  #8
New Member
 
Payam Asadollahzadeh
Join Date: Sep 2017
Posts: 1
Rep Power: 0
PayamAsad is on a distinguished road
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.
PayamAsad is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:06.