Hi all,
I’m new to the preCICE community and, more in general, not really aware of what opportunities it offers. I’m planning to simulate drug transfer in a tumor environment (simulated as a porous medium) modeled via OpenFOAM. However, for blood flow in the vascular network, I already have e 1D solver in python language, my question is if is it possible to couple the 1D model with the 3D CFD simulation using preCICE and if it is available a documentation or a tutorial for that. The idea is to simulate drug transfer through the vascular wall to the surrounding tissue, assuming an embedded capillary network.
Thank you in advance for the support.
1 Like
Hi @Gabriele!
Yes, preCICE v3 offers a first experimental implementation of geometric multiscale mapping: Mapping configuration | preCICE - The Coupling Library There is no tutorial available yet, only integration tests: precice/tests/geometric-multiscale at develop · precice/precice · GitHub
The main hack at the moment (preCICE v3.1) would be that you need to define a 3D point and 3D data also for the 1D solver, filling the unused components with zeros.
This kind of mapping is part of my research (but one of my many worries at the moment). I would be very interested in helping you set up such a case. If you want, feel free to also send me an email to arrange a meeting.
@Fujikawas is also working on porous media.