CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] groovyBC for coupled boundary condition

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 3, 2014, 11:41
Default groovyBC for coupled boundary condition
  #1
Member
 
Join Date: Feb 2014
Posts: 32
Rep Power: 12
yeharav is on a distinguished road
Dear foamers,

I would like to set up the boundary condition for P that is coupled to the variable
T. For example:

dP
----- = - T
dn

on a specific patch (lets say floor)

I did try,
floor
{
type groovyBC;
gradientExpression "-thetaFloor";
fractionExpression "0";
variables "thetaFloor{floor}=T;";
value uniform 0;
}

But then I get

--> FOAM Warning :
From function ExpressionResult::getUniformInternal(const label size,bool noWarn)
in file ExpressionResult/ExpressionResultI.H at line 332
The minimum value -47.6319 and the maximum 41.4594 differ. I will use the average -0.120515

every time step.

What am I doing wrong?
yeharav is offline   Reply With Quote

 


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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
[swak4Foam] Boundary condition set using groovyBC or codedFixedValue behzad-cfd OpenFOAM Community Contributions 17 December 19, 2017 12:30
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
[swak4Foam] turbulence boundary condition in groovyBC. immortality OpenFOAM Community Contributions 6 January 7, 2013 03:19


All times are GMT -4. The time now is 09:18.