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

UDF a at fixed z in space

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2003, 10:39
Default UDF a at fixed z in space
  #1
Christian
Guest
 
Posts: n/a
Hi.

I want to make a calculation in my udf in a 3d case at a fixed z value (ie. a plane at a fixed z).

Can anyone please assist me finding the correct macro?

  Reply With Quote

Old   May 21, 2003, 11:58
Default Update
  #2
Christian
Guest
 
Posts: n/a
I guess that I am searching for the method to define to the macro where to loop over faces, cells....

It is not at a boundary. And I just want to report the values of the x-, y- and z-velocities.

  Reply With Quote

Old   May 21, 2003, 12:13
Default Re: Update
  #3
mateus
Guest
 
Posts: n/a
Hi!

Im not shure if I understand. But if you want to report velocity at a certain poin in youd domain you can do it without UDF. Define a point (surface-point...) and turn on surface monitor (solve-monitors-surface) for velocity at that point...

best regards

MATEUS
  Reply With Quote

Old   May 21, 2003, 12:36
Default Re: Update
  #4
Christian
Guest
 
Posts: n/a
Thanks.

Yes I know. But I want to report the velocity at all cells in a plane defined by me.
  Reply With Quote

Old   May 21, 2003, 12:58
Default Re: Update
  #5
mateus
Guest
 
Posts: n/a
hi!

You can define a new plane with Surface-isosurface...grid

BEST REGARDS

MATEUS
  Reply With Quote

Old   May 22, 2003, 04:25
Default Re: Update
  #6
Christian
Guest
 
Posts: n/a
Hi.

Yes I know. What I don't know is how to link it to a udf in order to write values for all the faces in a specific surface. If that operation is possible to do directly in the surface command range (without a udf) I would like to know how. But as I see it the surface commands can only give average values or values in points defined by me. And that is not what I am looking for, but the face values.

Cheers
  Reply With Quote

Old   May 23, 2003, 08:36
Default Re: UDF at fixed z in space
  #7
mystic_cfd
Guest
 
Posts: n/a
hi Christian

when you export values from a iso-surface/plane-surface/clip-surface, the values in the output are cell-centered values of the cells cut by your slice. this, i think, is the face values you are looking for? you can easily export this data to a number of different formats by just using the GUI/TUI.

if you are looking for the values of the faces of each cell, then you have to use a UDF, but it becomes more difficult to decide which cells belong to the z-plane you define.

good luck!
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
Error in compiling UDF for computation of space charge density greensociety FLUENT 1 July 21, 2009 03:29
UDF for C_VOF variation with time and space Frederik FLUENT 4 December 19, 2005 01:53
UDF: source, fixed value for a given region Ming FLUENT 1 March 4, 2003 18:23
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03


All times are GMT -4. The time now is 18:07.