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

Robin boundary condition containing two dependent variables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2017, 19:04
Default Robin boundary condition containing two dependent variables
  #1
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Fellows

I know how to implement Robin boundary condition for a dependent variable T in OpenFoam using swak4Foam. For instance, the boundary condition:

k \frac{\partial T}{\partial n} +
\alpha T = \alpha T_\infty
can be written using swak4Foam library as described in the following link:

http://www.modlab.lv/docs/2011/OpenF...Vilums_pdf.pdf

However, my question is if my boundary was in the following form:
\frac{\partial T}{\partial n} +
\frac{\partial \varphi}{\partial n} T = 1

in which both T and \varphi are dependent variables. How can I implement it in OpenFoam?

I am thinking of using codedFixedValue option for this boundary condition.


Any hint is appreciated.
babakflame 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
fixedValue boundary condition with a time dependent value meth OpenFOAM Pre-Processing 11 May 25, 2023 02:03
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 18:34
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32


All times are GMT -4. The time now is 20:36.