Comparing values of two different fields
I'm trying to implement this condition:
if T<441 K
rsech = f(T);
T is a temperature(K)
rsech is (volScalarField) function of T
Here is What I tried:
I created a volScalarField C of which the values are set equal to 441 K,then I wrote this:
rsech = f(T) (rsech is calculated)
it runs but it doesn't give the expected values!!
Can somebody help me out please?
Thanks in advance
|All times are GMT -4. The time now is 04:57.|