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

howto write step velocity profile with expressions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 18, 2006, 14:25
Default howto write step velocity profile with expressions
  #1
prabhu
Guest
 
Posts: n/a
i have to give inlet velocity as step function. Please anyone tell me what expression i should use. The velocity is a function of y. For 0<y<(h/2) u=2 m/s For (h/2)<y<h u=12 m/2

thank you
  Reply With Quote

Old   May 18, 2006, 18:43
Default Re: howto write step velocity profile with express
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

Try:

variable=step((y-10[m])/1[m])*50[m/s]

This steps the velocity from 0 m/s to 50 m/s at y=10 metres. You need the divide by 1m to convert the distance to a dimensionless number.

Regards, Glenn Horrocks
  Reply With Quote

Old   May 23, 2006, 09:41
Default Re: howto write step velocity profile with express
  #3
Robin
Guest
 
Posts: n/a
Hi Prabhu,

An alternative, and very easy way to do this is by creating a 1D profile. To make the change occur over a short distance, use the following points:

9.999 0 10.0 50

Use the "extend min" and "extend max" to make the values extend above and below your points.

Regards, Robin
  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
Multiple floating objects CKH OpenFOAM 10 September 21, 2011 23:13
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
Create hemisphere like velocity profile at inlet Nelson Main CFD Forum 3 July 27, 2005 12:05
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
particle velocity and velocity profile HGG FLUENT 2 June 10, 2001 16:32


All times are GMT -4. The time now is 02:23.