Hello Krishna Manda
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
14.04.2014, 20:03 GMT-4
Hi all,
In GUI, I could remesh the deformed configuration from the results dataset, and from there i could export to a new geometry (xx.mphbin). But how can i do the same from matlab livelink ?
I wrote, "model.result.dataset('dset3').createDeformedConfig('deform1', 'mesh2');", but what could be the next lines in the script for exporting to a new geometry file ? Of course I tried to do it from GUI and then save model as m-file to see the script for exporting, but it didn't show anything equivalent java or matlab command for 'exporting to file' action.
Any help is appreciated ! Thanks.
/Krishna
I have the same question, does anyone in this community know about this matlab script?
Appreciate your help~~
[QUOTE]
Hi all,
In GUI, I could remesh the deformed configuration from the results dataset, and from there i could export to a new geometry (xx.mphbin). But how can i do the same from matlab livelink ?
I wrote, "model.result.dataset('dset3').createDeformedConfig('deform1', 'mesh2');", but what could be the next lines in the script for exporting to a new geometry file ? Of course I tried to do it from GUI and then save model as m-file to see the script for exporting, but it didn't show anything equivalent java or matlab command for 'exporting to file' action.
Any help is appreciated ! Thanks.
/Krishna
[/QUOTE]
I have the same question, does anyone in this community know about this matlab script?
Appreciate your help~~
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
19.09.2015, 15:20 GMT-4
https://www.comsol.com/community/forums/livelink-products/thread/62831/#p206493
My answer in another thread
Lars Gregersen
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
22.09.2015, 03:38 GMT-4
Hi
This should work:
model.result.dataset('dset1').createDeformedConfig('deform1', 'mesh2');
model.geom('deform1').export('newgeomfilename');
--
Lars Gregersen
Comsol Denmark
Hi
This should work:
model.result.dataset('dset1').createDeformedConfig('deform1', 'mesh2');
model.geom('deform1').export('newgeomfilename');
--
Lars Gregersen
Comsol Denmark
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
15.11.2016, 06:07 GMT-5
thank you
--
Nicolas LE CORVEC, PhD
Planetary Volcanologist - Postdoctoral Fellow
ClerVolc, the Clermont-Ferrand Centre for Volcano Research
Laboratoire Magmas et Volcans
thank you
--
Nicolas LE CORVEC, PhD
Planetary Volcanologist - Postdoctoral Fellow
ClerVolc, the Clermont-Ferrand Centre for Volcano Research
Laboratoire Magmas et Volcans