Coupling in-house SPH solver with Calculix

Hi everyone! I would like to couple my in-house SPH solver written in CUDA Fortran with Calculix for structural analysis.

The workflow I have in mind is that the SPH solver will handle the multiphase droplet dynamics and their impact with a solid body. It also provides a temperature field within the solid. I would like to map/pass this temperature field at each iteration to Calculix to get the thermomechanical response.

I was wondering if I could do such a coupling with PreCICE? Two of my concerns are
1- The SPH code is written in CUDA Fortran.
2- SPH is a meshless method, whereas I need mesh for Calculix. Would I need to convert/interpolate temperature field from a point cloud to mesh elements?

Thanks!

Hi @LBKME,

I think that this should be possible. People have coupled particle codes in the past (e.g., @Alphaoo1) and I think the approach there was to have a background mesh.

We have Fortran bindings, and the fact that the code uses CUDA should not conflict. Yes, preCICE would run on the CPU, so expect a performance degradation, but at least the mapping can be computed on GPUs. @DavidSCN would be the expert here.