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.

mef.d variable AC DC module

Please login with a confirmed email address before reporting spam

I've been working with mef physics in the AC/DC module lately, and I noticed a variable mef.d that I couldn't find a definition for. It's used in the weak expressions for Ampere's Law and current conservation, e.g.,

mef.d*(mef.Jx*test(Vx)+mef.Jy*test(Vy)+mef.Jz*test(Vz))

and

mef.d*(-mef.Hx*mef.testcurlAx-mef.Hy*mef.testcurlAy-mef.Hz*mef.testcurlAz+mef.Jx*test(mef.Adepx)+mef.Jy*test(mef.Adepy)+mef.Jz*test(mef.Adepz))

(see the leading factor out front). The fact it's preceded by a node call mef. and followed by an asterisk suggests to me that it's not the differentiation operator d( ).

The meaning of mef.d may be obvious to someone more familiar with the weak form derivations for these PDE's, but it escapes me. Anyone know what this variable is?

2 Replies Last Post Jan 10, 2017, 10:46 a.m. EST
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Jan 10, 2017, 2:54 a.m. EST
Hi,

It is the out-of-plane thickness, defined in the Thickness section on the settings for Magnetic and Electric Fields.

A general method of finding a variable:

1. Press Ctrl-F, which brings up the search dialog.
2. Type in what you search for, here mef.d, and press Find.
3. In the Find Results tab, where the results of the search, you can double click an entry to get to the relevant node in the model tree (assuming that Equation View is on).

Regards,
Henrik
Hi, It is the out-of-plane thickness, defined in the Thickness section on the settings for Magnetic and Electric Fields. A general method of finding a variable: 1. Press Ctrl-F, which brings up the search dialog. 2. Type in what you search for, here mef.d, and press Find. 3. In the Find Results tab, where the results of the search, you can double click an entry to get to the relevant node in the model tree (assuming that Equation View is on). Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Jan 10, 2017, 10:46 a.m. EST
Thank you for your answer! And the general method you describe is most useful.
Thank you for your answer! And the general method you describe is most useful.

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.