CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Magnetic Field Unphysical Results at Processor Boundaries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2022, 23:08
Default Magnetic Field Unphysical Results at Processor Boundaries
  #1
New Member
 
Caleb Schrad
Join Date: Jun 2021
Location: West Lafayette, IN
Posts: 2
Rep Power: 0
schradc is on a distinguished road
Hello,

I am trying to calculate the magnetic field induced by a current density field given by

\nabla^{2}\vec{B}=-\mu\nabla\times\vec{J}

Where B is the magnetic field, J is the current density and mu is the magnetic permiability.

I have implemented this equation as

Code:
solve(fvm::laplacian(B) == -magPerm * fvc::curl(Je));
I set up a simple case with uniform current density traveling down a circular conductor. The anticipated results are a magnetic field which approaches 0 on the centerline and increases in strength to the outer surface. Additionally, the magnetic field is expected to have a clockwise rotation.

This expected behavior is observed when run in serial as shown in the first two images.

However, when run in parallel, I get unphysical results with a pattern consistent with the borders between processors. The subdomains for the 4 processors can be seen in the third attachment and the magnetic field results in the last two figures.

Does anyone have any ideas as to why this behavior would occur in parallel? Is there anything wrong with the line I implemented?

Many thanks.
schradc is offline   Reply With Quote

Reply

Tags
laplacian operator, magnetic field, parallelization, processor boundary


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tangential induced magnetic field Far Main CFD Forum 2 November 16, 2021 06:47
fluent MHD using .mag magnetic field yuling FLUENT 0 May 21, 2019 21:38
Long output in terminal. ssa_cfd OpenFOAM Running, Solving & CFD 1 March 18, 2019 05:25
External Magnetic Field Data Format for FLUENT MHD Module eduardvinter FLUENT 0 January 24, 2019 01:54
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 18:44


All times are GMT -4. The time now is 01:58.