Discussion ClosedThis 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.
Accessing Fem Structure within COMSOL & Coupling Variables
Posted 2009年8月12日 GMT+2 21:091 Reply
Please login with a confirmed email address before reporting spam
Hi everyone,
I am looking for a way to access the fem structure within comsol for a given geometry.
I would ideally like a way to evaluate the postinterp(fem,[x;y;z]) function as an expression while remaining in COMSOL (that is without exporting the fem strcture to MATLAB and then trying to evaluate it there).
The idea is that I have one geometry which I have solved and wish to evaluate specific points within the subdomains to be used in a second geometry in the same mph file. The coupling variables approach doesn't seem to be what I need, unless it has some hidden implementation that I am just not seeing. I would like point evaluation and not an integral over the entire domain. Really I am looking for a command that replicates the functionality of the 'Data Display>Subdomain' dialog that can be used as an expression.
Thanks again,
Jon
I am looking for a way to access the fem structure within comsol for a given geometry.
I would ideally like a way to evaluate the postinterp(fem,[x;y;z]) function as an expression while remaining in COMSOL (that is without exporting the fem strcture to MATLAB and then trying to evaluate it there).
The idea is that I have one geometry which I have solved and wish to evaluate specific points within the subdomains to be used in a second geometry in the same mph file. The coupling variables approach doesn't seem to be what I need, unless it has some hidden implementation that I am just not seeing. I would like point evaluation and not an integral over the entire domain. Really I am looking for a command that replicates the functionality of the 'Data Display>Subdomain' dialog that can be used as an expression.
Thanks again,
Jon
1 Reply
Last Post 2009年8月12日 GMT+2 22:09