Skip to content

12 fix subvol for cell volume seeding#13

Merged
oj-tooth merged 4 commits intomainfrom
12-fix-subvol-for-cell-volume-seeding
Feb 12, 2026
Merged

12 fix subvol for cell volume seeding#13
oj-tooth merged 4 commits intomainfrom
12-fix-subvol-for-cell-volume-seeding

Conversation

@oj-tooth
Copy link
Collaborator

Pull Request Notes

Summary

Details

  • Updated volume definition to vol = dxdy(ib,jb) * dzt(ib,jb,kb,nsm) * zstot(ib,jb,0) when nqua=3 so particles reflect fraction of total grid cell volume at seeding time.

  • Update ntracmax definition in mod_seed.F90 when nqua != 0 to ntracmax = nsdMax*nsdTim*nsdtraj where nsdtraj is a user specified parameter in the namelist file in the &INIT_SEEDING section.

  • Add existing l_compress option to the namelist, enabling compression of large _run.csv output files which exceed 2 GB using gzip.

Additions have been tested with the Theoretical and NEMO example cases on the JASMIN HPC, UK.

@oj-tooth oj-tooth self-assigned this Dec 18, 2025
@oj-tooth oj-tooth added bug Something isn't working enhancement New feature or request labels Dec 18, 2025
@oj-tooth oj-tooth linked an issue Dec 18, 2025 that may be closed by this pull request
@oj-tooth oj-tooth merged commit 2b465b5 into main Feb 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix subvol for cell volume seeding

1 participant