|
[Sponsors] |
[UDF]How to get flow variables at specific coords? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 17, 2002, 10:58 |
[UDF]How to get flow variables at specific coords?
|
#1 |
Guest
Posts: n/a
|
Hello,
I would to get flow variables in UDF at specific coordinates. However I only see functions like C_V(c,t) or C_P(c,t) which required the cell and thread pointers. So it is possible to know the cell and thread pointers with physical coordinates? The only one solution I see for instance is to do a loop over all cells on the domain and to test their coordinates... I am not sure of efficiency So, any ideas are welcome. Thanks Mickaël PERRIN |
|
July 18, 2002, 16:11 |
Re: [UDF]How to get flow variables at specific coo
|
#2 |
Guest
Posts: n/a
|
There might be an efficient way if we knew exactly what you are attempting. However, the only way I can think of is to loop to match the x, y, z location with the variable. If you can create a surface in your original mesh, i.e. so a thread ID exists for it, you could minimize the search time by focussing the search on that surface ID.
|
|
July 18, 2002, 16:25 |
Re: [UDF]How to get flow variables at specific coo
|
#3 |
Guest
Posts: n/a
|
Thanks for your answer !
In fact, my main goal is to export data at specific location in all data files. I want to draw the pressure, speed,etc.. at specific locations in function of time. I know how to do the loop over all data files. However, i have no idea of an efficient way to write into a file the pressure, speed at specific locations! I hope this help you to find an efficient way ! Thanks again. Best regards. Mickaël PERRIN |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Target Mass Flow Rate | Nitin | FLUENT | 9 | June 17, 2017 11:30 |
transform navier-stokes eq. to euler-eq. | pxyz | Main CFD Forum | 37 | July 7, 2006 09:42 |
Question on 3D potential flow | Adrin Gharakhani | Main CFD Forum | 13 | June 21, 1999 06:18 |
computation about flow around a yawed cone | Tylor Xie | Main CFD Forum | 0 | June 9, 1999 08:33 |