Authors: Lara Backer and Rajesh Bhaskaran, Cornell University
Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Physics Setup
5. Numerical Solution
6. Numerical Results
7. Verification & Validation
Exercises
Comments
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
\begin
\phi = -psin(\theta)
\end
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.