I want to use the following expression in inlet boundary condition:
where omega,Pmax are defined.
But I get the following error:
Bad expression value 'Pin' detected in parameter 'Relative Pressure' in object '/FLOW:Flow Analysis 1/DOMAIN:Default Domain/BOUNDARY:Inlet/BOUNDARY CONDITIONS/MASS AND MOMENTUM'.
The dimensions of the argument to function 'step' are inconsistent with expected dimensions.
Argument dimensions resolve to 's'; expected '<dimensionless>'.
Your step functions need to be dimensionless, just as the error says.
Change step(t-0.02) to step((t-0.02[s])/1[s]) for example.
Yes, Lance is right! Wherever you have something that has a dimension in your expression, you need to divide it for its dimension unit. So, wherever you have time, you need to divide by 1 [s].
Ok, it works!
Thank you very much!
|All times are GMT -4. The time now is 10:55.|