I need to find the value of a GfsvariableTracerVOF in an cell, and I am writing the following to do so:
GFS_VALUE(cell, sv) = GFS_VALUE(cell, GFS_VARIABLE(v->t));
where "v" is a pointer to a structure having a member "t" of type GfsvariableTracerVOF*, and sv is a GfsVariable*.
When I see the values of sv, they do not match with the values of t (sv has the values above 1 also, whereas t is bounded between 0 and 1).
Can anyone suggest, how can I get the correct value of tracerVOF variable in a cell? And I do not know the cause of this problem; if you could tell me that would be a bonus.
Thanks.
--