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

An Error in Using groovyBC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2018, 10:05
Default An Error in Using groovyBC
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12
alimea is on a distinguished road
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?
alimea is offline   Reply With Quote

Old   June 3, 2018, 01:22
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19
fumiya is on a distinguished road
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]
fumiya is offline   Reply With Quote

Reply

Tags
groovybc, outflow


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
[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


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