d2hydro / H2i_code_factory

Code factory for H2i data preperation
0 stars 2 forks source link

Provide velocity and flows on the cell centres instead of links #4

Closed saberraz closed 2 years ago

saberraz commented 2 years ago

Follow up to https://github.com/d2hydro/H2i_code_factory/issues/1#issuecomment-1022630184 ideally we need to vel/flow on the cell centres (nodes). The averaging used in the previous implementation is no longer valid.

maarten-keijzer commented 2 years ago

Yes, we do not have the engine support just yet, but we're planning to create a separate type of result file (.dat) that contains two records for each timestep, first cointaining x-coords, second containing y-coords.

d2hydro commented 2 years ago

we have velocity magnitude and direction on the cell centres (nodes) since yesterday. Please find layer upwind velocity in metadata.json. It is indicated as a vector layer. I've updated the documentation

Be aware, the implementation is fresh and under review by H2I.

d2hydro commented 2 years ago

resolved by upwind velocity layer (velocityupwind2d.dat). MDAL will only support nodal-data