Dear Filipe,
> skipping ifield=2?
Yes, that looks right.
You can also check the logfile to confirm whether it's effective:
Found the following boundary conditions
for velocity:
"P " 14
"SYM" 3
"W " 3
for scalar 1:
"I " 3
"P " 14
"t " 3
for scalar 2:
"I " 3
"P " 14
"t " 3
Inside userchk, you can do this to compute the gradient of t(1,1,1,1,3)
call gradm1(dphidx,dphidy,dphidz,t(1,1,1,1,3))
gradm1 itself doesn't use ifield. It always use "T" mesh with nelt.
Hope this helps,
Yu-Hsiang
--