CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Regarding UDF for multiphase modelling in ANSYS Fluent (https://www.cfd-online.com/Forums/fluent/255048-regarding-udf-multiphase-modelling-ansys-fluent.html)

msd March 15, 2024 09:57

Regarding UDF for multiphase modelling in ANSYS Fluent
 
Dear All,

I am working on multiphase modelling of blood in coronary arteries and I am trying to apply modified Carreau-Yasuda model. It is adapted from from this article:

https://link.springer.com/article/10...439-005-9017-0

For the implementation of the viscosity model, I have tried to implement the UDF given in this thread:

https://www.cfd-online.com/Forums/fl...ity-blood.html

As soon as I interpret the UDF, it gives me parse error in the lines where all the variables are declared. Can anyone explain why this phenomenon is happening?

Apart from it, I am also not clear with:
What exactly 'ID' refers to in the first line? Does it refer to ID of the fluid domain?

Thank you in advance!


All times are GMT -4. The time now is 07:24.