dumping a user defined parameter
Posted: Thu Dec 04, 2014 9:42 am
I am using the version 3.0.6
I added a user defined parameter served to output a scalar, which is based on the flow properties: velocity amplitude, temperature and radiative intensity. Since it is unnecessary to be solved by the transport equation, I think it is better to declare this variable as a user defined parameter, such as the it4m (T⁴) in the combustion model.
So I added a new position in the varpos.f90
iprop = iprop + 1
ipprob(iutci) = iprop
and iutci declared in the cs_user_module.f90
I can dump the 3D field of this new 'iutci' for the ensight visualization.
However, I do not know how to dump it in timeseries at each monitoring variables as other variables.
I tried to add the following lines in cs_user_parameters.f90
!ZG UTCI
! ---- UTCI
ipp = ipppro(ipproc(iutci))
! nomvar(ipp) = 'UTCI'
ichrvr(ipp) = 1
ilisvr(ipp) = 1
ihisvr(ipp,1) = -1
!ZG UTCI
Nothing happened in the monitoring folder
When I uncommented ! nomvar(ipp) = 'UTCI', the code stops before reading the mesh, by giving an error for opening the listing file.
So I would like to know to dump 3D field properly with ensight as well as on the monitoring points.
Thank you
I added a user defined parameter served to output a scalar, which is based on the flow properties: velocity amplitude, temperature and radiative intensity. Since it is unnecessary to be solved by the transport equation, I think it is better to declare this variable as a user defined parameter, such as the it4m (T⁴) in the combustion model.
So I added a new position in the varpos.f90
iprop = iprop + 1
ipprob(iutci) = iprop
and iutci declared in the cs_user_module.f90
I can dump the 3D field of this new 'iutci' for the ensight visualization.
However, I do not know how to dump it in timeseries at each monitoring variables as other variables.
I tried to add the following lines in cs_user_parameters.f90
!ZG UTCI
! ---- UTCI
ipp = ipppro(ipproc(iutci))
! nomvar(ipp) = 'UTCI'
ichrvr(ipp) = 1
ilisvr(ipp) = 1
ihisvr(ipp,1) = -1
!ZG UTCI
Nothing happened in the monitoring folder
When I uncommented ! nomvar(ipp) = 'UTCI', the code stops before reading the mesh, by giving an error for opening the listing file.
So I would like to know to dump 3D field properly with ensight as well as on the monitoring points.
Thank you