GCHP icon indicating copy to clipboard operation
GCHP copied to clipboard

GCHP mass flux moisture correction

Open yuanjianz opened this issue 5 months ago • 3 comments

Your name

Yuanjian Zhang

Your affiliation

WashU

What happened? What did you expect to happen?

https://github.com/geoschem/GCHP/blob/e499969f3831261e1fd15774b9fc68d01d012ba2/src/GCHP_GridComp/GCHPctmEnv_GridComp/GCHPctmEnv_GridCompMod.F90#L873-L885

Humidity is positive so 1-SPHU is smaller than 1, so dryMF = MF/(1-SPHU) is bigger than MF, which does not make sense to me. Shouldn't mass flux from GMAO archives be multiplied instead of being divided by 1-SPHU?

What are the steps to reproduce the bug?

Run a mass flux simulation with dry pressure advection.

Please attach any relevant configuration and log files.

No response

What GCHP version were you using?

14.4.0

What environment were you running GCHP on?

Local cluster

What compiler and version were you using?

gcc 10.2.0

What MPI library and version were you using?

OpenMPI 4.0.5

Will you be addressing this bug yourself?

Yes

Additional information

No response

yuanjianz avatar Sep 24 '24 23:09 yuanjianz