You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate implementation issues for feature E5-F5: Validation and Integration Tests.
Comprehensive integration tests validating mass conservation, isothermal-limit parity, and physical accuracy of the non-isothermal condensation implementation against literature values. These tests go beyond the unit tests in E5-F2 and E5-F3 by testing the full end-to-end flow through the strategy class with realistic physical scenarios, including validation against Rogers & Yau (1989) cloud droplet growth rates.
Also leverages: Physical constants for water (L_ref = 2.501e6 J/kg, c = 2.3e3 J/(kg*K), T_ref = 273.15 K), air thermal conductivity from get_thermal_conductivity(), water vapor diffusion coefficient ~2.5e-5 m²/s at 293 K
Blocks: E5-F6 (documentation), E5-F7 (GPU)
ADW Instructions
When processing this issue:
Read the feature plan document: adw-docs/dev-plans/features/E5-F5-validation-integration-tests.md
Read the parent epic for context: adw-docs/dev-plans/epics/E5-non-isothermal-condensation.md
For each phase in the Phase Checklist (E5-F5-P1 through E5-F5-P2), create an implementation issue with:
Full technical details from the feature plan
Specific file paths from the feature plan's scope section
Test file paths (co-located in module tests/ directories)
Co-located testing: tests ship with implementation in every phase
Coverage target: 80-85% per phase
Set dependency chain: E5-F5-P1 → E5-F5-P2
Label all phases with agent, blocked, type:complete, model:default
Files to Create/Modify
Create:particula/dynamics/condensation/tests/latent_heat_conservation_test.py — mass conservation and isothermal-limit parity tests
Create:particula/dynamics/condensation/tests/latent_heat_validation_test.py — physical validation against literature
Dependencies:
#1117 [E5-F3] ──┐
├──► #THIS [E5-F5]
#1118 [E5-F4] ──┘
Summary
Generate implementation issues for feature E5-F5: Validation and Integration Tests.
Comprehensive integration tests validating mass conservation, isothermal-limit parity, and physical accuracy of the non-isothermal condensation implementation against literature values. These tests go beyond the unit tests in E5-F2 and E5-F3 by testing the full end-to-end flow through the strategy class with realistic physical scenarios, including validation against Rogers & Yau (1989) cloud droplet growth rates.
Feature Plan
Document:
adw-docs/dev-plans/features/E5-F5-validation-integration-tests.mdParent Epic: E5: Non-Isothermal Condensation with Latent Heat (
adw-docs/dev-plans/epics/E5-non-isothermal-condensation.md)Phases to Generate
Dependencies
get_thermal_conductivity(), water vapor diffusion coefficient ~2.5e-5 m²/s at 293 KADW Instructions
When processing this issue:
adw-docs/dev-plans/features/E5-F5-validation-integration-tests.mdadw-docs/dev-plans/epics/E5-non-isothermal-condensation.mdtests/directories)agent,blocked,type:complete,model:defaultFiles to Create/Modify
particula/dynamics/condensation/tests/latent_heat_conservation_test.py— mass conservation and isothermal-limit parity testsparticula/dynamics/condensation/tests/latent_heat_validation_test.py— physical validation against literatureTesting Strategy
Integration Tests
particula/dynamics/condensation/tests/latent_heat_conservation_test.pyparticula/dynamics/condensation/tests/latent_heat_validation_test.pyParametrized Test Matrix (P1)
Physical Validation Matrix (P2)
Key Tolerances
|total_initial - total_final| / total_initial < 1e-12< 1e-15relative error on all mass arrays< 5%relative error vs Rogers & Yau literature|Q_released - sum(dm * L)| < 1e-14 * |Q|