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 can I extract the values of the variable at the mesh nodes and use them as an input during simulation?
Posted 7 juil. 2022, 06:16 UTC−4 General, Modeling Tools & Definitions, Modeling Workflow Version 5.6 4 Replies
Please login with a confirmed email address before reporting spam
Hi
Suppose I defiend a variable using Coefficient form PDE, and it is defined in the material frame. has different initial values at different coordinates. The values of will change with time at some coordinates while others will not.
Due to the requirement of my study, I need to know the values of at each node in real-time. And use them as an input to another physics interface.
I have tried the 'probe' function, but it only allows me to access the maximum, minimum, average and integral of the variable in a specific domain, boundary or point. There is another function, 'Domain point probe', which allows me to access the exact value of at a fixed coordinate. But I need to access the values at all the nodes, and it would be a bad idea to define millions of 'Domain point probe' manually.
So I wonder if there is any method to achieve such operation in an elegant way in COMSOL. Any suggestion will be much appreciated.
Best Runzi