|
[Sponsors] |
March 24, 2009, 06:17 |
time dependant inlet velocity
|
#1 |
Member
Join Date: Mar 2009
Posts: 48
Rep Power: 17 |
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 |
|
March 24, 2009, 08:52 |
|
#2 |
Member
Join Date: Mar 2009
Posts: 49
Rep Power: 17 |
Seems impossible. you may have to use step fuction or an equation as input
|
|
March 24, 2009, 10:05 |
|
#3 |
New Member
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
What about using a 1D User Function?
|
|
March 24, 2009, 10:17 |
|
#4 |
Senior Member
|
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 20:31. |
|
March 24, 2009, 12:00 |
Use 1-D interpolation function
|
#5 |
New Member
Join Date: Mar 2009
Posts: 9
Rep Power: 18 |
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 |
|
March 24, 2009, 22:50 |
|
#6 |
Member
Join Date: Mar 2009
Posts: 48
Rep Power: 17 |
Thanks Cyclone, It works very well. Your advice is very helpful.
Best Regards, Az |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unsteady inlet velocity udf | jill | FLUENT | 8 | February 10, 2015 07:04 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Time depend velocity inlet and outflow | Seizopha | FLUENT | 2 | January 14, 2005 22:01 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |