MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
compactionutilmodule Module Reference

Relations for compacting porous materials. More...

Functions/Subroutines

pure real(dp) function, public porosity_to_void_ratio (theta)
 Calculate the void ratio from the porosity.
pure real(dp) function, public void_ratio_to_porosity (void_ratio)
 Calculate the porosity from the void ratio.
pure subroutine, public compact_layer (comp, thick, theta)
 Update the thickness and porosity of a layer after compaction.
pure real(dp) function, public adjust_eff_stress (es0, z0, z, sgs)
 Calculate the effective stress at elevation z from its value at z0.
pure real(dp) function, public storage_factor (es, theta)
 Calculate the skeletal storage factor, 1 / ((1 + void ratio) es).

Detailed Description

Conversions between porosity and void ratio, the change in thickness and porosity of a compacting layer, and the skeletal storage factor.

Function/Subroutine Documentation

◆ adjust_eff_stress()

pure real(dp) function, public compactionutilmodule::adjust_eff_stress ( real(dp), intent(in) es0,
real(dp), intent(in) z0,
real(dp), intent(in) z,
real(dp), intent(in) sgs )
Parameters
[in]es0effective stress at elevation z0
[in]z0elevation of es0
[in]zelevation to calculate the effective stress at
[in]sgssaturated specific gravity

Definition at line 71 of file CompactionUtil.f90.

72 ! -- dummy variables
73 real(DP), intent(in) :: es0 !< effective stress at elevation z0
74 real(DP), intent(in) :: z0 !< elevation of es0
75 real(DP), intent(in) :: z !< elevation to calculate the effective stress at
76 real(DP), intent(in) :: sgs !< saturated specific gravity
77 ! -- return
78 real(DP) :: es
79 !
80 es = es0 - (z - z0) * (sgs - done)
Here is the caller graph for this function:

◆ compact_layer()

pure subroutine, public compactionutilmodule::compact_layer ( real(dp), intent(in) comp,
real(dp), intent(inout) thick,
real(dp), intent(inout) theta )

The solid thickness, thick / (1 + void ratio), is unchanged.

Parameters
[in]compcompaction
[in,out]thickinitial and current thickness
[in,out]thetainitial and current porosity

Definition at line 47 of file CompactionUtil.f90.

48 ! -- dummy variables
49 real(DP), intent(in) :: comp !< compaction
50 real(DP), intent(inout) :: thick !< initial and current thickness
51 real(DP), intent(inout) :: theta !< initial and current porosity
52 ! -- local variables
53 real(DP) :: strain
54 real(DP) :: void_ratio
55 !
56 ! -- initialize variables
57 strain = dzero
58 void_ratio = porosity_to_void_ratio(theta)
59 !
60 ! -- calculate strain
61 if (thick > dzero) strain = -comp / thick
62 !
63 ! -- update void ratio, theta, and thickness
64 void_ratio = void_ratio + strain * (done + void_ratio)
65 theta = void_ratio_to_porosity(void_ratio)
66 thick = thick - comp
Here is the call graph for this function:

◆ porosity_to_void_ratio()

pure real(dp) function, public compactionutilmodule::porosity_to_void_ratio ( real(dp), intent(in) theta)
Parameters
[in]thetaporosity

Definition at line 23 of file CompactionUtil.f90.

24 ! -- dummy variables
25 real(DP), intent(in) :: theta !< porosity
26 ! -- return
27 real(DP) :: void_ratio
28 !
29 void_ratio = theta / (done - theta)
Here is the caller graph for this function:

◆ storage_factor()

pure real(dp) function, public compactionutilmodule::storage_factor ( real(dp), intent(in) es,
real(dp), intent(in) theta )

Returns zero if the effective stress is zero.

Parameters
[in]eseffective stress
[in]thetaporosity

Definition at line 87 of file CompactionUtil.f90.

88 ! -- dummy variables
89 real(DP), intent(in) :: es !< effective stress
90 real(DP), intent(in) :: theta !< porosity
91 ! -- return
92 real(DP) :: fact
93 ! -- local variables
94 real(DP) :: denom
95 !
96 fact = dzero
97 denom = es * (done + porosity_to_void_ratio(theta))
98 if (denom /= dzero) then
99 fact = done / denom
100 end if
Here is the call graph for this function:
Here is the caller graph for this function:

◆ void_ratio_to_porosity()

pure real(dp) function, public compactionutilmodule::void_ratio_to_porosity ( real(dp), intent(in) void_ratio)
Parameters
[in]void_ratiovoid ratio

Definition at line 34 of file CompactionUtil.f90.

35 ! -- dummy variables
36 real(DP), intent(in) :: void_ratio !< void ratio
37 ! -- return
38 real(DP) :: theta
39 !
40 theta = void_ratio / (done + void_ratio)
Here is the caller graph for this function: