|
[Sponsors] |
[swak4Foam] turbulence boundary condition in groovyBC. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 27, 2012, 06:51 |
turbulence boundary condition in groovyBC.
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
how is it possible to use a variable with time boundary condition for turbulancy in groovyBC?
i want to apply a boundary condition for k and omega in kOmega turbulency model so that it varies between kqrwallfunction for wall and a fixedvalue for environment.how can i enter kqrwallfunction when the patch is wall? How can i do it? Any idea and thoght is appreciated and is thanked. |
|
January 5, 2013, 18:51 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Please do the following: imagine you're another person and don't know what you want to do, then reread you posting and think what you (the you that wrote the posting) wanted to ask ... probably then you'll feel the urge to reformulate the question
__________________
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 |
||
January 6, 2013, 03:27 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
hi.as i told it should be modeled a changing with time turbulent BC.
As it mentioned there is a patch that changes between a wall and inflow or outflow(like shock tube but left wall is rotating and have some ports in it to the outside environment)i want to use kOmegaSST model.for example for k value in this model there is a submodel for wall named kqRWallFunction.then as i want to use groovyBC i should write the formula of that manually in groovyBC.my question is this.how to write kOmegaSST formula in groovyBC?what are the formula i should use for instance how to write kqRWallFunction?can i write it directly in groovyBC? I hope this is clear.thanks. |
|
January 6, 2013, 06:56 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
If you look at the implementation of kqRWallFunction it says in the comment "Boundary condition for turbulence k, Q, and R when using wall functions. Simply acts as a zero gradient condition." so by switching the fractionExpression to 0 and having the gradientExpression 0 as well should give you what you want
__________________
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 |
||
January 6, 2013, 09:32 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks.you mean in folders k,Q and R i should set them as zeroGradient when the patch is wall in fact.right?but I don't know what are k,Q and R and I haven't a folder named Q in my case.also I have deleted R folder because in parallel run an error has occured and referred to the R function and as I asked at another thread someone replied that I have no need in R folder in kOmegaSST model.please explain a little more.thanks.
|
|
January 6, 2013, 16:00 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
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 |
||
January 7, 2013, 04:19 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks.for only knowing im curious about what can be q and r?is r refered to reynolds stress?
Then i should only set k to 0 in gradientExpression and value at inlet? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
several fields modified by single boundary condition | schröder | OpenFOAM Programming & Development | 3 | April 21, 2015 06:09 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |