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                            
                            
                                Apr 14, 2014, 8:03 p.m. EDT                            
                        
                        
                                                    
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:
                            
                                1 decade ago                            
                            
                                Sep 19, 2015, 3:20 p.m. EDT                            
                        
                        
                                                
                            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:
                            
                                1 decade ago                            
                            
                                Sep 22, 2015, 3:38 a.m. EDT                            
                        
                        
                                                    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:
                            
                                9 years ago                            
                            
                                Nov 15, 2016, 6:07 a.m. EST                            
                        
                        
                                                    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