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

step in expressions What does it do?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By singer1812
  • 1 Post By evcelica

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2014, 11:26
Default step in expressions What does it do?
  #1
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
hi dear
i want know, step in expressions What does it do and what?????
i.e: UpVFAir step((y-UpH)/1[m])
step in up expressions what is operate??????
explain me about step?
thanks a lot
hamidciv is offline   Reply With Quote

Old   May 27, 2014, 16:00
Default
  #2
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
When y<UpH step =0
When y>UpH step =1
When y=UpH step =0.5
hamidciv likes this.
singer1812 is offline   Reply With Quote

Old   May 27, 2014, 16:55
Default
  #3
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
Singer is right, but a little more general:
when the value in parentheses is positive, the step function = 1.
if negative, the step fuction will be = 0.
If the value in parentheses is 0, step function will be 0.5.
hamidciv likes this.
evcelica is offline   Reply With Quote

Old   May 28, 2014, 10:09
Default
  #4
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
dear evcelica
thanks very much for reply my question
hamidciv is offline   Reply With Quote

Old   May 28, 2014, 10:10
Default
  #5
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
dear singer1812
thanks a lot
hamidciv 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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 04:33.