CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Robin boundary condition containing two dependent variables

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2017, 19:04
Default Robin boundary condition containing two dependent variables
Senior Member
Join Date: Oct 2012
Location: Chicago, Illinois
Posts: 452
Rep Power: 11
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:

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


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
fixedValue boundary condition with a time dependent value meth OpenFOAM Pre-Processing 6 December 11, 2015 04:45
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 04:04.