|
[Sponsors] |
December 14, 2012, 05:18 |
questions about groovyBC
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
1)have totalPressure and totalTemperature been defined in groovyBC?
2)have it been assigned a piecewise function for having discrete values at different times in a discontinue manner?such that we can say for example since t0 until t1 velocity is such and such and since t1 till t2 such and such. |
|
December 14, 2012, 05:45 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
You can use the "a ? b : c"-operator which means "if a is true take b else take c". Or a timeline with two values very close to the jump
__________________
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 |
||
December 14, 2012, 11:07 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thank you.it helps me a lot.
how can it be used exactly.where is the example you have mentioned?a clear example is appreciated. How totaltemperature could be used then? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC for oscillatory flow | liybzd | OpenFOAM Community Contributions | 5 | November 12, 2018 08:53 |
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC | zanilu70 | OpenFOAM Community Contributions | 4 | December 13, 2016 07:46 |
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam | dani2702 | OpenFOAM Community Contributions | 0 | November 17, 2016 04:30 |
[swak4Foam] some questions about neibours of patches in groovyBC | immortality | OpenFOAM Community Contributions | 7 | March 3, 2013 12:38 |
[swak4Foam] Two questions about groovyBC | immortality | OpenFOAM Community Contributions | 3 | December 4, 2012 19:42 |