KR402: How to compute the integral of a variable along a line using UDF in FLUENT? (Solution ID: 1293)


Line surfaces in FLUENT have area in 2d and 2d-axi but not in 3d, so currently integrals on line surfaces are zero.

This solution provides a sample User Defined Function (UDF) that shows how to calculate the integral of a variable (say temperature) along a line in fluent, then divide it by the length of the line, and output this number at every time step, for a large number of lines in a transient 3d simulation.





Show Form
No comments yet. Be the first to add a comment!