moment postprocess
Posted: Wed Oct 19, 2016 11:49 am
Hi,
I recently migrating my codes from v3 to v4. I'm having a problem where when I try to specify my Time Averages start to be post-processed and monitored from the point it starts to do the averaging. I'm adding a line of the following which starts from the line 2114 in the attached cs_user_parameters file
I recently migrating my codes from v3 to v4. I'm having a problem where when I try to specify my Time Averages start to be post-processed and monitored from the point it starts to do the averaging. I'm adding a line of the following which starts from the line 2114 in the attached cs_user_parameters file
However, after it exceeds the ntcabs 6000, the postprocessing and the monitor from the probes are not produced. Or is there a better way to control the postprocess file and monitoring file for the averages.n_moments = cs_time_moment_n_moments()
if (n_moments.gt.0) then
do imom=1,n_moments
f_id=time_moment_field_id(imom)
ipp = field_post_id(f_id)
if (ntcabs.le.6000)then
call field_set_key_int(f_id, keyvis, 0)
call field_set_key_int(f_id, keylog, 1)
ihisvr(ipp,1) = 0
else
call field_set_key_int(f_id, keyvis, 1)
call field_set_key_int(f_id, keylog, 1)
ihisvr(ipp,1) = -1
endif
enddo
endif