The strategy for computing the lift force using the UDF is as follows:
1. Turn on a 'user defined scaler' φ which Fluent will solve for
2. On the cylinder surface, set the below equation by implementing the UDF as a boundary condition for φ
{latex}\begin{eqnarray} \phi = -psin(\theta) \end{eqnarray}{latex} |
User-defined function implementation to obtain the lift coefficient around the cylinder is as follows.
<iframe width="600" height="338" src="//www.youtube.com/embed/RZAvenIhH_s?list=UU8bXUXdcNDyFTIp6YVrtReg" frameborder="0" allowfullscreen></iframe> |
Go to Step 6: Numerical Results
Go to all FLUENT Learning Modules