Skip to content
Snippets Groups Projects
Commit ac531912 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

option for freq or time domain

parent c5990720
No related branches found
No related tags found
No related merge requests found
Pipeline #7614 passed
...@@ -556,6 +556,10 @@ PostProcessing { ...@@ -556,6 +556,10 @@ PostProcessing {
Term { [ {d a} ]; In Vol_Mag; Jacobian Vol; } Term { [ {d a} ]; In Vol_Mag; Jacobian Vol; }
} }
} }
{ Name norm_of_b; Value {
Term { [ Norm[{d a}] ]; In Vol_Mag; Jacobian Vol; }
}
}
{ Name h; Value { { Name h; Value {
Term { [ nu[] * {d a} ]; In Vol_Mag; Jacobian Vol; } Term { [ nu[] * {d a} ]; In Vol_Mag; Jacobian Vol; }
} }
......
...@@ -21,7 +21,10 @@ DefineConstant[ ...@@ -21,7 +21,10 @@ DefineConstant[
// way as far as circuit-coupling is concerned // way as far as circuit-coupling is concerned
ConductorType = {2, Choices{1 = "Massive", 2 = "Coil"}, Highlight "Blue", ConductorType = {2, Choices{1 = "Massive", 2 = "Coil"}, Highlight "Blue",
Name "Parameters/01Conductor type"} Name "Parameters/01Conductor type"}
Freq = {1, Min 0, Max 1e3, Step 1, Name "Parameters/Frequency"} Freq = {1, Min 0, Max 1e3, Step 1,
Name "Parameters/Frequency"}
Flag_FrequencyDomain = {0, Choices{0, 1},
Name "Parameters/Frequency-domain?"}
mur_Core = {1000, Min 1, Max 10000, Step 1, mur_Core = {1000, Min 1, Max 10000, Step 1,
Name "Parameters/Core relative permeability"} Name "Parameters/Core relative permeability"}
]; ];
...@@ -94,8 +97,6 @@ Function { ...@@ -94,8 +97,6 @@ Function {
// secondary. // secondary.
Flag_CircuitCoupling = 1; Flag_CircuitCoupling = 1;
Flag_FrequencyDomain = 0;
// Note that the voltage will not be equally distributed in the PLUS and MINUS // Note that the voltage will not be equally distributed in the PLUS and MINUS
// parts, which is the reason why we must apply the total voltage through a // parts, which is the reason why we must apply the total voltage through a
// circuit -- and we cannot simply use a current source like in Tutorial 7a. // circuit -- and we cannot simply use a current source like in Tutorial 7a.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment