Waterfall and spatially uncorrelated water surface¶
Model overview¶
Level: 4.
Physical domain: water
Geometry: channel, waterfall
Idealized falling stream or incoherent channel cells
Source-declared observable / representation pairs:
- a — Spectral density (ASD)
These pairs are a union over the listed calculation paths. They do not imply every API exposes every combination.
Geometry¶
Vertical waterfall column with fluctuating cross-sectional area and uncorrelated surface cells of area \(A_{\mathrm{cell}}\).
plot_shapetargets static Cuboid, Cylinder, and SphericalShell shapes. No water-specific plotting adapter was identified in this review.
Analytic formulation, sources, and scope¶
Equations¶
1. Waterfall model (vertical water stream of velocity \(v\) at horizontal standoff distance \(D > 0\) with periodic area fluctuation \(A(z,t) = A_0 e^{-i \Omega (t - z/v)}\)):
The G-free potential and acceleration transfer functions are:
where \(K_0, K_1\) are modified Bessel functions of the second kind.
2. Spatially uncorrelated water surface model (narrow channel with uncorrelated surface elevation cells of area \(A_{\mathrm{cell}}\)):
The geometric integral along the channel axis evaluates as:
The resulting one-sided gravitational acceleration amplitude spectral density (ASD) in SI units \(\mathrm{m/(s^2\cdot\sqrt{Hz})}\) is:
Derivation¶
water module documents independent Model 1 integral: int x²/(H²+x²)³ dx=pi/(8H³).
References¶
Existing public documentation and original formulation context:
Bibliographic inventory: located.
Applicability and scope¶
Water positive-frequency Bessel domain requires representable 0<q<=700; DC not allowed by ASD; velocity nonzero, distance/width/density positive.
- uncorrelated formula uses narrow-channel approximation and independent cells; source attribution remains unverified.
STEP 1 — Setup¶
Primary path: water_waterfall_asd, water_channel_uncorrelated_asd
A+ (tutorial-display axes): wrap outputs with GWexpy only in the generator; do not invent frequency grids on the output side.
Build inputs consistent with Detailed reference:
STEP 2 — Validate / Inspect¶
STEP 2 items are tagged by information source:
api: read from a gragra evaluation object:validate()is a method;parameters,formulas, andreferencesare@propertyobjects (not callable).tutorial-display: assembled for this page from documented inputs or catalogue-verified display equations (not a separate gragra registry lookup).api-output: taken from executed result payloads (units, shapes, GWexpy axes).
Display equations (tutorial-display)¶
Catalogue-registered analytic formulation (same as Analytic formulation, sources, and scope above):
1. Waterfall model (vertical water stream of velocity \(v\) at horizontal standoff distance \(D > 0\) with periodic area fluctuation \(A(z,t) = A_0 e^{-i \Omega (t - z/v)}\)):
The G-free potential and acceleration transfer functions are:
where \(K_0, K_1\) are modified Bessel functions of the second kind.
2. Spatially uncorrelated water surface model (narrow channel with uncorrelated surface elevation cells of area \(A_{\mathrm{cell}}\)):
The geometric integral along the channel axis evaluates as:
The resulting one-sided gravitational acceleration amplitude spectral density (ASD) in SI units \(\mathrm{m/(s^2\cdot\sqrt{Hz})}\) is:
request.formulas lists implementation routing (api), which may differ from these display equations.
For direct observable evaluation, parameters and display equations are verified above (tutorial-display).
try:
from IPython.display import display
except ImportError:
display = print
# Direct observable evaluation: parameters verified against catalogue specification
print('Input configuration verified.')
STEP 3 — Calculate¶
Evaluate the model (api-output):
import numpy as np
from gragra.observables import water_waterfall_asd, water_channel_uncorrelated_asd
w_asd = water_waterfall_asd(
frequency_hz=np.array([1.0]), velocity_mps=velocity, distance_m=distance,
area_asd_m2_per_rt_hz=np.array([1e-4]),
)
print('waterfall ASD at 1 Hz:', w_asd[0])
u_asd = water_channel_uncorrelated_asd(
distance_m=2.0, width_m=channel_width, correlation_area_m2=correlation_area,
surface_asd_m_per_rt_hz=np.array([1e-3]),
)
print('uncorrelated surface ASD:', u_asd[0])
STEP 4 — Results / Comparison¶
The code below computes the result for each case and plots it. Each case is named on the x-axis or in the legend (api-output).
import matplotlib.pyplot as plt
import numpy as np
from gragra.observables import water_waterfall_asd, water_channel_uncorrelated_asd
freqs = np.array([0.5, 1.0, 2.0, 5.0, 10.0])
area = np.full_like(freqs, 1e-4)
waterfall = water_waterfall_asd(
frequency_hz=freqs, velocity_mps=5.0, distance_m=5.0, area_asd_m2_per_rt_hz=area,
)
surf_asds = np.array([1e-4, 5e-4, 1e-3, 2e-3, 5e-3])
uncorr = water_channel_uncorrelated_asd(
distance_m=2.0, width_m=0.5, correlation_area_m2=0.01, surface_asd_m_per_rt_hz=surf_asds,
)
fig, (ax_w, ax_u) = plt.subplots(1, 2, figsize=(9.0, 4.2))
ax_w.plot(freqs, waterfall, "o-", color="#316aa5", label="Waterfall ASD")
ax_w.set_yscale("log")
ax_w.set_xlabel("Frequency [Hz]")
ax_w.set_ylabel(r"Waterfall ASD [m/s$^2/\sqrt{\mathrm{Hz}}$]")
ax_w.set_title("Waterfall: frequency dependence")
ax_w.grid(True, linestyle="--", alpha=0.45)
ax_w.legend()
ax_u.plot(surf_asds * 1e3, uncorr, "s-", color="#27864b", label="Uncorrelated ASD")
ax_u.set_xlabel(r"Surface displacement ASD [mm/$\sqrt{\mathrm{Hz}}$]")
ax_u.set_ylabel(r"Acceleration ASD [m/s$^2/\sqrt{\mathrm{Hz}}$]")
ax_u.set_title("Spatially uncorrelated surface")
ax_u.grid(True, linestyle="--", alpha=0.45)
ax_u.legend()
fig.tight_layout()
plt.show()
Figure generated by executing the STEP 4 comparison code above.
Saved with fig.savefig(path, bbox_inches='tight', metadata={'Date': None}) and svg.hashsalt='gragra' under Matplotlib 3.11.2. SVG byte reproducibility was verified with Matplotlib 3.11.2 under these save conditions. Other versions may produce different SVG bytes or layouts.
Detailed reference and verification¶
Parameters and units¶
API parameters¶
| Function / Path | Parameter | Type / Format | Default | Description |
|---|---|---|---|---|
water_waterfall_asd |
frequency_hz |
float | array-like | required | Fluctuation frequency in Hz (f > 0) |
water_waterfall_asd |
velocity_mps |
float | required | Waterfall plunge velocity in m/s (v != 0) |
water_waterfall_asd |
distance_m |
float | required | Horizontal distance from stream to detector mirror (D > 0) |
water_waterfall_asd |
area_asd_m2_per_rt_hz |
float | array-like | required | Stream cross-sectional area ASD in m²/sqrt(Hz) |
water_channel_uncorrelated_asd |
distance_m |
float | required | Perpendicular distance to uncorrelated channel H in meters |
water_channel_uncorrelated_asd |
width_m |
float | required | Channel surface width w in meters |
water_channel_uncorrelated_asd |
correlation_area_m2 |
float | required | Incoherent surface patch correlation area \(A_{\mathrm{cell}}\) in m² |
water_channel_uncorrelated_asd |
surface_asd_m_per_rt_hz |
float | array-like | required | Surface elevation ASD in m/sqrt(Hz) |
water_waterfall_asd |
density_kg_m3 |
float | 1000.0 | Fluid mass density in kg/m³ |
API return values¶
| Function / Path | Return type | Representation | Quantity & Unit | Shape / Structure | Description |
|---|---|---|---|---|---|
water_waterfall_asd |
ndarray | ASD | a: (m/s²)/√Hz | \((N_{\mathrm{freq}},)\) float64 array | Horizontal gravity acceleration ASD from plunging waterfall jet at distance D |
water_channel_uncorrelated_asd |
ndarray | ASD | a: (m/s²)/√Hz | \((N_{\mathrm{freq}},)\) float64 array | Gravity acceleration ASD from spatially incoherent surface displacement fluctuations |
Mathematical symbols and notation¶
| Symbol | Meaning | SI unit | Definition / Relation |
|---|---|---|---|
| \(f\) | Frequency | Hz | Fluctuation frequency (\(f > 0\)) |
| \(v\) | Plunge velocity | m/s | Vertical waterfall flow speed |
| \(D\) | Waterfall distance | m | Horizontal distance from waterfall stream to mirror |
| \(S_A^{1/2}(f)\) | Area fluctuation ASD | m²/√Hz | Stream cross-sectional area amplitude spectral density |
| \(H\) | Channel distance | m | Perpendicular distance to uncorrelated channel |
| \(w\) | Channel width | m | Channel surface width |
| \(A_{\mathrm{cell}}\) | Correlation cell area | m² | Surface incoherence patch area |
| \(S_\eta^{1/2}(f)\) | Elevation ASD | m/√Hz | Uncorrelated surface wave elevation ASD |
| \(\rho_w\) | Water density | kg/m³ | Fluid mass density (default 1000.0 kg/m³) |
Usage notes¶
- Waterfall API evaluates cylindrical cross-sectional area fluctuations; uncorrelated channel API evaluates area-integrated incoherent patches.
Calculation paths¶
Vertical waterfall with cross-sectional area fluctuations (ASD)¶
gragra.observables.water_waterfall_asd
Path-level source-declared output union: a — Spectral density (ASD)
Incoherent surface cells across the channel width¶
gragra.observables.water_channel_uncorrelated_asd
Path-level source-declared output union: a — Spectral density (ASD)
Derivation and source notes¶
- The formula/source attribution text is repository evidence of attribution, not confirmation that the referenced external source was inspected or that source text proves this implementation.
- No full bibliographic citation/DOI for the Nishizawa 2021 water source was located in the scoped water docs/source search.
Verification¶
Evidence classes are distinct: source declarations, catalogue output-contract probes, existing test code, documentary validation claims, and saved numerical results.
- Representative catalogue output-contract entries: 0.
- Catalogue probe state: Not assessed (no catalogue output probe registered).
- Registered output-contract probes run during catalogue validation check selected API outputs only; they do not measure scientific accuracy.
- Scientific accuracy tests are not part of documentation generation; Level 4 is assigned based on archived scientific validation records (established closed form / verified reference comparisons in the development repository) within the stated scope conditions.
Existing verification inventory:
test_analytic_water.py contains assertions against closed forms, quadrature, shape/units and SI conversion; these are test code, not newly executed. Example rtol 1e-14 closed form, 1e-9 quadrature, 1e-4 selected product quadrature.
- No committed executed-result artifact located for these assigned models.
Applicability and limitations¶
- uncorrelated formula uses narrow-channel approximation and independent cells; source attribution remains unverified.
Scope note: Water positive-frequency Bessel domain requires representable 0<q<=700; DC not allowed by ASD; velocity nonzero, distance/width/density positive.
See the public verification and limitations guidance for test-specific conditions and interpretation:
Information not yet confirmed¶
- No specific water-surface or waterfall geometry data, or model-specific geometry renderer for a shared model view, was identified.
Publication scope: narrative summaries and links, not private derivation records, internal test artifacts or inventory JSON.