|
[Sponsors] |
October 17, 2022, 13:06 |
Fluent how to access coordinates of vector
|
#1 |
New Member
Jad Diab
Join Date: Apr 2022
Posts: 14
Rep Power: 4 |
Dear all,
I am trying to access the coordinates of a calculated vector in a UDF. Basically, I am calculating the current density through a created UDS of the electric potential, by using vector commands (NV_VEC, NV_VS) However, I need to use the 3d cartesian components of this current_density vector for further calculations, would writing NV_VEC(current_density)[0] give access to the x component of the current density, and NV_VEC(current_density)[1] give acces to the y-component, etc. or no? and if not, could someone please help me in accessing the cartesian components of the vector? Thank you in advance |
|
October 18, 2022, 03:55 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
current_density[0] for x component
current_density[1] for y component
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
fluent, fluent - udf, udf, uds, vector |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
looking for a smart interface matlab fluent | chary | FLUENT | 24 | June 18, 2021 10:07 |
Displaying a uniform vector in ansys fluent output image | Hong M.H | FLUENT | 0 | April 27, 2018 01:09 |
Fluent calculating cylindrical coordinates | Falldox | FLUENT | 1 | January 31, 2017 11:10 |
working in cylindrical coordinates in fluent | Randheer Yadav | FLUENT | 2 | January 18, 2015 17:25 |
Remote Access to FLUENT | Doug O'Brien | FLUENT | 0 | December 20, 2004 03:00 |