|
[Sponsors] |
April 23, 2020, 16:47 |
Flux of UDS
|
#1 |
Member
Pierce
Join Date: May 2019
Posts: 40
Rep Power: 7 |
I have created a UDS which runs nicely, however I want to specify the flux at the walls of the aircraft wing to be the same as pressure flux. I used the following code:
DEFINE_PROFILE(UDSP, t, i) { real x[ND_ND]; /* this will hold the position vector */ real y, h; face_t f; real A[ND_ND]; begin_f_loop(f,t) { F_CENTROID(x, f, t); F_AREA(A,f,t); F_PROFILE(f, t, i) = A[0]*C_P_G(f,t)[0]+A[1]*C_P_G(f,t)[1]+A[2]*C_P_G(f,t)[2]; } end_f_loop(f, t) } however I keep getting an error. Any help would be appreciated |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
UDS Flux Function Choice | Yang Chung | FLUENT | 1 | November 17, 2015 02:14 |
setting UDS Flux | Andrew Garrard | FLUENT | 9 | February 10, 2015 14:26 |
UDS Flux Function Problem | sunbird04 | FLUENT | 6 | April 28, 2014 03:58 |
Help with UDS FLUX | Andrew Garrard | FLUENT | 2 | February 14, 2005 06:47 |