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.

solver command doesn't work in matlab

Please login with a confirmed email address before reporting spam

Hi,

I would like to change a physics parameter of the model through the matlab command window
and after retrieve the postprocessing data.

I tried:
fem.appl{1}.bnd.Fz{2}=['-15[mmHg]'];
fem.xmesh = meshextend(fem);
fem.sol = femstatic(fem);
[ex,ey,ez] = postinterp(fem,'u','v','w',p,'Edim',2,'Dom',19);

But this doesn't work, because the postprocessing data are always the same and never change?!
Did I forget an important step?
It would be great, if you could give me a hint.

Thanks, Sabine

1 Reply Last Post 13.02.2010, 14:59 MEZ

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13.02.2010, 14:59 MEZ
Hello Sabine,

I'm not sure but you might have forgotten this:
fem = multiphysics(fem);
It's the function that checks the coherency of your model parameters.

Hope it helps
Ronan
Hello Sabine, I'm not sure but you might have forgotten this: fem = multiphysics(fem); It's the function that checks the coherency of your model parameters. Hope it helps Ronan

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.