Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How to define a boundary condition where temperature is a function of temperature gradient?

Please login with a confirmed email address before reporting spam

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


0 Replies Last Post 19 set 2018, 19:09 GMT-4
COMSOL Moderator

Hello Jing Yuan

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.