You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

Unknown macro: {latex}

\begin

Unknown macro: {eqnarray}

\phi = -psin(\theta)
\end

Once the user defined function is implemented, we can use liftFunc to integrate the specified user defined scalar over the entire specified surface. Note that the liftFunc UDF calculates a side force that is NOT normalized. So you'll have to divide the reported value by 0.5*rho*v^2*D*1 to get the normalized side force. This is because when you integrate liftFunc, you get the integral of -p*sin(theta) on the chosen surfaces.

User-defined function implementation to obtain the lift coefficient around the cylinder is as follows.


Go to Step 6: Numerical Results
Go to all FLUENT Learning Modules

  • No labels