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:

{\large
\begin{align*}
&\mu = \frac{\mu_{\infty}^2}{\dot{\gamma}}+\frac{2\mu_{\infty} N_{\infty}}{\sqrt{\dot{\gamma}}}+N_{\infty}^2\\
&N_{\infty}=\sqrt{\mu_p (1-Hct)^{-0.25}}\\
&\mu_{\infty}=\sqrt{(0.625Hct)}\\
&\text{For blood:}\mu_p=0.00145 [Pa\cdot s];\>Hct=0.4
\end{align*}
}


Note that $\tau_y=\mu_{\infty}^2$, also know as the yield stress. $k_c=N_{\infty}$, also known as the consistency index.

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. 

 Note that the results shown at end in the following video are for the pipe flow problem, not the bifurcating artery. This is for illustration purposes only. You would need to check yourself how your original results for the bifurcating artery change when you implement the Casson model. 


<iframe width="560" height="315" src="https://www.youtube.com/embed/OXeF-0_dET4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>




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.

<iframe width="560" height="315" src="https://www.youtube.com/embed/zB_Se_SB0E0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Quick Summary:


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. 

<iframe width="560" height="315" src="https://www.youtube.com/embed/wmvKFcieBvA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Quick Summary:

  1. Create a new sketch, move to one end of the obstruction

  2. 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)

  3. Use Offset Curve to create two more curves: one inside and one outside the artery

  4. Return to 3D mode

  5. Hide the artery

  6. Delete the inner portions of the resulting surfaces leaving only the outer ring

  7. Unhide the artery

  8. Do the same on the other end of the obstruction

  9. Hide the artery

  10. Use Blend and then control + click the two faces that remain

  11. Unhide the artery

  12. 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)

  13. Use Combine as before to create three solids

  14. Delete or suppress all entities except the artery

  15. Use pull to smooth any sharp edges as desired


Go to Comments
Go to all FLUENT Learning Modules