|
[Sponsors] |
February 8, 2016, 02:02 |
Using groovyBC in OF 2.3.1
|
#1 |
New Member
Andeo
Join Date: Jun 2010
Location: Pune, India
Posts: 12
Rep Power: 15 |
Hi
I have a domain with multiple inlets and outlets. I need to calculate the average temperature at an outlet and patch that as inlet temperature of another inlet (at every time step). I tried using groovy BC for that. but it seems groovy BC doesnt work with OF v2.3.1. I have added following to my controlDict - ---------------------------------------------- libs ("libOpenFOAM.so" "libgroovyBC.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libswakTopoSources.so" ) ; functions ( Temp_IN { //type patchAverage; type surfaces; verbose false; fields (T); patches ( OUTLET1 ); after 298; } ------------------------------------------- And then made following change to T - ---------------------------------------------- INLET1 { type groovyBC; valueExpression "InTemp"; variables "InTemp{OUTLET1}=average(T)+ 25.00000 ;"; value uniform 298; } ------------------------------------------------ I am getting an error like this - -------------------------------------------- --> FOAM FATAL IO ERROR: Unknown patchField type groovyBC for patch type wall ------------------------------------------------------------------ Does groovyBC work with OF v 2.3.1? Or is there anything else that I have to use for my problem? Do I need to install any additional package to make this groovyBC work? Thanks in advance! |
|
February 8, 2016, 08:19 |
|
#2 |
Member
Join Date: May 2015
Posts: 34
Rep Power: 10 |
||
|
|
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 |
OpenFOAM Foundation releases OpenFOAMŪ 2.3.1 | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 4 | February 8, 2015 05:19 |