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

Boundary condition with value, gradient and constant

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2022, 15:50
Default Boundary condition with value, gradient and constant
  #1
New Member
 
Arman N
Join Date: Mar 2019
Posts: 13
Rep Power: 7
Arman_N is on a distinguished road
Hello everyone,

I need to implement a boundary condition which is a combination of the value and gradient of a parameter with a constant/source term.
For example, for parameter Y the desired equation at boundary is as follows:

c_{1}\nabla Y + c_{2}Y = c_{3}

where c_{1}, c_{2}, and c_{3} are constants.

I wanted to know if there is any BC already available in openFoam for this purpose and if not, how can this be achieved.

*PS: I know this can be somehow implemented using the mixed BC when c_{3} = 0, but I need the more general approach.

Any hint is appreciated.

Arman

Last edited by Arman_N; January 26, 2022 at 11:43. Reason: Refresh
Arman_N is offline   Reply With Quote

Reply

Tags
boundary condition, boundary gradient, boundary value, mixed boundary condition, source term


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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 06:53
Constant mass flow rate boundary condition sahm OpenFOAM 0 June 20, 2018 23:45
Constant contact angle boundary condition sdeb31 FLUENT 0 January 12, 2018 13:13
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
zero-diffusion (constant gradient) boundary condition thomas99 OpenFOAM 4 July 29, 2011 05:59


All times are GMT -4. The time now is 15:45.