Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TerraPercolatio

Guides

  • TerraPercolatio

Tech Notes

  • Solving Seepage Problems with TerraPercolatio

Symbols

  • BoundaryFlux
  • ExitGradient
  • FlowNet
  • PorePressureField
  • SeepagePlot
  • SeepageSolve
  • SeepageUnconfined
  • SeepageWell
  • TerraPercolatioClear
  • TerraPercolatio
MalcolmWoodruff`TerraPercolatio`
BoundaryFlux
​
BoundaryFlux
[sol,pred]
integrates the outward Darcy flux over the boundary selected by pred.
​
Details and Options
▪
Integrates -(K.Grad[h]).n, where K = diag(kx,ky) and n is the outward normal, over the boundary segments selected by pred[x,y]. Positive values are outflow, negative are inflow.
▪
Use it to check the discharge across any boundary that is not already reported in "Q", such as a drain, a sub-length of a face, or a check that inflow equals outflow.
Examples  
(1)
Basic Examples  
(1)
Compute the discharge across the excavation floor:
In[1]:=
gUp=10.`;gExc=7.`;hUp=12.`;hDn=gExc;ytip=4.`;w=0.05`;L=20.`;kSand=0.00001`;excPoly={{-L,0.`},{L,0.`},{L,gExc},{w,gExc},{w,ytip},{-w,ytip},{-w,gUp},{-L,gUp}};excLayers={Association["Polygon"excPoly,"kx"kSand,"ky"kSand]};excHeadBCs=hUp,Function{x,y},y≥gUp-
1
6
10.`
&&x≤-w,hDn,Function{x,y},y≥gExc-
1
6
10.`
&&x≥w;pilePred=Function{x,y},Abs[x]≤w+
1
6
10.`
&&y≥ytip-
1
6
10.`
;outerPred=Function{x,y},y≤
1
6
10.`
||Abs[x]≥L-
1
6
10.`
;excSol=
SeepageSolve
[excLayers,excHeadBCs,{pilePred,outerPred},"MeshSize"0.4`];
BoundaryFlux
excSol,Function{x,y},y≥gExc-
1
3
10.`
&&x≥w
Out[1]=
0.0000238332
RelatedGuides
▪
TerraPercolatio
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com