|
[Sponsors] |
[swak4Foam] groovyBC results diferent from funkySetBoundaryField?! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 22, 2012, 09:52 |
groovyBC results diferent from funkySetBoundaryField?!
|
#1 |
Member
|
Hello,
I'm trying to run a case with groovyBC because my boudary condition will need to change with time and I notice that time() is available there. However when I'm running the case (without using time, check bottom expression) the correct values are putted on the boundary but the internal field it's not changing. Code:
Inlet { type groovyBC; value uniform (0 0 0); variables "bx=2.669/sqrt(pos().x*pos().x+pos().y*pos().y)*sin(atan(pos().y/pos().x));by=-2.669/sqrt(pos().x*pos().x+pos().y*pos().y)*cos(atan(pos().y/pos().x));"; valueExpression "vector(bx,by,0)"; } Perhaps I'm doing something wrong with groovy?! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC for oscillatory flow | liybzd | OpenFOAM Community Contributions | 5 | November 12, 2018 07:53 |
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam | dani2702 | OpenFOAM Community Contributions | 0 | November 17, 2016 03:30 |
[swak4Foam] groovyBC issue - k and epsilon | sagnikmazumdar | OpenFOAM Community Contributions | 24 | March 1, 2015 07:16 |
Creating a tool to interpolate results | Luis Batista | OpenFOAM Running, Solving & CFD | 2 | April 11, 2013 08:15 |
[swak4Foam] groovyBC and Eqn.setReference() | benk | OpenFOAM Community Contributions | 3 | June 2, 2011 08:49 |