CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   groovyTotalPressure (https://www.cfd-online.com/Forums/openfoam-solving/111488-groovytotalpressure.html)

immortality January 8, 2013 10:53

groovyTotalPressure
 
in which example i can find a groovyTotalPressure BC?
thanks.

gschaider January 8, 2013 14:20

Quote:

Originally Posted by immortality (Post 400735)
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)

immortality January 8, 2013 14:47

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?

gschaider January 8, 2013 15:29

Quote:

Originally Posted by immortality (Post 400787)
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

immortality January 8, 2013 16:49

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.


All times are GMT -4. The time now is 11:32.