Hello everyone, I am working to solve a conjugate heat transfer problem. The model consider a porous pipe flow with heat source, the velocity of the fluid has a sinusoidal profile (u(t)=u0sin(2pift)) and i want to Make a Boundary Conditions Conditional at both ends of the pipe depending on the sign of velocity;
if u(t)>0 , so the temperature of the inlet of fluid is T(x=0,t)=Th while if u(t)< 0 , so the temperature of the inlet of the fluid is T(x=L,t)=Tc L is the lenght of the pipe.
How and where i can implement these conditions ?
Thank you in advance