|
[Sponsors] |
May 29, 2018, 10:05 |
An Error in Using groovyBC
|
#1 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi
I want to create a special BC (boundary condition) in a patch of a cavity. So I used "groovyBC" in such a way: Code:
movingWal { 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)*pow(teta,2); value uniform (0,0,0); conditions "r<1.008"; but it gives me this error: continuity error cannot be removed by adjusting the outflow. Do you know what the reason? |
|
June 3, 2018, 01:22 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
I'm afraid you have fixed the velocity on every boundary, so the conservation of volume is not able to be met.
You might want to check the balance between the flow in and out of the computational domain through the boundaries.
__________________
[Personal]
|
|
Tags |
groovybc, outflow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC for oscillatory flow | liybzd | OpenFOAM Community Contributions | 5 | November 12, 2018 08:53 |
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC | zanilu70 | OpenFOAM Community Contributions | 4 | December 13, 2016 07:46 |
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam | dani2702 | OpenFOAM Community Contributions | 0 | November 17, 2016 04:30 |
[swak4Foam] groovyBC issue - k and epsilon | sagnikmazumdar | OpenFOAM Community Contributions | 24 | March 1, 2015 08:16 |
[swak4Foam] groovyBC and Eqn.setReference() | benk | OpenFOAM Community Contributions | 3 | June 2, 2011 09:49 |