I will explain my problem here in detail.

my specific problem is related to a solid 3D pipe with a fluid flowing through it (heat transfer and laminar flow modules used here.)

  • I want to change the inlet temperature(Ti) at each time step(t).
  • The new inlet temperature is a function of the outlet temperature(To) from the previous time step. 
  • I have experimented with the "prev" operator and "boundary probe". This works fine for simple functions but for more complex functions I believe Matlab is required. I may be wrong here and would appreciate any advice.
  • With Matlab I could generate a for loop so that for each iteration the inlet temperature was updated.
  • The problem i have with this is that the initial conditions i.e. the temperature of the domain is not updated with each loop and the temperature distribution in the pipe for my particular problem is non-negligible. 
  • Is there a computationally more efficient way of solving this problem other than creating a new solver for each time step using the initial conditions of the last iteration.

I have searched the comsol forums but have not managed to find a solution there. I am sure others have had similar problems in the past and I would greatly appreciate their help.

More Richard O'Hegarty's questions See All
Similar questions and discussions