Merging 2 models

Topics: 4.3, Electromagnets

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   4 Replies   Last post: November 29, 2012 8:37am UTC
Ammar Mahmood

Ammar Mahmood

November 26, 2012 3:18am UTC

Merging 2 models

I have a Comsol Model of a Maxwell Coil and a model of Helmhotlz coil with defined geometries. Now I want to make a simulation in which I can place these 2 coils together and simulate their magnetic flux density. How can I do that?

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

November 26, 2012 6:04am UTC in response to Ammar Mahmood

Re: Merging 2 models

Hi

you need to rebuild your model with both, and merge the physics into one as normally these two system will interact.

If you operate in stationary mode, you might use the sum of the two separate cases as a good starting point, in AC mode you might end up with cross coupling that changes far more your fields

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ammar Mahmood

Ammar Mahmood

November 27, 2012 8:28am UTC in response to Ivar Kjelberg

Re: Merging 2 models

Thanks. I successfully merged these 2 models. Now I want to get plot for ''Gradient'' of magnetic flux density. Is there a built-in operator for ''gradient (Del Function)'' ?

en.wikipedia.org/wiki/Gradient

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

November 27, 2012 10:21am UTC in response to Ammar Mahmood

Re: Merging 2 models

Hi

not for the gradient as such, but the component yes, check the doc, the dependent variables have their derivatives in subscript x,y,z,r,t respectively 2nd derivatives in xx,xy,yy,zz, tt...

but for vector fields the x,y,z,r might also define a coordinate component, this is context dependent, needs some time to learn

Not that by default the discretization is 2nd order (if your mesh i good), so you might derive 2 times, but the 2nd derivative is staircase function, in EM B is already the derivative of A, so deriving further might be done cleaner by increasing the discretization order of your model (but this increases the DoFs hence the need for RAM and time to solve)

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ammar Mahmood

Ammar Mahmood

November 29, 2012 8:37am UTC in response to Ivar Kjelberg

Re: Merging 2 models

I made mph model and to calculate gradient i want to import mph model in MATLAB. Is comsol 4.3 compatible with matlab R2011a?

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines