CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Simple data export question

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 27, 2012, 12:56
Default Simple data export question
  #1
New Member
 
David Russ
Join Date: Dec 2010
Posts: 5
Rep Power: 6
mlbontbs87 is on a distinguished road
I am completely new to UDF programming, or to C in general, so hopefully this question will be easy for someone more experienced.

I am trying to export the following data for each cell in my domain:
x,y,z position, u,v,w velocities, and a list of which cells border that cell.

Ansys told me I can use the F_C0 & C_C1 macros nested inside a c_face_loop macro to generate a list of the bordering cells. I inferred that I need to nest that in a loop across all cells.

I think exporting the position and velocity data should be easier.

With that all said, I am not sure how to incorporate any of this code into a udf macro. Does anyone know an easy way to do this, or at least a quick way to learn UDFs for Fluent?
mlbontbs87 is offline   Reply With Quote

Reply

Tags
beginner, export, loop

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
Writing/output of simple data into an ASCII-File matthi OpenFOAM Programming & Development 17 July 8, 2015 16:08
fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 May 2, 2013 10:52
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 14:51
Simple Question - or not? Florian2 Main CFD Forum 10 November 17, 2011 17:48
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 00:23.