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

Implementing the adjoint equation of the scalar transport equation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2025, 16:35
Default Implementing the adjoint equation of the scalar transport equation
  #1
New Member
 
Islem Megdiche
Join Date: Feb 2016
Location: Liverpool
Posts: 12
Rep Power: 11
Islem is on a distinguished road
Hi foamers,

I would like to compute the concentration field in order to determine the source term parameters. For this I need to implement the adjoint equation of the scalar transport equation. I am using openfoam V12.

The difference between the forward equation (convective-diffusive equation) and the adjoint equation is that the temporal and convective terms of the adjoint equation are apposite in signs to those of the forward equation and also the time sequence is inverted (see attached image for more details, C and C* represent the concentration field obtained from the forward and adjoint equations respectively, K(x,t) is the diffusion coeffcient, RHS of the equation represents the source).

My questions are:

1) Is this kind of adjoint equation of the the scalar transport equation already implemented in OpenFoam?

2) If no, any help regarding how to implement the equation. Any materials already available?? I am stuck, and don't know how to start.

3) How to implement the boundary conditions of the adjoint equation.

Any help/ hints would be very much appreciated.

Regards,
Islem
Attached Images
File Type: jpg forward-adjoint equations.jpg (103.6 KB, 6 views)
Islem is offline   Reply With Quote

Reply

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
problem in parallel with gradient term for langevin equation CGuaq OpenFOAM Programming & Development 8 April 3, 2025 03:32
Implication Of modified Scalar transport equation in PimpleFoam shouvik ghorui OpenFOAM Pre-Processing 0 August 25, 2022 02:19
How can temperature e treated as a passive scalar be used in transport equation? granzer OpenFOAM Running, Solving & CFD 3 June 6, 2021 16:35
[General] Problem with reading in multiple grouped Ensight .case files into paraview scro1022 ParaView 0 November 27, 2020 08:00
transport equation for SGS scalar variance chinthakindi Main CFD Forum 0 April 27, 2004 09:26


All times are GMT -4. The time now is 07:21.