A subgrid model is developed for simulating flooding and draining processes in salt marshes.
High-resolution subgrid effects are accounted for in the coarse grid computations.
A pre-storage method is proposed to improve the model efficiency.
The model is validated with an idealized case and applied in a salt marsh.
The model is able to obtain comparable results with regular grid model at much lower computational cost.