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

time dependant inlet velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By CycLone

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2009, 05:17
Default time dependant inlet velocity
  #1
Member
 
Join Date: Mar 2009
Posts: 48
Rep Power: 17
az_f is on a distinguished road
Hi everybody,
can anyone tell me how I can read the Excel file ( velocity-time) in cfx-pre as a inlet velocity. I don't want to find the trendline and use it as a expression I just need to use the excat data file.

Any help will be appreciated
Thanks
az_f is offline   Reply With Quote

Old   March 24, 2009, 07:52
Default
  #2
Member
 
Join Date: Mar 2009
Posts: 49
Rep Power: 17
John is on a distinguished road
Quote:
Originally Posted by az_f View Post
Hi everybody,
can anyone tell me how I can read the Excel file ( velocity-time) in cfx-pre as a inlet velocity. I don't want to find the trendline and use it as a expression I just need to use the excat data file.

Any help will be appreciated
Thanks
Seems impossible. you may have to use step fuction or an equation as input
John is offline   Reply With Quote

Old   March 24, 2009, 09:05
Default
  #3
LKF
New Member
 
Join Date: Mar 2009
Posts: 16
Rep Power: 17
LKF is on a distinguished road
What about using a 1D User Function?
LKF is offline   Reply With Quote

Old   March 24, 2009, 09:17
Default
  #4
Senior Member
 
Rikio
Join Date: Mar 2009
Location: SH, China
Posts: 182
Blog Entries: 1
Rep Power: 17
rikio is on a distinguished road
Send a message via Skype™ to rikio
You can use a csv file as a profile data to patch the inlet, i.e. specify the boundary profile as you want. Please refer to Profile Boundary Conditions in help documentation.
Good luck.

Last edited by rikio; March 24, 2009 at 19:31.
rikio is offline   Reply With Quote

Old   March 24, 2009, 11:00
Default Use 1-D interpolation function
  #5
New Member
 
Join Date: Mar 2009
Posts: 9
Rep Power: 18
CycLone is on a distinguished road
You can create a user function and load a 1D table for your values.

In Excel:
Set up two columns in excel without headings, putting time in the first colum (the coordinate) and velocity in the second column (the value). Export this table to a comma delimetered file (.csv).

In CFX-Pre:
Create a new user function of type 1D interpolation. Right click in the coordinate/value panel and choose to import your data. Make sure you assign the proper units to the coordinate and value.

To use your function, just write the name and put 't' in brackets to pass it time. For instance, if you called it "my velocity profile" you would enter for velocity in your boundary condition "my velocity profile(t)".

Note that you can use this in an expression and pass any expression as the coordinate (as long as it resolves to the right units). For instance, you can increase the velocity by 10% and shift it back .25 seconds by doing the following:

my velocity profile(t-0.25 [s]) * 1.10

-CycLone
CycLone is offline   Reply With Quote

Old   March 24, 2009, 21:50
Default
  #6
Member
 
Join Date: Mar 2009
Posts: 48
Rep Power: 17
az_f is on a distinguished road
Thanks Cyclone, It works very well. Your advice is very helpful.

Best Regards,
Az
az_f is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
unsteady inlet velocity udf jill FLUENT 8 February 10, 2015 06:04
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Time depend velocity inlet and outflow Seizopha FLUENT 2 January 14, 2005 21:01
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


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