CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Comparing values of two different fields (

sambatra October 30, 2009 05:13

Comparing values of two different fields
Hi there,
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
Best Regards

All times are GMT -4. The time now is 22:11.