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.

How to activate 'geometric nonlinearity' in a transient study in COMSOL Livelink with MATLAB?

Please login with a confirmed email address before reporting spam

Hello everyone,

I'm trying to run a simulation using the livelink with MATLAB, but I'm having a problem. The thing is, I don't know how to write a code that activates the 'Include geometric nonlinearity' for a transient study in MATLAB. I've read the COMSOL manual, but I found nothing useful. I was wondering if anyone can help me with this.

Best Regards



1 Reply Last Post 2019年2月25日 GMT-5 11:15
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 2019年2月25日 GMT-5 11:15

Hi,

The easist way if you do not know the API is to select the check box in the GUI and then do a Save As on .m format. The last line will then look something like

model.study('std1').feature('time').set('geometricNonlinearity', true);

Regards,
Henrik

-------------------
Henrik Sönnerlind
COMSOL
Hi, The easist way if you do not know the API is to select the check box in the GUI and then do a *Save As* on .m format. The last line will then look something like model.study('std1').feature('time').set('geometricNonlinearity', true); Regards, Henrik

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.