CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

groovyTotalPressure

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 8, 2013, 10:53
Default groovyTotalPressure
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,174
Rep Power: 16
immortality is on a distinguished road
in which example i can find a groovyTotalPressure BC?
thanks.
immortality is offline   Reply With Quote

Old   January 8, 2013, 14:20
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,905
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
in which example i can find a groovyTotalPressure BC?
thanks.
Not sure whether there is an example. But it is used like the regular totalPressure only that the value is an expression (leave that out and OF will complain about the missing parameter anyway)
__________________
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
gschaider is offline   Reply With Quote

Old   January 8, 2013, 14:47
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,174
Rep Power: 16
immortality is on a distinguished road
can it be mixed by groovyBC like this for p:
type groovyBC;
fractionExpression "t1<=time()&&time()<=t2 ?0:1";
valueExpression "groovyTotalPressure=250000"
gradientExpression "0"
There isn't another ready for temperature,there is?
immortality is offline   Reply With Quote

Old   January 8, 2013, 15:29
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,905
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
can it be mixed by groovyBC like this for p:
type groovyBC;
fractionExpression "t1<=time()&&time()<=t2 ?0:1";
valueExpression "groovyTotalPressure=250000"
gradientExpression "0"
There isn't another ready for temperature,there is?
2 times "No"

And next time please try for yourself before you ask. That is the best way to learn. Search this forum for the "bananas trick" (yes. no joke). That is a really neat way to find out about parameters and you don't have to test the patience of people
__________________
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
gschaider is offline   Reply With Quote

Old   January 8, 2013, 16:49
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,174
Rep Power: 16
immortality is on a distinguished road
thanks for your patience dear bernhard.
i have no computer at home.i have only access to my professor's in his room.and sometimes when i come back home or am not there questions occur to ask that i cant test them only can ask by cell phone!
I had a corei7 920 2years ago that when we were not at home it was stolen and home was ransacked at a terribly way.since we can't afford to buy another computer and very consequence problems has been occured since then.my before advisor changed because all my fluent runs had been lost and a new thesis has defined with openfoam.now i have accept at phd course that i should go another city one month later but my Ms.c thesis has not finished yet and if it doesn't finish until that time ill miss the course.
Excuse me for verbosing and poor english then and also not wisely questions.
immortality is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 00:08.