|
[Sponsors] |
January 9, 2009, 10:44 |
HOW TO ACCESS THE CG VELOCITY (HELP)
|
#1 |
Guest
Posts: n/a
|
Hi all,
if there are two dynamic zones 1 and 2 i want to write a udf for zone 2 in which i want to access the CG VEL of zone 1. i cant find anything . Thanks in advance itoa |
|
January 13, 2009, 05:53 |
Re: HOW TO ACCESS THE CG VELOCITY (HELP)
|
#2 |
Guest
Posts: n/a
|
Itoa,,
You can use this macro : DT_VEL_CG(dt) |
|
January 13, 2009, 12:03 |
Re: HOW TO ACCESS THE CG VELOCITY (HELP)
|
#3 |
Guest
Posts: n/a
|
Thanks for replying amine
but the dynamic thread pointer that is dt is not passed by the solver in this case. because i dont want to access the velocity of the zone on which the UDF will be applied instead of that i want to access the velocity of some other dynamic zone. I guess you have not read my question properly. Thanks for your time itoa |
|
January 14, 2009, 04:17 |
Re: HOW TO ACCESS THE CG VELOCITY (HELP)
|
#4 |
Guest
Posts: n/a
|
Hi Itoa, In fact, I've not read completely your message, I was looking for a macro in a list of macros and I found that, I thought that it could help you !!
May someone can help u !! |
|
January 14, 2009, 05:29 |
Re: HOW TO ACCESS THE CG VELOCITY (HELP)
|
#5 |
Guest
Posts: n/a
|
itoa,
I haven't yet done this myself, but intend to in the near future. You may either use a global variable (an array seems most convenient) or a file. In either case, each of the zones 1 and 2 will enter a UDF where they put their own CG velocity in the variable or write it to the file. They can access other zones CG velocity by retrieving it from the array or reading it from the file. Please let us know if this (or other idea) solved your problem. |
|
January 17, 2009, 04:07 |
Re: HOW TO ACCESS THE CG VELOCITY (HELP)
|
#6 |
Guest
Posts: n/a
|
yes i solved my problem with same idea that rami described that is writing to and reading from a file.
Thanks all for your precious time and mind |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
access violation | co2 | FLUENT | 5 | November 7, 2010 10:48 |
How to access mean velocity in LES by UDF | sarah_ron2002 | FLUENT | 5 | December 20, 2006 10:44 |
how to access Cd and Cl in UDFs? | kevin | FLUENT | 0 | March 23, 2006 08:37 |
how to access second derivative of velocity | Lichun Dong | FLUENT | 6 | December 8, 2005 11:09 |
access violation | R.B.M | FLUENT | 3 | July 11, 2002 05:07 |