Closed liamoconnor9 closed 1 year ago
This appears to be a coordinate ordering issue.
If you replace:
coords = d3.CartesianCoordinates('y, 'z', 'x')
with
coords = d3.CartesianCoordinates('z', 'y', 'x')
(namely, half dimension is the interior coord, rather than the edge coord), then the CFL builds without error.
That works! Thanks.
Should we leave this open? Should we expect this to (eventually) work with any axis omitted?
@bpbrown's merged branch for half-dimensional simulations works great for an MHD system. The outstanding issue is when I try to use the CFL tool. Here's an example which raises an error:
Any thoughts on how to implement the CFL for half-dimensional problems? I can't find any literature on this topic. My naive approach would be to project the (n+1) dimensional tensors into the (n) dimensional domain, or equivalently, just discard the extra component of the (n+1) dimensional tensor.