CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Adjoint Optimization Discussion

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 1 Post By hokhay
  • 3 Post By friedenhe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2019, 22:34
Default Adjoint Optimization Discussion
  #1
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 11
hokhay is on a distinguished road
Hi Foamers,


I am recently looking to develop an adjoint optimization solver for external flow in OpenFOAM. I have done quite a bit of search both in this forum and google but what I have got are very little development in this area. There are some research in this area but mostly for the internal flow not for external and even there is external flow research, the source code is not shared.

I would like to open this post to get everyone who is interested in adjoint optimization topic to centralize the information that we have got, for example the research paper or code they have developed, hopefully.

Here are some papers that I have collected:
http://www.tfd.chalmers.se/~hani/kur...ortAdjoint.pdf
http://www.piercelab.caltech.edu/ass...pers/ftc00.pdf
http://mdolab.engin.umich.edu/sites/..._Adjoint_1.pdf
https://web.stanford.edu/~deman/docs...-2017-4413.pdf
https://www.researchgate.net/publica...l_for_OpenFOAM
http://www.diva-portal.org/smash/get...FULLTEXT02.pdf

The last paper is the only one with source code attached but it is only wind noise optimization and it is not compatible with OpenFOAM-6.

I hope this would help everyone and make OpenFOAM stronger.

Jason
mCiFlDk likes this.
hokhay is offline   Reply With Quote

Old   January 9, 2019, 02:31
Default
  #2
Member
 
Andreas P.
Join Date: May 2017
Posts: 41
Rep Power: 9
AndreasPe is on a distinguished road
Hi Hokhay,


thank you for sharing these papers. I know about another project where a discrete adjoint version of OpenFOAM has been developed:

https://www.stce.rwth-aachen.de/rese...djointopenfoam

The source code is available on request and some papers are also freely available on this page.
AndreasPe is offline   Reply With Quote

Old   January 9, 2019, 06:31
Default
  #3
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 11
hokhay is on a distinguished road
Quote:
Originally Posted by AndreasPe View Post
Hi Hokhay,


thank you for sharing these papers. I know about another project where a discrete adjoint version of OpenFOAM has been developed:

https://www.stce.rwth-aachen.de/rese...djointopenfoam

The source code is available on request and some papers are also freely available on this page.
Thanks for sharing, Andreas. This is a very good source
hokhay is offline   Reply With Quote

Old   January 9, 2019, 13:03
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
We have used the aachen code successfully in the past. A paper is in development, but work is also documented in this conference paper : https://www.researchgate.net/publica...sing_Adjoints.

Caelan
clapointe is offline   Reply With Quote

Old   March 7, 2019, 04:25
Default
  #5
Member
 
Pablo Alarcón
Join Date: Mar 2018
Location: Liège
Posts: 59
Rep Power: 8
palarcon is on a distinguished road
Is there anybody else interested on this subject?
I'm working with OpenFOAM and optimization algorithms, but more focused on the topology optimization part.
Would be nice to have somebody else to discuss about it.
palarcon is offline   Reply With Quote

Old   December 20, 2019, 05:38
Default Combination of adjoint with level set
  #6
New Member
 
ATN
Join Date: Jun 2015
Posts: 5
Rep Power: 11
atenamsv is on a distinguished road
Hey i'm just new to openfoam optimization but i'm working on a combination of level set method with adjoint variable to optimize a jet pump
atenamsv is offline   Reply With Quote

Old   December 20, 2019, 12:06
Default
  #7
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
I think an important update for the `adjoint optimisation` is upcoming in the v1912:

https://develop.openfoam.com/adjoint...-adjoint-v1912
HPE is offline   Reply With Quote

Old   February 9, 2020, 10:25
Default
  #8
New Member
 
Join Date: Jun 2019
Posts: 20
Rep Power: 7
Cambridge is on a distinguished road
Quote:
Originally Posted by palarcon View Post
Is there anybody else interested on this subject?
I'm working with OpenFOAM and optimization algorithms, but more focused on the topology optimization part.
Would be nice to have somebody else to discuss about it.
Hi

I am new in Openfoam and TO. Do you have any basic codes for topology optimization in Openfoam? Can we discuss this topic?

Thank you.
Cambridge is offline   Reply With Quote

Old   February 10, 2020, 04:11
Default
  #9
Member
 
Pablo Alarcón
Join Date: Mar 2018
Location: Liège
Posts: 59
Rep Power: 8
palarcon is on a distinguished road
Quote:
Originally Posted by Cambridge View Post
Hi

I am new in Openfoam and TO. Do you have any basic codes for topology optimization in Openfoam? Can we discuss this topic?

Thank you.
The only code that I posses, in addition to the base one adjointShapeOptimizationFoam is my own.
We can discuss for sure, nonetheless my code is not yet in condition to be shared because is still under development.
palarcon is offline   Reply With Quote

Old   February 10, 2020, 04:12
Default
  #10
Member
 
Pablo Alarcón
Join Date: Mar 2018
Location: Liège
Posts: 59
Rep Power: 8
palarcon is on a distinguished road
Quote:
Originally Posted by HPE View Post
I think an important update for the `adjoint optimisation` is upcoming in the v1912:

