|March 27, 2012, 12:56||
Simple data export question
Join Date: Dec 2010
Posts: 5Rep Power: 6
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?
|beginner, export, loop|
|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|