|
[Sponsors] |
[swak4Foam] groovyBC boundary using values from another boundary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2012, 21:07 |
groovyBC boundary using values from another boundary
|
#1 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 14 |
Dear all
I have been studying the groovyBC boundary condition these days.But I am confused in understanding something. The following is my inputing file for pressure p. ------------------------------------------------------------------------------------------------------- dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { SIDE { type groovyBC; value uniform 0.1; valueExpression "Pside"; variables "Pside@SIDE=p;"; } OUT { type zeroGradient; } IN { type zeroGradient; } } ---------------------------------------------------------------------------------------------------------- Does it mean that I am using the state of the fields P on the same patches(in my case it is SIDE) from the previous time-step or iteration to evaluating the pressure expression in run-time? According the original description from website http://openfoamwiki.net/index.php/Contrib_groovyBC "groovyBC provides the ability to access fields from remote patches (other patches present within the current simulation). When evaluating the expression in run-time, the state of the fields on the remote patches from the previous time-step or iteration are utilised." Have I understood it correctly? Thank you for your suggestion! lg88 |
|
Tags |
groovybc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 17:44 |
domain imbalance for enrgy equation | happy | CFX | 14 | September 6, 2012 01:54 |