|
[Sponsors] |
February 12, 2013, 09:33 |
Inlet function
|
#1 |
New Member
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 13 |
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. Screen.jpg 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). Funcyion.jpg After I created an expression called MyRad define of this expression: sqrt((X Coordinate)^2+(Y Coordinate)^2) Expression.jpg 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. Inlet_setting.jpg I obtained a profile like in the picture Inlet.jpg How can I do for obtain the right profile??? Thank you |
|
February 12, 2013, 10:18 |
|
#2 |
New Member
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 13 |
I found the solution there was a very banal error, but I don't know how to delete the post...
Thnk you all... |
|
February 12, 2013, 17:45 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
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.
|
|
February 13, 2013, 04:59 |
|
#4 |
New Member
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 13 |
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) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Udf function average temp inlet - outlet | erodv | FLUENT | 4 | October 6, 2017 11:16 |
Reusing the inlet time directories in timeVaryingMappedFixedValue | ngj_22 | OpenFOAM Running, Solving & CFD | 0 | January 24, 2013 10:22 |
Inlet in function of time | Sonia84 | FLUENT | 1 | December 30, 2009 17:58 |
inlet in function of outlet | Marc | FLUENT | 0 | November 15, 2006 03:09 |
[OpenFOAM] Could you please help me | liugx212 | ParaView | 4 | December 22, 2005 16:55 |