I am trying to calculate the wind pressure coefficient, Cp, at specific points on the facade of a test building. This is to validate my setup compared to existing research so I can continue to use it further in my thesis. I made a simple python script to calculate Cp according to the equation Cp = (P - Pref) / (0.5 * rho * Uref^2) however, the results don’t make sense (Cp > 1). I am sampling Pref and Uref at a point 1.5H away from the top of the building. The setup I am emulating specifies U = 12.7m/s at building height (182.88m) which I set in the Create Wind Tunnel Component, however, it seems it still makes 12.7m/s at 10m when I run the analysis.
I tried to follow the advice for getting Cp here: Error with wind simulation when adding awning window panes but BF does not run when I input the function object. I attached my GH file please any help would be appreciated.
PressureCoeffTests.gh (438.5 KB)