CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Trying to Output Data from *Specific Zone* (e.g. axis of symmetry) Within 2D Domain (https://www.cfd-online.com/Forums/fluent/85489-trying-output-data-specific-zone-e-g-axis-symmetry-within-2d-domain.html)

ksiegs2 February 27, 2011 12:58

Trying to Output Data from *Specific Zone* (e.g. axis of symmetry) Within 2D Domain
 
Hello.

I am trying to write a UDF to export data for species mass fraction concentration gradient *along the axis of symmetry* of my 2D axisymmetric model.

I can get the data to output for all of the nodes in the 2D domain, but I cannot figure out how to output data only for the specific zone I need.

Right now it exports the species mass fraction gradient vector as one long vector for all nodes, with no indication as to which data point came from which node, or even which zone.

Does anyone know how to selectively output data from just a single zone? Or how to determine where each data point is coming from?

Thank you very much.

[I created my UDF by adapting the pressures_to_file.c UDF in the Fluent V12 users guide, if that helps.]

Thanks again!

Amir February 27, 2011 14:54

Hi Kate,
you can store species mass fraction concentration gradient in a UDM in your UDF and then from GUI, export data along axis.


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