CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

HOW TO ACCESS THE CG VELOCITY (HELP)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 9, 2009, 11:44
Default HOW TO ACCESS THE CG VELOCITY (HELP)
  #1
itoa
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
  Reply With Quote

Old   January 13, 2009, 06:53
Default Re: HOW TO ACCESS THE CG VELOCITY (HELP)
  #2
Amine
Guest
 
Posts: n/a
Itoa,,

You can use this macro :

DT_VEL_CG(dt)
  Reply With Quote

Old   January 13, 2009, 13:03
Default Re: HOW TO ACCESS THE CG VELOCITY (HELP)
  #3
itoa
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
  Reply With Quote

Old   January 14, 2009, 05:17
Default Re: HOW TO ACCESS THE CG VELOCITY (HELP)
  #4
Amine
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 !!
  Reply With Quote

Old   January 14, 2009, 06:29
Default Re: HOW TO ACCESS THE CG VELOCITY (HELP)
  #5
Rami
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.
  Reply With Quote

Old   January 17, 2009, 05:07
Default Re: HOW TO ACCESS THE CG VELOCITY (HELP)
  #6
itoa
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
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
access violation co2 FLUENT 5 November 7, 2010 11:48
How to access mean velocity in LES by UDF sarah_ron2002 FLUENT 5 December 20, 2006 11:44
how to access Cd and Cl in UDFs? kevin FLUENT 0 March 23, 2006 09:37
how to access second derivative of velocity Lichun Dong FLUENT 6 December 8, 2005 12:09
access violation R.B.M FLUENT 3 July 11, 2002 05:07


All times are GMT -4. The time now is 05:25.