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.

Overwriting the geometry inside Comsol

Please login with a confirmed email address before reporting spam

Hi,

I have a geometry already present inside a comsol model. I there any way to update the geometry without deleting the previous geometry from the comsol server as I am using comsol 4.2 with matlab?

Thanks,

Vivek

2 Replies Last Post 2011年9月5日 GMT-4 08:55
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年9月2日 GMT-4 15:35
Hi

there is no "versioning" of the geoemtry, you must redefine a new geometry (but you can have several in the same file, you need to define a new model though)

--
Good luck
Ivar
Hi there is no "versioning" of the geoemtry, you must redefine a new geometry (but you can have several in the same file, you need to define a new model though) -- Good luck Ivar

Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年9月5日 GMT-4 08:55
Hi

It depend on what you mean by "update".

You can always change parameters in an existing model by using the set() method on the object you wish to change. This work exactly as in the Comsol Desktop such that meshes, settings etc. are updated automatically before solving the model.

Using Matlab you can also introduce new geometrical objects (or remove them).

For very large changes to the geometry is can be easier to delete the old geometry and set up a new one, but that depends very much on what you wish to do.

--
Lars Gregersen
Comsol Denmark
Hi It depend on what you mean by "update". You can always change parameters in an existing model by using the set() method on the object you wish to change. This work exactly as in the Comsol Desktop such that meshes, settings etc. are updated automatically before solving the model. Using Matlab you can also introduce new geometrical objects (or remove them). For very large changes to the geometry is can be easier to delete the old geometry and set up a new one, but that depends very much on what you wish to do. -- Lars Gregersen Comsol Denmark

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.