Exercises — Lesson 9

The user-defined function downloaded in the first section is only applicable to cylindrical boundaries due to the definition of the lift function as a function of theta. Alter the UDF to be applicable to any surface geometry, such as an airfoil. You can call the modified function liftFunc2. Verify that liftFunc2 gives the same result as the original liftFunc for the cylinder.