Good afternoon,
In the recent past I have created a set of scalar variables to calculate the potential vorticity budget within the simulation domain. To do so I've created new scalar variables in the registry and a dedicated module in /physics. All scalars are successfully treated by the model they are well advected, updated and written in the output files (wcd.copernicus.org/articles/2/255/2021/). For a follow-up study I need to use nested domains and I have encountered some issues. Could you please help me out with the following two questions:
1) My first question goes to the registry flags, I've seen that several scalars have the dimension flags "ikjftb", e.g. "state real qv ikjftb ....". I understand "ikj" but not really the "ftb". I failed to find relevant information in the tutorials and technical description. Mimicking the moist variables, I have also inserted my own scalars with the same flags as the "moist" variables :
state real i_pvco ikjftb scalar 1 - \
i0rhusdf=(bdy_interp:dt) "TRPVCO" "PVCO" "PVU"
2) My second question goes to the use of boundary conditions for my scalars in the nested domain (I actually use a preset moving nest). Actually, I would like to treat the scalars independently within each domain, i.e. (i) values are not communicated between parent and nested domains and (ii) the nested domain has "normal" values at the edges (first and last grid points) as the parent domain does.
I tried several registry setups for my scalars by using different combinations of the "i0rhusdf=(bdy_interp:dt)" flags. Each combination had "u" and/or "d" and/or "f=(bdy_interp:dt)" and/or "s" removed. At best I am getting my scalars to have zeros at the edges of the nested domain which affects calculation of advection. Any advice would be more than welcome!
Tthank you,
Kind regards,
Emmanouil Flaounas
In the recent past I have created a set of scalar variables to calculate the potential vorticity budget within the simulation domain. To do so I've created new scalar variables in the registry and a dedicated module in /physics. All scalars are successfully treated by the model they are well advected, updated and written in the output files (wcd.copernicus.org/articles/2/255/2021/). For a follow-up study I need to use nested domains and I have encountered some issues. Could you please help me out with the following two questions:
1) My first question goes to the registry flags, I've seen that several scalars have the dimension flags "ikjftb", e.g. "state real qv ikjftb ....". I understand "ikj" but not really the "ftb". I failed to find relevant information in the tutorials and technical description. Mimicking the moist variables, I have also inserted my own scalars with the same flags as the "moist" variables :
state real i_pvco ikjftb scalar 1 - \
i0rhusdf=(bdy_interp:dt) "TRPVCO" "PVCO" "PVU"
2) My second question goes to the use of boundary conditions for my scalars in the nested domain (I actually use a preset moving nest). Actually, I would like to treat the scalars independently within each domain, i.e. (i) values are not communicated between parent and nested domains and (ii) the nested domain has "normal" values at the edges (first and last grid points) as the parent domain does.
I tried several registry setups for my scalars by using different combinations of the "i0rhusdf=(bdy_interp:dt)" flags. Each combination had "u" and/or "d" and/or "f=(bdy_interp:dt)" and/or "s" removed. At best I am getting my scalars to have zeros at the edges of the nested domain which affects calculation of advection. Any advice would be more than welcome!
Tthank you,
Kind regards,
Emmanouil Flaounas