ElmerCSC / elmer-elmag

Development repository for electromagnetics tutorial and verification cases
45 stars 20 forks source link

Add setup with circuits + impedance bc #13

Closed arvedes closed 1 year ago

arvedes commented 1 year ago

@ettaka I setup a more complex test case, currently I cannot solve it with https://github.com/ElmerCSC/elmerfem/commit/bf4e04227020cf64c911118b82479679374e7834. I tried the following:

My setup is based on this Dockerfile.

ettaka commented 1 year ago

Hi @arvedes ! Good job. I see at least one typo: https://github.com/nemocrys/elmer-elmag/blob/circuits_impedance-bc/InductionHeating/harmonic_open3Dmassive_circuit.definition#L69

Needs to point to the Boundary Condition, not Body.

arvedes commented 1 year ago

Thanks, it's working now with a relaxed linear system convergence tolerance of 1e-6. Do you have an idea how to improve that?