John Gibson Mon Dec 29 10:46:55 EST 2008
Miloš Ilak of Princeton MAE is working on this and we've been discussing over email. The following is my revision of Miloš's most recent proposed structure for HDF5 files.
HDF5 field | meaning, issues |
---|---|
geom/x,y,z | The x,y,z gridpoint values. |
geom/Nx,Ny,Nz | Number of gridpoints in x,y,z. |
geom/Lx,Lz,a,b | Lengths in x and z and bounds in y (a ⇐ y ⇐ b) |
data/u0,u1,u2,… | Components of scalar/vector/tensor field |
param/dt,dtmax,… | All the integration parameters, set by DNS algorithm or to null values |
version | channelflow version, e.g. 1.3.3 |
comment | optional descriptive comment |
Note: geom/x,y,z
is shorthand for three separate HDF5 fields geom/x
, geom/y
, and geom/z
.
Issues
geom/x,y,z
may or may not be worth including. Cost would be negligible, but they are redundant and trivially regenerable from more fundamental discretization parameters, e.g. x_n = n*Lx/Nx.u0,u1,u2,…
. FlowFields are meant to store fields of arbitrary meaning: pressure, velocity, stresses, vorticity, etc. Trying to change to labels based on the meaning of the field would lead to too much complexity in the FlowField IO function signature and/or the FlowField object.responses go here, please give name and date