Made `write_fields` subroutine general so that it'll work with any field. At the moment checkpointing itself still uses a fixed output (u,v,w). I'll open another issue to handle arbitrary fields during `postprocess` procedure. _Originally posted by @ia267 in https://github.com/xcompact3d/x3d2/pull/173#discussion_r2135962347_