extract comsol solutions in matlab live link

Please login with a confirmed email address before reporting spam

An .mph file that already computed and plotted results has several studies, each of which contains several steps. It seems mpheval(model,expr) is the go to method for extracting solutions in order to plot them in matlab?

1.how to extract solutions in a specific study (or even specific step)?

2.is there a command similar to mpheval(model,expr) that outputs info only for a specific study (or step)?

3.what command outputs all unknowns? For example, in solid mechanics, how to output 'u', 'v', 'w', 'p' tags for users not knowing them?

4.what's the matlab equivalent for comp1.at3(xx,0,0,u)? u is x displacement in solid mechanics and xx is some x coordinate.

5.how to output for 2D models nodal positions as a [x,y] meshgrid?


Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.