Erosion, transport, and tritium codeposition analysis of a beryllium wall tokamak