Opened 15 years ago

Closed 14 years ago

#214 closed enhancement (fixed)

Non-ideal gas operator

Reported by: Huw Lewis Owned by: sbh
Priority: normal Milestone: 5.0
Component: ropp_fm Version: 4.0
Keywords: compressibility Cc: sean.healy@…, Ian Culverwell

Description

Update forward operators to account for non-ideal gas/compressibility in the refractivity formula.

Sean Healy will lead on this work and has prototype code. A branch will be created (from v4.1 trunk) for this work.

Attachments (6)

Test3_bangle.png (115.9 KB ) - added by Ian Culverwell 14 years ago.
Test3_bangle.png
Test3_bangle_frac_diff.gif (38.2 KB ) - added by Ian Culverwell 14 years ago.
Test3_bangle_frac_diff.png
IT-FM-06_ifort9_linux.png (34.2 KB ) - added by Ian Culverwell 14 years ago.
IT-FM-06_ifort9_linux.png
Test2_refrac_good.gif (116.7 KB ) - added by Ian Culverwell 14 years ago.
Test2_refrac_good.gif
Test2_bangle_good.gif (107.5 KB ) - added by Ian Culverwell 14 years ago.
Test2_bangle_good.gif
Test2_bangle_all.gif (76.6 KB ) - added by Ian Culverwell 14 years ago.
Test2_bangle_all.gif

Download all attachments as: .zip

Change history (10)

by Ian Culverwell, 14 years ago

Attachment: Test3_bangle.png added

Test3_bangle.png

by Ian Culverwell, 14 years ago

Attachment: Test3_bangle_frac_diff.gif added

Test3_bangle_frac_diff.png

by Ian Culverwell, 14 years ago

Attachment: IT-FM-06_ifort9_linux.png added

IT-FM-06_ifort9_linux.png

by Ian Culverwell, 14 years ago

Attachment: Test2_refrac_good.gif added

Test2_refrac_good.gif

by Ian Culverwell, 14 years ago

Attachment: Test2_bangle_good.gif added

Test2_bangle_good.gif

by Ian Culverwell, 14 years ago

Attachment: Test2_bangle_all.gif added

Test2_bangle_all.gif

comment:1 by Ian Culverwell, 14 years ago

Cc: Ian Culverwell added

This work has been carried out by Sean Healy in development branch sbh_ROPP5.

Compressibility/non-ideal gas effects, as described in GSR-09, are effected by means of a -comp switch in ropp_fm and ropp_1dvar tools.

Builds and runs under ifort9 on linux.

Scientific tests:

Tests of ropp_fm using data in IT-FM-05.nc (2D, 500 profiles) shows a pretty uniform increase in bending angle Test3_bangle.png, consistent with the increase in k1 and the presence of Zd<1. The mean fractional increase in BA resulting from this would be expected to be about 0.115%. In practice it's this sort of magnitude, but varies with height, becoming negative above ~10km: Image(Test3_bangle_frac_diff.gif

Sean thinks latter effect is likely due to effects of compressibility in hydrostatic eqn. In GSR09 he suggests this could lead to dalpha/alpha ~-0.1% at 100hPa, which tallies with what we find.

Chris Burrows has run this through a modified version of IT-FM-02 (1000 randomly selected ECMWF model profiles) in the test folder. As for the 2D results above he found mean percentage changes in refractivity and bending angle of ~0.1% near the ground and -0.05% at height (bottom row): IT-FM-06_ifort9_linux.png

Tests of ropp_1dvar using data in IT-1DVAR-04 (5 profiles) shows very small differences in {T, q, p} when using refractivities ({~0.02K, ~0.001g/kg, ~0.01hPa} resp) Test2_refrac_good.gif

but a bit larger when using bending angles ({~0.2K, ~0.2g/kg, ~0.1hPa} resp): Test2_bangle_good.gif

This is probably OK: the one profile that gave the large dq has a big change from the background in both cntl and test: Test2_bangle_all.gif

Omitting this profile we'd probably say mean dq ~0.02g/kg.

Sean has said these are the sorts of differences he'd expect to see. Ready for formal testing.

comment:2 by Ian Culverwell, 14 years ago

Formal testing completed. Changes cause no problems. The "make test" tests (as carried out by buildpack, for example), have been extended to test the -comp options, and corresponding example figures have been added to the distribution.

comment:3 by Ian Culverwell, 14 years ago

NB: typo in earlier text. Mean over all 500 profiles of fractinal difference in bangle resulting from comp changes is:

Test3_bangle_frac_diff.png

comment:4 by Ian Culverwell, 14 years ago

Resolution: fixed
Status: newclosed

Mark as fixed by agreement with Sean Healy.

Note: See TracTickets for help on using tickets.