I am interested in adding a relaxation term to CAM3.1 in order to
restore the temperature in selected areas/altitudes to a specified
field. I don't want to shut off all the physics and simply use
the 'phys_idealized.F90' subroutine, so I've made a number of changes
within the standard physics package.
I've put the actual relaxation scheme into the 'physics_update'
subroutine as a restoring of dry static energy, i.e.
grlx=(srelax(i,k)-state%s(i,k))/3600/4
state%s(i,k) = state%s(i,k) + ptend%s(i,k)*dt + dt*grlx
tend%dtdt(i,k) = tend%dtdt(i,k) + ptend%s(i,k)/cpair
where 'srelax' is the dry static energy to which I would like the
model state to be relaxed.
The scheme doesn't work...
I have three specific questions which I hope one of you experts can
perhaps help with:
1) Do I need to add the restoring term to both the dry static energy
state and the temperature tendency ('tend%dtdt'), or just the dry
static energy state? And what exactly is the temperature tendency
calculated for?
2) Are there other fields that need to be relaxed to as well in order to
constrain the temperature to a desired specified field? (e.g. surface
geopotential?)
3) is the relaxation of dry static energy the correct way of
constraining the temperature field?
Many thanks,
Jeff
restore the temperature in selected areas/altitudes to a specified
field. I don't want to shut off all the physics and simply use
the 'phys_idealized.F90' subroutine, so I've made a number of changes
within the standard physics package.
I've put the actual relaxation scheme into the 'physics_update'
subroutine as a restoring of dry static energy, i.e.
grlx=(srelax(i,k)-state%s(i,k))/3600/4
state%s(i,k) = state%s(i,k) + ptend%s(i,k)*dt + dt*grlx
tend%dtdt(i,k) = tend%dtdt(i,k) + ptend%s(i,k)/cpair
where 'srelax' is the dry static energy to which I would like the
model state to be relaxed.
The scheme doesn't work...
I have three specific questions which I hope one of you experts can
perhaps help with:
1) Do I need to add the restoring term to both the dry static energy
state and the temperature tendency ('tend%dtdt'), or just the dry
static energy state? And what exactly is the temperature tendency
calculated for?
2) Are there other fields that need to be relaxed to as well in order to
constrain the temperature to a desired specified field? (e.g. surface
geopotential?)
3) is the relaxation of dry static energy the correct way of
constraining the temperature field?
Many thanks,
Jeff