Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documentation
tutorials
Commits
ac531912
Commit
ac531912
authored
4 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
option for freq or time domain
parent
c5990720
No related branches found
No related tags found
No related merge requests found
Pipeline
#7614
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Magnetodynamics/Lib_Magnetodynamics2D_av_Cir.pro
+4
-0
4 additions, 0 deletions
Magnetodynamics/Lib_Magnetodynamics2D_av_Cir.pro
Magnetodynamics/transfo.pro
+4
-3
4 additions, 3 deletions
Magnetodynamics/transfo.pro
with
8 additions
and
3 deletions
Magnetodynamics/Lib_Magnetodynamics2D_av_Cir.pro
+
4
−
0
View file @
ac531912
...
@@ -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
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Magnetodynamics/transfo.pro
+
4
−
3
View file @
ac531912
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment