CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Projected area to output parameters (https://www.cfd-online.com/Forums/fluent-udf/168089-projected-area-output-parameters.html)

Daniil85 March 15, 2016 16:19

Projected area to output parameters
 
Hello, all!
I trying to calculate drag coefficient of parameterized model with Fluent 16.2. For calculate Cd correctly, I need to set correct values of area, density and velocity in "Reference Values" menu, or, I need to output Force X, density, velocity and projected area from Fluent in "Output Parameters" (to calculate it outside of Fluent).

I already have output Fx, density and current velocity (through "output parameters"), but I can't find a way to output projected area.

How can I do this with Fluent scripting system? Or, is there any other way?

`e` March 16, 2016 15:44

Have a read of this thread on calculating the area of a boundary: http://www.cfd-online.com/Forums/flu...tml#post539642

For a projected area, use the dot product with the relevant unit vector.


All times are GMT -4. The time now is 21:43.