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 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 φ Unable to find DVI conversion log file.
3. Run at least one iteration to integrate φ over the cylinder 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