CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF to define source term at every grid point (https://www.cfd-online.com/Forums/fluent/42354-udf-define-source-term-every-grid-point.html)

Ralf Schmidt September 21, 2006 11:32

UDF to define source term at every grid point
 
Hi!

I want to write an udf, that defines a source term (eg. inertial resistance for a porous zone) at every grid point.

The values are not divided even, so I will load a table, were for every grid point the value is defined.

Now, how to write that udf??

I will read the grid point coordinates in an external programm (matlab) and calculate the value at every point. How that works, I do know...

Any Idea for the other problem??

Ralf


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