Author(s): Keith Works, 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
8. Exercises
Exercises
Simulating a Non-Newtonian Fluid Using the Casson Model
A user defined function (UDF) can be used to implement the Casson fluid model. The Casson fluid model is given below:
Unable to find DVI conversion log file.A UDF incorporating the equations above is included in the file that you can download here. This file also contains the UDF for defining the time variation of the inlet velocity. You need to use this file for the Casson model and not the one provided in the tutorial. This is necessary because all UDF's need to be in one .c file. You could also use this .c file for all your cases whether you are using the Casson model or not.
In order to implement this file in FLUENT, in the top menu bar, under "Define" -> "User Defined" -> "Functions", choose "Interpreted". Find the .c file in the directory, and choose "Interpret". Then under materials, double click on the fluid you defined, and for viscosity, choose "User Defined". Then choose "casson_viscosity". You assign the inlet velocity as in the tutorial.
The following videos go through the steps for modifying the bifurcating artery geometry in ANSYS SpaceClaim. For instructions on modifying the geometry using SolidWorks, see the page 3D Bifurcating Artery - Exercises (Legacy).
Watch the following video for a demonstration of how to add obstructions to the original artery geometry using ANSYS SpaceClaim.
Quick Summary:
Edit Model in SpaceClaim
File > SpaceClaim Options > Set Minimum Grid Spacing to 0.1mm
Place a point where you want the centroid of the obstruction located
Merge the surrounding faces using Repair > Merge Faces
Hide Artery
Sketch an ellipse on XZ plane
Major axis length (along Z): 12mm
Minor axis length (along X): 4mm
Pull > Select the Z axis > Click the |> button
Move > Up to > Click on the Point from earlier
Unhide Artery and make sure ellipsoid is properly sized and positioned
Use Pull > Scale to resize the ellipsoid
Use Move to reposition the ellipsoid using the directional or orientational handles
Click Combine
Click the artery, then the ellipsoid (should result in three solids)
Delete or suppress all entities except the artery
Click Pull, click on the edge of the resulting depression and create a fillet
If you need to restart for any reason, simply CTRL + click the depression and the fillet and then click Fill (make sure you click the green checkmark that is on the screen)
Watch the following video for a demonstration of how to add a stent to the original artery geometry using ANSYS SpaceClaim. You will need to suppress the solid created to generate the effect of the stent before opening the geometry in the mesher.
Quick Summary:
Create a new sketch, move to one end of the obstruction
Use Spline to mimic the artery boundary (just click on the edge of the artery that is visible and follow the dots that show up)
Use Offset Curve to create two more curves: one inside and one outside the artery
Return to 3D mode
Hide the artery
Delete the inner portions of the resulting surfaces leaving only the outer ring
Unhide the artery
Do the same on the other end of the obstruction
Hide the artery
Use Blend and then control + click the two faces that remain
Unhide the artery
Ctrl + Click the missing ellipse and fillet and click Fill if you haven’t already
Use Combine as before to create three solids
Delete or suppress all entities except the artery
Use pull to smooth any sharp edges as desired
Go to Comments
Go to all FLUENT Learning Modules