|
[Sponsors] |
March 18, 2022, 08:23 |
Can I code an adjoint equation in Openfoam?
|
#1 |
New Member
Join Date: Mar 2022
Posts: 3
Rep Power: 4 |
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 |
|
March 18, 2022, 14:31 |
|
#2 |
Senior Member
|
||
March 19, 2022, 08:21 |
|
#3 |
Member
Join Date: Jun 2019
Posts: 41
Rep Power: 7 |
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. » |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 5.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 11 | June 6, 2018 00:48 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
[Other] Comparing OpenFOAM to another code: advice on dealing with meshes? | SFr | OpenFOAM Meshing & Mesh Conversion | 1 | June 11, 2016 13:02 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |