moose icon indicating copy to clipboard operation
moose copied to clipboard

Additions to Electromagnetic Module: Refs #28758

Open csdechant opened this issue 1 year ago • 5 comments

Reason

The additions to the electromagnetic module would allow for the coupling to additional physics domains for the study of microwave systems.

Design

This PR includes the following:

  • The ability to supply a conduction current source term to the Helmholtz wave equation, such that $\vec{J} = \sigma \vec{E}$.
  • The implementation of the Helmholtz wave equation using AD material properties.
  • The ability to supply a heating term to a medium based on the conduction current, such that $Q = 0.5 Re \left( \sigma \vec{E} \cdot \vec{E}^{*} \right)$
  • AuxKernels that calculates the time derivative of the magnetic field for axisymmetric cylindrical geometries.
  • Including curl calculations to the MMS evaluate function.

Impact

The additions with allow for further coupling of the electromagnetic module to existing MOOSE modules and applications and closes #28758

csdechant avatar Oct 02 '24 22:10 csdechant

@simopier this was the PR that I mentioned at the least FENIX meeting.

csdechant avatar Oct 02 '24 22:10 csdechant

iirc EM uses specific variable types. Any of these objects limited to these?

Yes, for EM vector variables, Nédélec variable are often used. All the new test uses Nédélec vector variables, but nothing is coded to assume Nédélec variables.

csdechant avatar Oct 07 '24 20:10 csdechant

Job Coverage, step Generate coverage on cb4adf2 wanted to post the following:

Framework coverage

Coverage did not change

Modules coverage

Electromagnetics

24f010 #28759 cb4adf
Total Total +/- New
Rate 94.29% 94.84% +0.55% 97.01%
Hits 495 625 +130 130
Misses 30 34 +4 4

Diff coverage report

Full coverage report

Full coverage reports

Reports

This comment will be updated on new commits.

moosebuild avatar Oct 08 '24 08:10 moosebuild

Job Documentation, step Docs: sync website on cb4adf2 wanted to post the following:

View the site here

This comment will be updated on new commits.

moosebuild avatar Oct 08 '24 12:10 moosebuild

Job Precheck, step Clang format on bf0cf21 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/docs/PRs/28759/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format facbaefe7429e714a38735bf85a6d2ed0958698a

moosebuild avatar Nov 06 '24 01:11 moosebuild

@csdechant you have to delete the file from history first to reeduce the size of a gold file right now you are checking both the old big file and the new smaller file

GiudGiud avatar Feb 13 '25 15:02 GiudGiud

Imo this is ready to go as soon as next is unlocked

GiudGiud avatar Mar 03 '25 16:03 GiudGiud