Skip to content

Add degree of saturation (deg_sat) as hydraulic output variable#3

Open
omn14 wants to merge 1 commit into
enokjun:mainfrom
omn14:feature/deg-sat-output
Open

Add degree of saturation (deg_sat) as hydraulic output variable#3
omn14 wants to merge 1 commit into
enokjun:mainfrom
omn14:feature/deg-sat-output

Conversation

@omn14

@omn14 omn14 commented Apr 28, 2026

Copy link
Copy Markdown

Compute and export deg_sat at three points: t=0 initialization, start_time_step resume, and each time-step iteration.

Formula: S_r = 1 - (unsaturated_thickness * delta_theta) / (soil_thickness * theta_sat) where unsaturated_thickness = clip(soil_thickness - sat_from_top - sat_from_bottom, 0). The clip naturally handles wetting front / GWT overlap (full saturation).

Compute and export deg_sat at three points: t=0 initialization,
start_time_step resume, and each time-step iteration.

Formula: S_r = 1 - (unsaturated_thickness * delta_theta) / (soil_thickness * theta_sat)
where unsaturated_thickness = clip(soil_thickness - sat_from_top - sat_from_bottom, 0).
The clip naturally handles wetting front / GWT overlap (full saturation).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant