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

Applying mixed(robin) boundary condition for volScalarField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2019, 19:20
Default Applying mixed(robin) boundary condition for volScalarField
  #1
New Member
 
Nilay Kulkarni
Join Date: May 2018
Posts: 24
Rep Power: 7
neilk is on a distinguished road
Hello,

I am trying to apply mixed boundary condition for volScalarField H2O to simulate absorption based on partition coefficients at a wall. I am trying to apply the boundary condition attached in the image below.Capture.PNG

Inorder to implement this I used the following BC:
Code:
BOTTOM
    {
        type            groovyBC;
		value			uniform 1;
		variables	"Dmuc=4.3e-6;Dmem=1.4e-6;tmem=1e- 
                   4;kow=200;liq{BOTTOM}=T;";
		//variables	"Dmuc=1;Dmem=0.1;tmem=1e-4;kow=200;";
		valueExpression	"liq";
        gradientExpression "0";
        fractionExpression "1";
        evaluateDuringConstruction 1;
In the groovyBC above I tried to discretize the gradient of H2O as a result only depending on the patch internal cell field value. But it doesn't take that into account.

Is there a way to implement this type of groovyBC?

Thank you

Nilay
neilk 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 10:54
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 18:34
Radiation interface hinca CFX 15 January 26, 2014 17:11
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


All times are GMT -4. The time now is 06:35.