Normal component of velocity in groovyBC
Hi Foamers!
I am struggling with with a pressure BC with groovyBC. I want to define a groovyTotalPressure where p0Expression looks as follows: Code:
p0Expression "(U*normal() > 0) && (p < 99500) ? base - (mag(U)*a_max + b_max*mag(U)*mag(U)) : 99500"; I would be pleased if anyone can help me! Regards JW |
Hi!
Problem is already solved. I did it with U&normal(). At least it gave me the correct results. Regards, JW |
All times are GMT -4. The time now is 23:11. |