nens / threedigrid-builder

Generate a 3Di simulation grid from a model schematisation.
Other
1 stars 0 forks source link

Groundwater 1D-2D, gridbuilder part #303

Closed caspervdw closed 1 year ago

caspervdw commented 1 year ago

Questions:

Discussed with @martijn-siemerink and @nvolp:

For connection nodes we need:

For all objects we need a pipe thickness, which defaults to 10cm. This is stored in ds1d.

caspervdw commented 1 year ago

Darcy flow: $Q = \kappa \frac{A}{\delta} \Delta \zeta$, user gives $(\kappa{in}, \kappa{out}, \delta)$ per object. ( $\kappa$ = hydraulic conductivity, A = crosssectional area $\delta s_{1D} * P(\zeta)$ , $\delta$ = thickness

For the exchange of a single channel or pipe segment, we can write $(\kappa{in}, \kappa{out}, \delta, {ds1d})$ in the gridadmin.

For the exchange of a connection node, however, we have to sum over the manhole and connected pipe/channel exchanges. We have:

$$Q = \Delta \zeta \sum_i{\kappa_i \frac{A_i (\zeta)}{\delta_i}}$$

It is probably best to precompute $\sum_i{\kappa_i \frac{A_i}{\delta_i}}$, but the weights $A_i$ are not completely known (because for pipes and channels they depend on the water level). I think we have to make some approximation here, but I am unsure which one.

@nvolp

caspervdw commented 1 year ago

ref. https://github.com/nens/threedi-schema/pull/3

caspervdw commented 1 year ago

Closing as untestable in API (need "testuser" stuff for that, and this specific feature has probably already been tested by testbank team while making testbank tests)