Fluid-Solid-Fluid heat transfer not happening

Thanks for the reply.

Switching both couplings to parallel-explicit did not wanted to start, solid and hotGas crashed with the same error:
---[precice] ERROR: Sending data to another participant (using sockets) failed with a system error: write: Broken pipe [system:32]. This often means that the other participant exited with an error (look there).

Then using parallel-explicit for solid-coolGas and serial-explicit for solid-hotGas let me run preCICE but with the same problem of no heat transfer. Solid stays at constant temperature with residuals doing zig-zags…

Edit: different coupling schemes combinations let the temperature in the solid change, but it crashed after 3 iterations since the Temperature exploded… Changing the interfaces to

interfacehotGastosolid // interface will be handled by preCICE
{
	 //type zeroGradient;
	 type            mixed;
	 refValue        uniform 323;
	 valueFraction   uniform 0.5;
	 refGradient     uniform 0;
 }

and likewise for the coolGas starts the run, but Temperatures in the solid quickly rise to 1e5 K and just stay there, I have no idea where all this heat is coming from since I have limited the temperature of the two fluids. Seems to be a openFOAM related problem, I will ask in their forum.

Edit2: Might not be openFOAM problem but heat flux direction in the coupling that causes it

Edit3: Yes it was the use of heat flux and a sign mismatch (similar to Wrong heat-flux direction with OpenFoam CHT ) that heated up the pipe in nonphysical regimes. I finally used the same method as the heat-exchanger tutorial and only read/write Sink-Temperatures and Heat-Transfer-Coefficients. Guess I will not use heat flux :slight_smile:

1 Like