I am working on a CFD case in which an electrical propulsor is located within the boundary layer formed on the aircraft fuselage.
I am wondering whether is possible to create a coupled OpenFOAM and Python case with preCICE:
- OF: fan inlet and fan outlet will be mesh boundaries
- Python: use the pressure and velocity fields from fan inlet patch to calculate the pressure and velocity field at the fan outlet (imposing a pressure ratio, simple thermodynamic calculations)
I have seen a couple of tutorials in preCICE but I am not sure if a functionality like this is available. There will be essentially two interfaces (fan_in, fan_exit) where the pressure and velocity fields are either read or written.
Thanks in advance.