|
[Sponsors] |
July 28, 2015, 08:41 |
groovyBC usage
|
#1 |
New Member
Antonio
Join Date: Jan 2013
Posts: 11
Rep Power: 13 |
I have created the following boundary condition for the phase.water based on Swak4FOAM:
inlet Code:
{ type groovyBC; valueExpresion "(pos().z<=0.20) ? 1 : 0"; value 1; } Code:
libs ( "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" ); however when calling interFoam, (or when decomposing), I get alpha.water = 0 in all points as well as a warning like this: Code:
--> FOAM Warning : From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/opencfd/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/Field.C at line 318 Reading "/home/user/OpenFOAM/user-2.3.0/run/rejas_m028horizontal/0/alpha.water.boundaryField.inlet" from line 26 to line 30 expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0. Am I doing something wrong? I am using OpenFOAM 2.3.0 and swak4FOAM 0.3.1 |
|
July 30, 2015, 08:54 |
|
#2 | |
New Member
Antonio
Join Date: Jan 2013
Posts: 11
Rep Power: 13 |
Quote:
|
||
|
|
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] reactingMultiPhaseEulerFoam problems with groovyBC | zanilu70 | OpenFOAM Community Contributions | 4 | December 13, 2016 06:46 |
[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 |
[swak4Foam] groovyBC interFoam splitted inlet -- massflowrate | FerdiFuchs | OpenFOAM Community Contributions | 1 | October 1, 2014 07:51 |