SimScale CAE Forum

Velocity inlet: With if clauses


#1

Hi,

Is it possible to define a velocity inlet condition that is time-dependent but also with an if condition? Something like

if (t < tmin)
v = 0
else
v = some function
endif

Thanks


#2

I found the answer. You can define velocity inlet one as

v = 0*(t < tmin)

and then a second condition as

v = function*(t>tmin)

I believe this should work.