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.
Matlab post-processing of multi-steps simulations
Posted 4 nov 2011, 06:07 GMT-4 Results & Visualization 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I have carried out multi-steps simulations using comsol GUI in 1-D PDE mode. By "multi-steps" I mean that I have set up several solvers running one after the other. (Solver 1 is from time = 0 to time = 1 ; solver 2 is from time = 1 to time =2 using solver 1 results as initial conditions).
Once the simulation is done, i load the mph file in matlab using :
model=mphload('myfile.mph');
Then i want to acces to the value of my variable by :
u=mphinterp(model,'u', 'coord', ... , 'T', ...)
If i set 'T' to linspace(0,1,n), I can obtain the results given by solver 1 but if I set 'T' to linspace(1,2,n) the interpolation can't be done.
Do you have any idea to interpolate the results given by solver 2?
Thanks !
I have carried out multi-steps simulations using comsol GUI in 1-D PDE mode. By "multi-steps" I mean that I have set up several solvers running one after the other. (Solver 1 is from time = 0 to time = 1 ; solver 2 is from time = 1 to time =2 using solver 1 results as initial conditions).
Once the simulation is done, i load the mph file in matlab using :
model=mphload('myfile.mph');
Then i want to acces to the value of my variable by :
u=mphinterp(model,'u', 'coord', ... , 'T', ...)
If i set 'T' to linspace(0,1,n), I can obtain the results given by solver 1 but if I set 'T' to linspace(1,2,n) the interpolation can't be done.
Do you have any idea to interpolate the results given by solver 2?
Thanks !
1 Reply Last Post 4 nov 2011, 09:47 GMT-4