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.
Getting the same data as postcrossplot uses to plot?
Posted 11 févr. 2010, 13:49 UTC−5 3 Replies
Please login with a confirmed email address before reporting spam
Hi!
When I use GUI windows in COMSOL through Domain Plot Parameter tab, I can plot an expression like Von Mises stress. Then buy using "Export Current Plot", on top of that figure, I can export all the data points to my hard drive or MATLAB. As you know these data points are not located on Nodes and the number of data points here is relatively smaller than the number of nodes.
In my work, this fact helps that I have less number of data points. So now I am looking for a command that I can use in my m-file that gets this type of data for me without plotting that expression. See I do not use GUI COMSOL and all my work is being done in MATLAB via m-file. I already know that posteval gives the value of an expression on all nodes, but this is not suitable for me.
I will greatly appreciate it if you could guide me and introduce a suitable command to me.
Thanks,
Masoud
When I use GUI windows in COMSOL through Domain Plot Parameter tab, I can plot an expression like Von Mises stress. Then buy using "Export Current Plot", on top of that figure, I can export all the data points to my hard drive or MATLAB. As you know these data points are not located on Nodes and the number of data points here is relatively smaller than the number of nodes.
In my work, this fact helps that I have less number of data points. So now I am looking for a command that I can use in my m-file that gets this type of data for me without plotting that expression. See I do not use GUI COMSOL and all my work is being done in MATLAB via m-file. I already know that posteval gives the value of an expression on all nodes, but this is not suitable for me.
I will greatly appreciate it if you could guide me and introduce a suitable command to me.
Thanks,
Masoud
3 Replies Last Post 8 mars 2010, 13:05 UTC−5