https://develop.openfoam.com/adjoint...-adjoint-v1912
The link is no longer available.
palarcon is offline   Reply With Quote

Old   February 11, 2020, 16:08
Default
  #11
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Dont bother with the link. OpenFOAMv1912 now possess an adjoint optimisation module provided by the Technical University of Athens.
HPE is offline   Reply With Quote

Old   February 12, 2020, 11:13
Default
  #12
New Member
 
Join Date: Jun 2019
Posts: 20
Rep Power: 7
Cambridge is on a distinguished road
Quote:
Originally Posted by palarcon View Post
The only code that I posses, in addition to the base one adjointShapeOptimizationFoam is my own.
We can discuss for sure, nonetheless my code is not yet in condition to be shared because is still under development.
Thank you so much. So which version of OpenFOAM do you use, is that v1912? What are your suggestions for me to learn topology optimization using OF? Thank you.

Kind regards

Last edited by Cambridge; February 12, 2020 at 16:01. Reason: add one question
Cambridge is offline   Reply With Quote

Old   February 12, 2020, 11:14
Default
  #13
New Member
 
Join Date: Jun 2019
Posts: 20
Rep Power: 7
Cambridge is on a distinguished road
Quote:
Originally Posted by HPE View Post
Dont bother with the link. OpenFOAMv1912 now possess an adjoint optimisation module provided by the Technical University of Athens.
Hi, is there any tutorials about topology optimization in the lates version of OpenFOAM? Thank you so much.
Cambridge is offline   Reply With Quote

Old   April 6, 2020, 05:21
Default
  #14
New Member
 
ATN
Join Date: Jun 2015
Posts: 5
Rep Power: 11
atenamsv is on a distinguished road
Hey I am also new in openfoam optimization. Did you succeed in implementing compressible rhoSimple loop into default adjoint optimization code of openfoam?
atenamsv is offline   Reply With Quote

Old   June 25, 2020, 04:11
Default Combination of adjoint with hybrid compressible solvers
  #15
New Member
 
ATN
Join Date: Jun 2015
Posts: 5
Rep Power: 11
atenamsv is on a distinguished road
Quote:
Originally Posted by clapointe View Post
We have used the aachen code successfully in the past. A paper is in development, but work is also documented in this conference paper : https://www.researchgate.net/publica...sing_Adjoints.

Caelan
Hello Caelan
I have read your conference paper with the title of "Optimization for internal turbulent compressible flow using adjoints" is there any possibility that you share the code so that we can use and cite it in our work too?
Atena
atenamsv is offline   Reply With Quote

Old   July 24, 2020, 15:18
Default
  #16
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Apologies for the delayed response -- I've been quite busy lately. Yes, please feel free to use the code. I've added it to my public git repository (https://github.com/clapointe2011/public). We've not used it for quite some time, but it should work without too much issue. If it does appear buggy, let me know and I can try to track down the issues.

As you know it was used as part of an AIAA conference paper; we also have a publication that has been "nearly done" for a number of years that we will deal with -- it will at least be archived soon so a short description of the nozzle design is available.

Caelan
clapointe is offline   Reply With Quote

Old   July 31, 2020, 23:01
Default
  #17
New Member
 
Ping He
Join Date: Jun 2019
Posts: 7
Rep Power: 7
friedenhe is on a distinguished road
For those who are interested, we have developed a suite of discrete adjoint solvers for OpenFOAM. Check the installation and tutorials from https://dafoam.github.io. Hopefully you will find it useful.
davidtimide, nuaawqf and wo315 like this.
friedenhe is offline   Reply With Quote

Old   October 15, 2021, 09:35
Default
  #18
New Member
 
Join Date: Oct 2021
Posts: 1
Rep Power: 0
Kktt is on a distinguished road
Hello,

Tha's sounds great, but and concretely, how to use it on a specific case ?
Are there any tutorials available somewhere?
Kktt is offline   Reply With Quote

Old   March 20, 2023, 14:42
Smile Unsteady shape optimization in openFOAM
  #19
New Member
 
Yuvraj Sarout
Join Date: Mar 2023
Posts: 1
Rep Power: 0
yuvrajxsorout is on a distinguished road
I am bit new to shape optimization and trying to implement continuous adjoint based shape optimization. I want to do Unsteady RANS in openFoam.

Is it possible ?

Please share your insight
yuvrajxsorout is offline   Reply With Quote

Reply

Tags
adjoint, optimization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Shape optimization doesn't converge - Adjoint log file JPBLourenco SU2 Shape Design 0 December 11, 2017 08:41
Problems launching adjoint max_ SU2 2 March 12, 2016 11:32
Question about SU2 optimization YoniHe SU2 Shape Design 3 January 15, 2016 00:31
Adjoint optimization Odranoel OpenFOAM Running, Solving & CFD 0 July 25, 2015 11:32
hard to convergent with SU2 4.0 for Euler adjoint Xianguu SU2 1 July 14, 2015 17:09


All times are GMT -4. The time now is 04:24.