I am trying to define some velocity profiles in [soln-ics] using the expressions below. I think that it doesn’t pass the ‘if’ and ‘else’ statements to the solver.
Do you have some suggestions please? Any help would be much appreciated.
Cheers, Andrei
if y < 1.:
yplus = y * u_tau / nu_inf
else:
yplus = ((2-y)) * u_tau / nu_inf