|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Kim Gunhyeong
Join Date: May 2018
Location: Seoul, Korea
Posts: 9
Rep Power: 7 ![]() |
Hey guys. I have problem in "if" expression.
I try to design butterfly valve model, so I make spherical shape domain which has vavle shape empty space in. Then I give rotation speed to that domain, using expression; if(ctstep<150[ ], 1.046[radian s^-1], 0) but CFX error checker doesnt permit it. Whats problem? Plz help me |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,483
Rep Power: 140 ![]() ![]() ![]() ![]() |
Try:
if(ctstep<150, 1.046[radian s^-1], 0[radian s^-1])
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 10 ![]() |
ok, so the units are not ok,
but i think that the problem is in your simulation. It might be the problem vith interfaces (sfere) have you split the surface or vhat does the conection look like And you can plot your expresion, and use that, because it is great for troubleshoting it would give you an erorr if you would try to plot it before you run the solution. Last edited by urosgrivc; May 15, 2018 at 03:31. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Kim Gunhyeong
Join Date: May 2018
Location: Seoul, Korea
Posts: 9
Rep Power: 7 ![]() |
Thanks ghorrocks. I do as you recommend, so unit problem disappear But CFX doesn't recognize "ctstep".(I find this expression at CFX post-processing - Current Time Step ) Is it wrong usage? Plz help me. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 10 ![]() |
Use:
Acumulated time step it is in the wariables |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,154
Rep Power: 22 ![]() |
Why not just use the real variable time "t" instead of time step?
|
|
![]() |
![]() |
![]() |
Tags |
condition, ctstep, expression |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Define an Expression in Pre with another User Defined Expression and a Variable | fuGGet321 | CFX | 6 | May 8, 2018 16:19 |
Large problem partitioner | tzy | CFX | 3 | February 7, 2018 17:11 |
Modify SST kw model in CFX | Tingyun YIN | CFX | 6 | May 12, 2017 06:44 |
area does not match neighbour by ... % -- possible face ordering problem | St.Pacholak | OpenFOAM | 9 | November 22, 2011 10:02 |
CCL / Monitor Object Problem | James Date | CFX | 4 | September 29, 2010 02:23 |