Hi, I'm new to Comsol and I'm working on a time dependent model. The temperature distribution along a wall is a function of temperature gradient and also something calculated based on result from previous step. My questions are: 1. Do I use Matlab code to define my boundary condition? How can I extract data of temperature gradient from result of previous step? 2. I need to use some code to calculate something every step. How can I do that in Comsol?
Before I come to Comsol, I tried Ansys Fluent, I can define user-defined-function on both boundary condition and 'Execute at end' section, do we have something like that in Comsol?
Any help will be so much appreciated. Thanks in advance.
Jing