{include: FLUENT Google Analytics} \\ {include: User Defined Functions - Panel} h1. Numerical Solution The user defined function from the Pre-Analysis section defines the lift function in C and defines the pressure and centroid of each face, then calculates the quantity called liftFunc, defined as {latex}\begin{eqnarray} \phi = -psin(\theta) \end{eqnarray}{latex} Once the user defined function is implemented, Fluent will use liftFunc as a boundary condition to integrate the specified user defined scalar over the entire specified surface. User-defined function implementation to obtain the lift coefficient around the cylinder is as follows. {html}<iframe width="600" height="338" src="http://www.youtube.com/v/RZAvenIhH_s&hl=en&fs=1" frameborder="0" allowfullscreen></iframe>{html} [Go to Step 6: Numerical Results|SIMULATION:User Defined Functions - Numerical Results] [Go to all FLUENT Learning Modules|SIMULATION:FLUENT Learning Modules] |