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

[swak4Foam] Boundary Conditions with GroovyBC, Normal Gradient

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2012, 10:34
Default Boundary Conditions with GroovyBC, Normal Gradient
  #1
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
Hello,

I´d like to implement some boundary conditions with groovyBC, but it seems, that that doesn`t work like I think it should .
Here is my problem:

Without groovyBc it´s possible to implement a fixed normal gradient with

boundary
{
type fixedGradient;
gradient 100;
}

Now i need this expression with a dependency of a variable, computet in a step befor. So i tried

boundary
{
type groovyBC;
gradientExpression "Var-fixed";
variable "Var{boundary2}=Var2; fixed=100";
value uniform 0;
}

For a calculating a single value, for example for a Dirichlet boundary condition, it works.

Did I make a mistake in my definition of the boundary condition? Are there any good documentations for groovyBC, where i can find such things?


Best regards
treima


I´m sorry, this might be the wrong Forum, i didn´t pay attention...
treima is offline   Reply With Quote

Old   January 25, 2013, 15:23
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
hi dear treima.did you figure out the problem?
immortality is offline   Reply With Quote

Old   January 26, 2013, 03:37
Default
  #3
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
Yes, there is a solution to this problem.

Have a look at this thread:
http://www.cfd-online.com/Forums/ope...-gradient.html


regards

treima
treima is offline   Reply With Quote

Reply

Tags
boundary, gradient, groovybc

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
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
Problem with SIMPLEC-like finite volume channel flow boundary conditions ghobold Main CFD Forum 3 June 15, 2015 12:14
Radiation interface hinca CFX 15 January 26, 2014 18:11
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


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