CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Inlet function

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 12, 2013, 10:33
Default Inlet function
  #1
New Member
 
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 4
Huski is on a distinguished road
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
Huski is offline   Reply With Quote

Old   February 12, 2013, 11:18
Default
  #2
New Member
 
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 4
Huski is on a distinguished road
I found the solution there was a very banal error, but I don't know how to delete the post...
Thnk you all...
Huski is offline   Reply With Quote

Old   February 12, 2013, 18:45
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,824
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   February 13, 2013, 05:59
Default
  #4
New Member
 
Luca Viaro
Join Date: Nov 2012
Posts: 8
Rep Power: 4
Huski is on a distinguished road
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)
Huski is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing the inlet time directories in timeVaryingMappedFixedValue ngj_22 OpenFOAM Running, Solving & CFD 0 January 24, 2013 11:22
Udf function average temp inlet - outlet erodv FLUENT 2 March 7, 2011 20:54
Inlet in function of time Sonia84 FLUENT 1 December 30, 2009 18:58
inlet in function of outlet Marc FLUENT 0 November 15, 2006 04:09
Could you please help me liugx212 OpenFOAM Paraview & paraFoam 4 December 22, 2005 17:55


All times are GMT -4. The time now is 17:18.