I am working on a very simple 2D Euler code using open coarray. I am looking for any open source CFD code using halo cell exchange approach to learn form it and to correct my code. Though I have coded the whole package, debugging it is a challenge. Synchronizing the code is a challenge I am facing.
You might look at the CloverLeaf mini-app. Its solves the compressible Euler equations on a Cartesian grid. There is also a 3D version. It has different parallel implementations (MPI, CAF, OpenMP, OpenACC, CUDA, OpenSHMEM etc) along with a reference serial version. If you search the internet you can find other mini-apps like this from various places. Mini-apps (or proxy apps) are used to test performance on new hardware and are useful for learning different HPC programming methods.