-
Notifications
You must be signed in to change notification settings - Fork 1
Workflow
Austin R edited this page Jul 3, 2020
·
2 revisions
- Make new model. Add the following physics interfaces:
- Magnetic fields, no currents
- Magnetic fields, no currents 2
- Magnetic fields
- Magnetic fields, no currents 3
- Build geometry. Needs the following features:
- "fiducial sphere": the inner sample volume over which the field will be optimized.
- "Coil surface": flat-faced surface (does not have to be convex) where coils will go.
- Assign physics as follows:
- MFNC: World outside the coil surface
- MFNC2: Everything inside the coil surface
- MF: Everything
- MFNC3: Fiducial sphere only.
- Solve for Reduced Field, with background field
<mf.Hx, mf.Hy, mf.Hz>
- Solve for Reduced Field, with background field
- Add a study with another stationary solver.
- Enable
MFNCandMFNC2onStudy 1 - Enable
MF' andMFNC3onStudy 2`
- Enable
- Label planar surfaces for solver
- Do you have keep-out zones (e.g. penetrations)? To prevent wires from going through the keep-out zone, you'll need for the scalar potential to be constant on that boundary element. Here's one prescription that you'll have to repeat for each penetration:
- Add annular region around no-go zone itself.
- Add two surface probes, each pointing to the annulus. One needs to evaluate the integrated average of Vm
<Vm>and the other needs to calculate<Vm2>. - In
MFNCandMFNC2add aMagnetic Scalar Potentialconstraint to the penetration, and setVm=bnd1, where you've adjusted the index to whatever your boundary probe is called. - Assign a zero magnetic flux boundary condition to the annulus.
- Add a table to the solutions branch.
- Add a surface integral to the results:
More Derived Values > Surface Integration - Assign a scalar potential to the coil surface for both MFNC and MFNC2.
- Run
Study 1. Make sure mesh is satisfactory, make sure solution (Vm-Vm2here) is roughly what you expect. - Compact History.
- Save model as Matlab file.