IF-expression for velocity inlet in Fluent doesn't work

  • 14 Views
  • Last Post 22 April 2020
  • Topic Is Solved
PascalA posted this 21 April 2020

Hi everyone,

I'm trying to simulate a rising bubble in a fluid, which is why I tried specifying the velocity magnitude at the air inlet boundary with the following expression:

IF({flow-time}<=0.1[sec],0.1[m/s],0[m/s])

but it clearly doesn't work. I monitor the velocity at the inlet and it always stays 0.1 m/s. Is there something I'm missing with the flow-time variable ?I have set the time-step size to 5e-05 and the amount of time steps to 10000, so in my head the flow should stop at 2000 timesteps, which it doesn't.

I'm pretty lost and I feel like this should be an easy task for someone more experienced than me. Please tell me if I have to supply you with more information in order to help me. Thanks in advance!

Order By: Standard | Newest | Votes
Kalyan Goparaju posted this 21 April 2020

Hello, 

The expression has errors. The correct expression should be 

IF(t<=0.1[s],0.1[m/s],0[m/s])

Thanks, 

Kalyan

  • Liked by
  • PascalA
PascalA posted this 22 April 2020

Thanks a lot Kaylan! I could have sworn I tried this already but I guess I didn't, it definitely works now though!

Close