|
[Sponsors] |
June 12, 2018, 04:15 |
velocity BC in groovyBC
|
#1 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi all
I want to create this BC: on "inner part" of this polar cavity: I have written this code: Code:
type groovyBC; variables ( "teta=atan( pos().y/pos().x ); r=pow((pow(pos().x,2) +pow(pos().y,2)),0.5);" ); valueExpression "vector(-sin(teta),cos(teta),0)*256/pow(3.14,4)*pow((3.14/4+teta), 2)*pow((3.14/4-teta),2)"; value uniform (0 0 0); Does it do what I went? Thanks |
|
Tags |
boundary condition, groovybc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Problem with fully developed velocity profile groovyBC in 2D axi-sym mesh | harshad88 | OpenFOAM Community Contributions | 7 | July 24, 2014 15:28 |
[swak4Foam] groovyBC error: velocity profile (2D) >> what's wrong? | vitorspadeto | OpenFOAM Community Contributions | 4 | June 19, 2014 16:31 |
Velocity in Porous medium : HELP! HELP! HELP! | Kali Sanjay | Phoenics | 0 | November 6, 2006 07:10 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |