Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Where is initialized/populated q-array for all the constituents in CAM6?

nuvolet

Toni Viudez
Member
What version of the code are you using?
CESM2.2.1/CAM6 in Derecho

Have you made any changes to files in the source tree?
Some changes in the nudging module

Describe every step you took leading up to the problem:
After modifying the nudging module I want to see how the q-array where are all the advected constituents are evolving in each time step of the nudging process.

Describe your problem or question:

Where can I find the module/submodule in CAM6 where are initialized/populated the advected constituents in CAM6?
I am mainly interested in the aerosols in MAM4.



Thanks in advance.
 

rrbuchholz

Rebecca Buchholz
CSEG and Liaisons
Staff member
I'm not sure what you mean by q-array. You can save out MAM4 variables at each time step in the history files.
 

nuvolet

Toni Viudez
Member
I'm not sure what you mean by q-array. You can save out MAM4 variables at each time step in the history files.
Hi Rebecca,

From the original nudging.F90 (line 1372 in CESM2.2.0) module the tendency for the nudge water vapor is defined as:

Code:
     call outfld( 'Nudge_Q',phys_tend%q(1,1,indw),pcols,lchnk)

Where indy is the index for water vapor, then I assume that q is the array where are all the advected constituents, included MAM4 variables, in CAM6
I am wondering when that array is created, where is created and which default/initial values are used?.

I hope it makes sense what is my concern?.

Thanks

Cheers.

Toni
 
Top