|
[Sponsors] |
May 27, 2014, 11:26 |
step in expressions What does it do?
|
#1 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14 |
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 |
|
May 27, 2014, 16:00 |
|
#2 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20 |
When y<UpH step =0
When y>UpH step =1 When y=UpH step =0.5 |
|
May 27, 2014, 16:55 |
|
#3 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23 |
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. |
|
May 28, 2014, 10:09 |
|
#4 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14 |
dear evcelica
thanks very much for reply my question |
|
May 28, 2014, 10:10 |
|
#5 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14 |
dear singer1812
thanks a lot |
|
|
|
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 |