I’m working on a Fluid-Structure-Thermal interaction(FSTI) problem using OpenFOAM-FEniCS. I tried to solve by combining Flow in a channel with an elastic perpendicular flap and Flow over heated plate.
After I completed the OpenFOAM and FEniCS solver code separately, I’m having trouble coupling them together:
According to the tutorial on fenics-adapter, I can couple a single variable, temperature or force. It seems like an adapter created in FEniCS can only transfer one variable.
# Adapter definition and initialization precice = Adapter(adapter_config_filename="precice-adapter-config.json") precice_dt = precice.initialize(coupling_boundary, read_function_space=V, write_object=V_flux_y)
How can I couple two or more variables in FEniCS? Such as (temperature and force), (heat flux and displacement).