|
[Sponsors] |
[swak4Foam] Normal component of velocity in groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2016, 05:51 |
Normal component of velocity in groovyBC
|
#1 |
New Member
Justin Wiegmann
Join Date: Aug 2015
Posts: 20
Rep Power: 11 |
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 |
|
July 14, 2016, 04:43 |
|
#2 |
New Member
Justin Wiegmann
Join Date: Aug 2015
Posts: 20
Rep Power: 11 |
Hi!
Problem is already solved. I did it with U&normal(). At least it gave me the correct results. Regards, JW |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Velocity component averaging in ParaView | jet_engine | OpenFOAM Running, Solving & CFD | 1 | June 20, 2016 08:05 |
[swak4Foam] Set surface normal manually in groovyBC | Mitchell Baum | OpenFOAM Community Contributions | 1 | March 15, 2016 01:25 |
Surface normal velocity BC with zero gradient tangential, cylinder | c_dowd | OpenFOAM Running, Solving & CFD | 0 | May 25, 2013 08:22 |
Convergency y component velocity | aryan | Main CFD Forum | 0 | February 18, 2013 08:42 |