|
[Sponsors] |
[swak4Foam] having problems configuring parabolic inlet using groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 9, 2010, 05:47 |
having problems configuring parabolic inlet using groovyBC
|
#1 |
New Member
Abhinav Sharma
Join Date: Sep 2010
Posts: 28
Rep Power: 15 |
Hi ,
I've been experimenting with different boundary conditions and am trying to set up velocity profile using groovyBC. At the inlet i require a power law condition given by U=2.5*(z/zr)^0.299... Code:
inlet { type groovyBC; variables "Umin=2.5;h=pts().y;a=pow((h/10),0.299);speed=Umin*a;"; valueExpression "vector (speed, 0, 0)"; } " ^^ " I am also a little confused on how to specify my "y" co-ordinate varying from 40 to 100 in groovy BC, I think i've done it incorrectly. Any help would be much appreciated. Thanks in advance, Regards , Abhinav |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inlet velocity as parabolic function | @cfd | OpenFOAM Pre-Processing | 2 | July 29, 2017 15:43 |
[swak4Foam] Inlet Boundary with groovyBC | fmerk | OpenFOAM Community Contributions | 0 | May 3, 2017 10:00 |
[swak4Foam] Power law inlet velocity using groovyBC | aviator | OpenFOAM Community Contributions | 3 | November 13, 2013 10:50 |
[swak4Foam] parabolic velocity profile with fluctuations (groovyBC?) | newOFuser | OpenFOAM Community Contributions | 17 | July 15, 2013 17:27 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |