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

Simple data export question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2012, 13:56
Default Simple data export question
  #1
New Member
 
David Russ
Join Date: Dec 2010
Posts: 5
Rep Power: 15
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


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
Writing/output of simple data into an ASCII-File matthi OpenFOAM Programming & Development 24 January 8, 2019 14:28
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11: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 19:13.