We model material cycling in a mangrove by combining surface water with groundwater.
Numerical simulation shows a good agreement with field observations of nutrients.
Ground water enhances material exchange between rivers and mangrove swamps.
Supply of dissolved nutrients from mangrove swamps depends on tidal flow.