Commit 257a5fbc authored by John Tourtellott's avatar John Tourtellott

Update induction heating definitions

* Includes adding alt-mesh to export definitions
* Current defs only support constant EM sources
* Also updates coil with single- vs multiple-turn option
parent ba563989
......@@ -140,7 +140,7 @@
<View Type="Group" Name="Induction Heating" TabPosition="North">
<Views>
<View Title="Electromagnetics" />
<View Title="Coils" />
<View Title="Induction Coils" />
</Views>
</View>
<View Type="Instanced" Title="Electromagnetics">
......@@ -148,7 +148,7 @@
<Att Name="electromagnetics" Type="electromagnetics" />
</InstancedAttributes>
</View>
<View Type="Attribute" Title="Coils">
<View Type="Attribute" Title="Induction Coils">
<AttributeTypes>
<Att Type="induction-coil" />
</AttributeTypes>
......
<?xml version="1.0" encoding="utf-8" ?>
<SMTK_AttributeResource Version="3">
<Categories>
<Cat>Induction Heating</Cat>
......@@ -8,7 +7,7 @@
<ItemDefinitions>
<Component Name="model" Label="Geometry" LockType="DoNotLock">
<Accepts>
<Resource Name="smtk::model::Resource" Filter="model"></Resource>
<Resource Name="smtk::model::Resource" Filter="model"/>
</Accepts>
<Categories>
<Cat>Induction Heating</Cat>
......@@ -21,6 +20,7 @@
<DefaultValue>1.0</DefaultValue>
</Double>
<String Name="em-domain-type" Label="Domain Type" Version="0">
<BriefDescription>A flag specifying the type of domain geometry that is discretizedby the computational mesh.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
......@@ -31,6 +31,7 @@
</DiscreteInfo>
</String>
<String Name="symmetry-axis" Label="Symmetrix Axis" Verion="0">
<BriefDescription>A flag that specifies which axis is to be used as the problemsymmetry axis for the Joule heat simulation.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
......@@ -40,16 +41,36 @@
<Value Enum="z">z</Value>
</DiscreteInfo>
</String>
<Double Name="source-frequency" Label="Source Frequency" Extensible="true" NumberOfRequiredValues="1" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
</Double>
<Double Name="source-times" Label="Source Times" Extensible="true" NumberOfRequiredValues="1" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
</Double>
<String Name="source-type" Label="EM Source" Version="0">
<BriefDescription>Time-dependent source is not yet supported.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<ChildrenDefinitions>
<Double Name="constant-source-frequency" Label="Frequency">
<BriefDescription>Frequency (cycles per unit time) of the sinusoidally-varyingmagnetic source fields that drive the Joule heat calculation.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
</Double>
<Double Name="constant-uniform-source" Label="Uniform Source" AdvanceLevel="1" Version="0">
<BriefDescription>Amplitude of a sinusiodal-varying, uniform magnetic source field thatdrives the Joule heat computation.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<DefaultValue>0.0</DefaultValue>
</Double>
</ChildrenDefinitions>
<DiscreteInfo DefaultIndex="0">
<Structure>
<Value Enum="Constant">constant</Value>
<Items>
<Item>constant-source-frequency</Item>
<Item>constant-uniform-source</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
<Double Name="cg-stopping-tolerance" Label="CG Stopping Tolerance" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
......@@ -62,17 +83,15 @@
</Categories>
<DefaultValue>500</DefaultValue>
</Int>
<Double Name="uniform-source" Label="Uniform Source" AdvanceLevel="1" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<DefaultValue>0.0</DefaultValue>
</Double>
<Double Name="num etasq" Label="Num Etasq" AdvanceLevel="1" Version="0">
<BriefDescription>Used for the displacement current coefficient in the lower-frequency,nondimensional scaling of Maxwell's equations, when its value exceeds the physical value.</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<DefaultValue>1e-10</DefaultValue>
<RangeInfo>
<Min inclusive="true">0.0</Min>
</RangeInfo>
</Double>
<Int Name="steps-per-cycle" Label="Steps Per Cycle" AdvanceLevel="1" Version="0">
<Categories>
......@@ -108,40 +127,65 @@
</AttDef>
<AttDef Type="induction-coil" Label="Induction Coil" BaseType="" Version="0">
<ItemDefinitions>
<Int Name="nturns" Label="NTurms" Version="0">
<BriefDescription>Number of turns of the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Double Name="radius" Label="Radius" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="false">0.0</Min>
</RangeInfo>
</Double>
<Double Name="length" Label="Length" Optional="true" IsEnabledByDefault="false" Version="0">
<BriefDescription>Not required, nor meaningful, if NTruns is &gt; 1</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="false">0.0</Min>
</RangeInfo>
</Double>
<Double Name="center" Label="Center" NumberOfRequiredValues="3" Version="0">
<BriefDescription>The position of the center of the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<DefaultValue>0.0</DefaultValue>
</Double>
<Double Name="current" Label="Current" Extensible="true" NumberOfRequiredValues="1" Version="0">
<String Name="type" Label="Type" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<ChildrenDefinitions>
<Int Name="nturns" Label="NTurns" Version="0">
<BriefDescription>Number of turns of the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="true">2</Min>
</RangeInfo>
</Int>
<Double Name="radius" Label="Radius" Version="0">
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="false">0.0</Min>
</RangeInfo>
</Double>
<Double Name="length" Label="Length" Version="0">
<BriefDescription>Length of the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<RangeInfo>
<Min Inclusive="false">0.0</Min>
</RangeInfo>
</Double>
<Double Name="center" Label="Center" NumberOfRequiredValues="3" Version="0">
<BriefDescription>The position of the center of the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
</Categories>
<DefaultValue>0.0</DefaultValue>
</Double>
</ChildrenDefinitions>
<DiscreteInfo DefaultIndex="0">
<Structure>
<Value Enum="Single Turn">single</Value>
<Items>
<Item>center</Item>
<Item>radius</Item>
</Items>
</Structure>
<Structure>
<Value Enum="Multiple Turn">multiple</Value>
<Items>
<Item>nturns</Item>
<Item>center</Item>
<Item>radius</Item>
<Item>length</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
<Double Name="current" Label="Current" NumberOfRequiredValues="1" Version="0">
<BriefDescription>Amplitude of the sinusoidally-varying current in the coil</BriefDescription>
<Categories>
<Cat>Induction Heating</Cat>
......@@ -150,4 +194,4 @@
</ItemDefinitions>
</AttDef>
</Definitions>
</SMTK_AttributeResource>
\ No newline at end of file
</SMTK_AttributeResource>
......@@ -16,6 +16,8 @@ SMTK_AttributeResource(Version="3")
Categories #[Cat Induction Heating]
DefaultValue 1.0
String(Name="em-domain-type" Label="Domain Type" Version="0")
BriefDescription A flag specifying the type of domain geometry that is discretized
| by the computational mesh.
Categories #[Cat Induction Heating]
DiscreteInfo
Value(Enum="Full Cylinder") full-cylinder
......@@ -23,6 +25,8 @@ SMTK_AttributeResource(Version="3")
Value(Enum="Quarter Cylinder") quarter-cylinder
String(Name="symmetry-axis" Label="Symmetrix Axis" Verion="0")
BriefDescription A flag that specifies which axis is to be used as the problem
| symmetry axis for the Joule heat simulation.
Categories #[Cat Induction Heating]
DiscreteInfo(DefaultIndex=2)
Value(Enum="x") x
......@@ -30,10 +34,32 @@ SMTK_AttributeResource(Version="3")
Value(Enum="z") z
//- Todo source frequency and times are coupled
Double(Name="source-frequency" Label="Source Frequency" Extensible="true" NumberOfRequiredValues="1" Version="0")
Categories #[Cat Induction Heating]
Double(Name="source-times" Label="Source Times" Extensible="true" NumberOfRequiredValues="1" Version="0")
Categories #[Cat Induction Heating]
String(Name="source-type" Label="EM Source" Version="0")
BriefDescription Time-dependent source is not yet supported.
Categories #[Cat Induction Heating]
ChildrenDefinitions
Double(Name="constant-source-frequency" Label="Frequency")
BriefDescription Frequency (cycles per unit time) of the sinusoidally-varying
| magnetic source fields that drive the Joule heat calculation.
Categories #[Cat Induction Heating]
Double(Name="constant-uniform-source" Label="Uniform Source" AdvanceLevel="1" Version="0")
BriefDescription Amplitude of a sinusiodal-varying, uniform magnetic source field that
| drives the Joule heat computation.
Categories #[Cat Induction Heating]
DefaultValue 0.0
//- Todo time-dependent source
Double(Name="source-frequency" Label="Source Frequency" Extensible="true" NumberOfRequiredValues="1" Version="0")
Categories #[Cat Induction Heating]
Double(Name="source-times" Label="Source Times" Extensible="true" NumberOfRequiredValues="1" Version="0")
Categories #[Cat Induction Heating]
DiscreteInfo(DefaultIndex="0")
Structure
Value(Enum="Constant") constant
Items
Item constant-source-frequency
Item constant-uniform-source
Double(Name="cg-stopping-tolerance" Label="CG Stopping Tolerance" Version="0")
Categories #[Cat Induction Heating]
......@@ -43,13 +69,13 @@ SMTK_AttributeResource(Version="3")
Categories #[Cat Induction Heating]
DefaultValue 500
Double(Name="uniform-source" Label="Uniform Source" AdvanceLevel="1" Version="0")
Categories #[Cat Induction Heating]
DefaultValue 0.0
Double(Name="num etasq" Label="Num Etasq" AdvanceLevel="1" Version="0")
BriefDescription Used for the displacement current coefficient in the lower-frequency,
| nondimensional scaling of Maxwell's equations, when its value exceeds the physical value.
Categories #[Cat Induction Heating]
DefaultValue 1e-10
RangeInfo
Min(inclusive="true") 0.0
Int(Name="steps-per-cycle" Label="Steps Per Cycle" AdvanceLevel="1" Version="0")
Categories #[Cat Induction Heating]
......@@ -74,28 +100,46 @@ SMTK_AttributeResource(Version="3")
AttDef(Type="induction-coil" Label="Induction Coil" BaseType="" Version="0")
ItemDefinitions
Int(Name="nturns" Label="NTurms" Version="0")
BriefDescription Number of turns of the coil
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="true") 0
Double(Name="radius" Label="Radius" Version="0")
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="false") 0.0
Double(Name="length" Label="Length" Optional="true" IsEnabledByDefault="false" Version="0")
BriefDescription Not required, nor meaningful, if NTruns is &gt; 1
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="false") 0.0
Double(Name="center" Label="Center" NumberOfRequiredValues="3" Version="0")
BriefDescription The position of the center of the coil
Categories #[Cat Induction Heating]
DefaultValue 0.0
Double(Name="current" Label="Current" Extensible="true" NumberOfRequiredValues="1" Version="0")
String(Name="type" Label="Type" Version="0")
Categories #[Cat Induction Heating]
ChildrenDefinitions
Int(Name="nturns" Label="NTurns" Version="0")
BriefDescription Number of turns of the coil
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="true") 2
Double(Name="radius" Label="Radius" Version="0")
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="false") 0.0
Double(Name="length" Label="Length" Version="0")
BriefDescription Length of the coil
Categories #[Cat Induction Heating]
RangeInfo
Min(Inclusive="false") 0.0
Double(Name="center" Label="Center" NumberOfRequiredValues="3" Version="0")
BriefDescription The position of the center of the coil
Categories #[Cat Induction Heating]
DefaultValue 0.0
DiscreteInfo(DefaultIndex="0")
Structure
Value(Enum="Single Turn") single
Items
Item center
Item radius
Structure
Value(Enum="Multiple Turn") multiple
Items
Item nturns
Item center
Item radius
Item length
//- Todo handle time-dependent current
Double(Name="current" Label="Current" NumberOfRequiredValues="1" Version="0")
BriefDescription Amplitude of the sinusoidally-varying current in the coil
Categories #[Cat Induction Heating]
......@@ -25,7 +25,12 @@
</File>
<File Name="mesh-file" Label="Mesh File" ShouildExist="true"
FileFilters="Exodus files (*.exo *.ex2 *.gen);;All files (*.*)" Version="0">
<BriefDescription>(for reference) Exodus file to use with the output file</BriefDescription>
<BriefDescription>Mesh file used by all physics solvers other than induction heating.</BriefDescription>
</File>
<File Name="alt-mesh-file" Label="Alt Mesh File" Optional="true" IsEnabledByDefault="false"
ShouildExist="true"
FileFilters="Exodus files (*.exo *.ex2 *.gen);;All files (*.*)" Version="0">
<BriefDescription>Alternate mesh file used by the induction heating solver.</BriefDescription>
</File>
</ItemDefinitions>
</AttDef>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment