Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

COMSOL with Matlab syntaxis (plotting and extraction datas while optimization solving)

$
0
0
hello.

I'm trying to make belows these days.
First, I've opened a 'Topology Optimization of a Loaded Knee Structure' from the model library that is aleady exist. And I clicked 'reset history' then saved as model M-file to extraction. I turn off the COMSOL and run COMSOL with Matlab for using the M-file what I extracted.
Now I can do some implement on COMSOL with Matlab except COMSOL Multiphysics. But I couldn't use so many commanders freely still. Of course nowdays I'm studying through pdf files which are 'COMSOL Java API Reference Guide' and 'Live Link For MATLAB Users Guide', etc.

my questions:

<1> How do I plot while solving on COMSOL with Matlab?
--> I can only do optimal plotting (just single picture) when entire loops or iterations end. (by using the 'mphplot' syntax)
--> I saw some syntaxis 'PlotWhileSolving' or just 'Plot' which are marked on pdf files, but it hadn't possible.
--> I want to plot while solving on not COMSOL Multiphysic but COMSOL with Matlab, I mean using the Matlab 'figure' or 'window'.

<2> I want to extract datas that are objective function, design variables and sensitivity vlause... something that... each iteration on COMSOL with Matlab. could you teach me a class or structure syntax?


I'll wait good news. (I attached all files)
Best Regards.

Viewing all articles
Browse latest Browse all 26527

Trending Articles