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

Velocity Profile as an Initial Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2009, 00:50
Default Velocity Profile as an Initial Condition
  #1
New Member
 
Join Date: Dec 2009
Posts: 10
Rep Power: 17
ylm054 is on a distinguished road
When carrying out a transient simulation, is it possible to input a .csv velocity profile as an initial condition for the entire domain?
ylm054 is offline   Reply With Quote

Old   December 7, 2009, 01:07
Default clarification
  #2
New Member
 
Join Date: Dec 2009
Posts: 10
Rep Power: 17
ylm054 is on a distinguished road
that is to say - I have a 2D velocity profile in the XY plane. This profile represents the flow within a circular pipe (drawn from a circle in the XY plane and extruded along the z axis).

The velocity profile is constant in the Z direction. (i.e. if taking a cross-sectional XY plane slice for any value of Z, the profile should be the same).
ylm054 is offline   Reply With Quote

Old   December 7, 2009, 03:45
Default
  #3
New Member
 
Arda Ersan
Join Date: Aug 2009
Posts: 13
Rep Power: 17
cfdman is on a distinguished road
Hello ylm054,

I think you can do this with using Initial Tab under Domain Window. You have to use an expression which symbolize velocity profile. Then use this expression in Initial Tab under Domain Setting Window.
Be careful you can't use any component of velocity as a variable in other component of velocity.
For example; x_vel=(2*12.5+y/1[m])*1[m/s] expression defines x_vel as a function of "y". If you write "x_vel" to initial contidions/velocity/x component, CFX will give an error. So you can't use a component of velocity as a variable in any other component of velocity.

Good Luck
cfdman is offline   Reply With Quote

Old   December 7, 2009, 05:33
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can use your 2D data to generate an initial condition. Use the 3D interpolation function. If you can describe your points as a CEL expression or some 1D interpolation that is better but if they don't work use a 3D function.
ghorrocks is offline   Reply With Quote

Old   December 7, 2009, 20:48
Default
  #5
New Member
 
Join Date: Dec 2009
Posts: 10
Rep Power: 17
ylm054 is on a distinguished road
CFDman: "You have to use an expression which symbolize velocity profile. Then use this expression in Initial Tab under Domain Setting Window."

Is it possible to enter the profile without using an expression? Since CFX doesn't support bessel functions, I dont really think this is an option.

ghorrocks: You can use your 2D data to generate an initial condition. Use the 3D interpolation function. If you can describe your points as a CEL expression or some 1D interpolation that is better but if they don't work use a 3D function.

Once I have a 3D function how do I actually set it to be the initial condition over the entire domain? I get a bad value error when I type the function into the intialisation>cartesian velocity>w velocity box.
ylm054 is offline   Reply With Quote

Reply

Tags
initial conditions, velocity profile


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
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 09:30
MRFSimpleFOAM goes divergenced! renyun0511 OpenFOAM Running, Solving & CFD 0 November 19, 2009 03:11
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 13:53
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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