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

Can I code an adjoint equation in Openfoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2022, 07:23
Default Can I code an adjoint equation in Openfoam?
  #1
New Member
 
Join Date: Mar 2022
Posts: 3
Rep Power: 4
Tsubasa1995 is on a distinguished road
Hello everyone,

I am completely new to Openfoam.
I am using another solver to calculate an flow simulation (dierct simulation), but in that code it is impossible to implement the inverse simualtion by adjoint method. So I use Openfoam just for adjoint equation.

So I want to ask you that, for example,
can we code this kind of adjoint equation in Openfoam?
-ν∆Ua+Ua∇U-(∇Ua)U+∇pa = -2ν∆U

To code and run the above equation in Openfoam, which file do I have to edit?
I saw some post like
Implementation of adjoint equation
Where can find a file to code the euqation like thelink above?

Best regards,
Tsubasa
Tsubasa1995 is offline   Reply With Quote

Old   March 18, 2022, 13:31
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 729
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
http://www.tfd.chalmers.se/~hani/kur...ortAdjoint.pdf
dlahaye is offline   Reply With Quote

Old   March 19, 2022, 07:21
Default
  #3
Member
 
Join Date: Jun 2019
Posts: 41
Rep Power: 6
Voulet is on a distinguished road
Yes. Have a look of the adjointOptimisationFoam.
__________________
« Debugging is what CFD is about. 5 minutes to modify your code, 5 months to find why it does not work anymore. »
Voulet 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
OpenFOAM 5.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 11 June 5, 2018 23:48
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[Other] Comparing OpenFOAM to another code: advice on dealing with meshes? SFr OpenFOAM Meshing & Mesh Conversion 1 June 11, 2016 12:02
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


All times are GMT -4. The time now is 19:59.