Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Where does COMSOL evaluate functions for boundaries?

Please login with a confirmed email address before reporting spam

Hi all (again)!
I'm starting to play around with COMSOL and functions defined by myself.
I'm trying to model a Radiation-Exchange process in 2D (in a closed cavity), so I have to define a function that is dependent on the geometry and on the temperature and add it as a boundary condition.

So, I have 2 questions:

1) Since the geometric part does not depend on anything, I would like to calculate it and store it in a file, that can be then read, avoiding to repeat the calculus over and over. The thing is how to know where exactly is going to evaluate COMSOL the function? In the mesh nodes? In some intermediate points?

2) Since the function depends on the temperature of the other points, how can I access that information? It's easy to pass as an argument the self-temperature or coordinates, but is it accessible from within a function the temperatures of every other node?

0 Replies Last Post Aug 9, 2011, 2:58 p.m. EDT
COMSOL Moderator

Hello Aquiles Carattino

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.