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

Custom objective function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2021, 15:10
Default Custom objective function
  #1
Member
 
Umut Can
Join Date: Oct 2012
Posts: 42
Rep Power: 13
Umuteng is on a distinguished road
Hi all,

I think i need a starting point for defining user-defined objective function?
So where should i start?

Thanks
Umuteng is offline   Reply With Quote

Old   June 2, 2021, 03:14
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 501
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Hi,

There is an objective function in place that you can modify for your own use.

look for
Code:
custom_objfunc
in the code. You can also look at a standard objective function like
Code:
surface_uniformity
to see how it is done.



In vscode, you can search case-insensitive to find all all occurences.
bigfootedrockmidget is offline   Reply With Quote

Old   June 2, 2021, 14:11
Default
  #3
Member
 
Umut Can
Join Date: Oct 2012
Posts: 42
Rep Power: 13
Umuteng is on a distinguished road
thanks a lot!
Umuteng 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27
Mass Flow Rate Custom Field Function AJoubert FLUENT 2 March 23, 2013 08:50


All times are GMT -4. The time now is 17:22.