CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Inlet function (

Huski February 12, 2013 10:33

Inlet function
5 Attachment(s)
Hi all,

I'm trying to simulate the behavior of the abdominal aorta and I need of a inlet function that it changes with the radius like a target for archery or like concentric circles.
The inlet is a circle with the center in the origin of axis [0,0,0] and it is in the XZ plane. Attachment 18980

The inlet function is the velocity and I have the values in a chart.

I created an user function with an three dimensional interpolation (velocity,time, radius and Y value). Attachment 18978

After I created an expression called MyRad define of this expression:
sqrt((X Coordinate)^2+(Y Coordinate)^2) Attachment 18975

and a new variable called MYRAD.

After this I set up the new variable in the fluid domain and set up the inlet velocity in inlet boundary. Attachment 18979

I obtained a profile like in the picture Attachment 18976

How can I do for obtain the right profile???

Thank you

Huski February 12, 2013 11:18

I found the solution there was a very banal error, but I don't know how to delete the post...
Thnk you all...

ghorrocks February 12, 2013 18:45

If you want me to I can delete the post, but it is better if you post a description of what the fix is so if people find it in future they can learn from it.

Huski February 13, 2013 05:59

In the expression I have made a very bad mistake, the inlet is in the plane XZ and the right expression is:

sqrt((X Coordinate)^2+(Z Coordinate)^2)

All times are GMT -4. The time now is 00:54.