if statement for volScalarField
I want to code an if condition for a volScalarField and I do get errors in compiling that the if statement does not work.
Any other coding idea is welcome as well.
Thanks in advance,
Use pos() and neg(): pos(T - Tf)* pow((Tf-T)/(Tf-Tl),-0.35)
and thank you very much. That was the basic idea I needed. To make it work finally, I changed it a little bit using the magnitude:
Thanks again, Anja
|All times are GMT -4. The time now is 16:30.|