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:
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 Ansys Fluent, in the top menu bar, under "Define" -> "User Defined" -> "Functions", choose "Interpreted." Find the .c file in the directory and choose "Interpret". Under materials, double click on the fluid you defined, and for viscosity choose "User Defined.".Then choose "casson_viscosity." Assign the inlet velocity as in the tutorial.
The following videos go through the steps for modifying the bifurcating artery geometry in Ansys SpaceClaim.
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.1 mm
Place a point where you want the centroid of the obstruction to be located
Merge the surrounding faces using Repair > Merge Faces
Hide Artery
Sketch an ellipse on XZ plane
Major axis length (along Z): 12 mm
Minor axis length (along X): 4 mm
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. (Note, if a curve is made instead, use the stitch tool to combine the surfaces into a surface.)
You are being redirected to our marketplace website to provide you an optimal buying experience. Please refer to our FAQ page for more details. Click the button below to proceed further.