|
[Sponsors] |
March 27, 2012, 13:56 |
Simple data export question
|
#1 |
New Member
David Russ
Join Date: Dec 2010
Posts: 5
Rep Power: 16 |
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? |
|
Tags |
beginner, export, loop |
|
|
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 |