|
[Sponsors] | |||||
[swak4Foam] groovyBC for coupled boundary condition |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Join Date: Feb 2014
Posts: 33
Rep Power: 13 ![]() |
Dear foamers,
I would like to set up the boundary condition for P that is coupled to the variable T. For example: dP ----- = - T dn on a specific patch (lets say floor) I did try, floor { type groovyBC; gradientExpression "-thetaFloor"; fractionExpression "0"; variables "thetaFloor{floor}=T;"; value uniform 0; } But then I get --> FOAM Warning : From function ExpressionResult::getUniformInternal(const label size,bool noWarn) in file ExpressionResult/ExpressionResultI.H at line 332 The minimum value -47.6319 and the maximum 41.4594 differ. I will use the average -0.120515 every time step. What am I doing wrong? |
|
|
|
|
|
|
|
|
#2 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
The problem of remote variables having to be uniform was discussed numerous times (I won't repeat this here especially as you don't need a remote)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
|
||
|
|
|
#3 |
|
Member
Join Date: Feb 2014
Posts: 33
Rep Power: 13 ![]() |
Thanks it works.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
| [swak4Foam] Boundary condition set using groovyBC or codedFixedValue | behzad-cfd | OpenFOAM Community Contributions | 17 | December 19, 2017 13:30 |
| Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
| Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
| [swak4Foam] turbulence boundary condition in groovyBC. | immortality | OpenFOAM Community Contributions | 6 | January 7, 2013 04:19 |