# Mangostatic problem no DOF error

**URL:** https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924
**Category:** Analysis issues
**Created:** [December 21, 2025, 1:37pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924 "2025-12-21T13:37:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kevinarden](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kevinarden](https://calculix.discourse.group/u/kevinarden)
#### Post date: [December 21, 2025, 1:37pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/1 "2025-12-21T13:37:26Z")

</div>

Setup up a magnostatic problem but I get this error

STEP 1

Newton-Raphson iterative procedure is active

Decascading the MPC’s

Determining the structure of the matrix:

\*WARNING: no degrees of freedom in the model

Using up to 0 cpu(s) for setting up the structure of the matrix.  
number of equations  
0  
number of nonzero lower triangular matrix elements  
0

Using up to 0 cpu(s) for the heat flux calculation.

The pertainant input cards are

\*NODE, NSET=NALL  
\*ELEMENT, TYPE=C3D4, ELSET=C3D4  
\*ELSET, ELSET=Domain1  
\*ELSET, ELSET=Domain2  
\*ELSET, ELSET=Domain3  
\*MATERIAL, NAME=air  
\*CONDUCTIVITY, TYPE=ISO  
1.0  
\*ELECTRICAL CONDUCTIVITY  
1.0  
\*MAGNETIC PERMEABILITY  
1.0, 1  
\*MATERIAL, NAME=magnet  
\*ELECTRICAL CONDUCTIVITY  
667  
\*MAGNETIC PERMEABILITY  
987500, 2  
\*MATERIAL, NAME=domain3  
\*ELECTRICAL CONDUCTIVITY  
1.0  
\*MAGNETIC PERMEABILITY  
1.0, 3  
\*SOLID SECTION, ELSET=Domain1, MATERIAL=air  
\*SOLID SECTION, ELSET=Domain2, MATERIAL=magnet  
\*SOLID SECTION, ELSET=Domain3, MATERIAL=domain3  
\*STEP  
\*ELECTROMAGNETICS, MAGNETOSTATICS, NO HEAT TRANSFER  
0.25, 1, 1.e-5, 1.e+30  
\*EL FILE  
EMFB, EMFE  
\*END STEP

Does anyone know the problem?

---

<div class="post-metadata">

### Author: ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)
#### Post date: [December 21, 2025, 4:09pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/2 "2025-12-21T16:09:32Z")

</div>

I reported this issue here: [Joule heating analysis - no degrees of freedom in the model](https://calculix.discourse.group/t/joule-heating-analysis-no-degrees-of-freedom-in-the-model/1141) but came to the conclusion it was because I had no air domain (this procedure seems to be limited to quite specific subset of cases).

You have 3 domains (including air) and this kind of setup is mentioned in the documentation. You also have the required material properties (maybe even redundant for some materials because only the air needs magnetic permeability).

Can you share the whole input deck (via some hosting website) ? Is your model based on some example from the documentation ?

---

<div class="post-metadata">

### Author: ![kevinarden](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kevinarden](https://calculix.discourse.group/u/kevinarden)
#### Post date: [December 21, 2025, 6:10pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/3 "2025-12-21T18:10:21Z")

</div>

[https://github.com/mrkearden/magnostatic](https://github.com/mrkearden/magnostatic)

The problem is a copy of a FEMM, and Elmer, that have good agreement, after some work

I also included the FEMM and Elmer files

---

<div class="post-metadata">

### Author: ![kevinarden](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kevinarden](https://calculix.discourse.group/u/kevinarden)
#### Post date: [December 21, 2025, 6:11pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/4 "2025-12-21T18:11:28Z")

</div>

> **[GitHub - mrkearden/magnostatic](https://github.com/mrkearden/magnostatic)**
>
> Contribute to mrkearden/magnostatic development by creating an account on GitHub.

I also include the FEMM Files anf the Elmer Files, they give good results.

---

<div class="post-metadata">

### Author: ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)
#### Post date: [December 21, 2025, 6:55pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/5 "2025-12-21T18:55:13Z")

</div>

As I’ve mentioned, this procedure in CalculiX is limited to a specific class of problems and you may have to fulfill some other assumptions described under [6.9.22 Electromagnetism](http://www.dhondt.de/ccx_2.23.pdf#page=357).

Also see this official example file: [induction.inp](https://feacluster.com/CalculiX/ccx_2.18/doc/ccx/input_deck_viewer.php?input_deck=induction.inp)

For instance, you may have to use shell elements for the solid part.

The problem is that CalculiX needs to generate some MPCs and it may need a specific set of domains, element types and materials to do this.

---

<div class="post-metadata">

### Author: ![kevinarden](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kevinarden](https://calculix.discourse.group/u/kevinarden)
#### Post date: [December 21, 2025, 7:14pm UTC](https://calculix.discourse.group/t/mangostatic-problem-no-dof-error/2924/6 "2025-12-21T19:14:46Z")

</div>

OK thanks, that gives me a direction to work with
