Commit 4ef4824d authored by John Tourtellott's avatar John Tourtellott
Browse files

Copy workflow files from simulation-workflows:master

Git history not included
parent 04568c8f
This diff is collapsed.
<?xml version="1.0"?>
<SMTK_AttributeSystem Version="2">
<!--********** Category and Analysis Information ***********-->
<Categories>
<Cat>Omega3P</Cat>
<Cat>S3P</Cat>
<Cat>T3P</Cat>
<Cat>Track3P</Cat>
<Cat>TEM3P-Eigen</Cat>
<Cat>TEM3P-Harmonic</Cat>
<Cat>TEM3P-Elastic</Cat>
<Cat>TEM3P-Linear-Thermal</Cat>
<Cat>TEM3P-Nonlinear-Thermal</Cat>
<Cat>TEM3P-ThermoElastic</Cat>
</Categories>
<Analyses>
<Analysis Type="Omega3P Analysis">
<Cat>Omega3P</Cat>
</Analysis>
<Analysis Type="S3P Analysis">
<Cat>S3P</Cat>
</Analysis>
<Analysis Type="T3P Analysis">
<Cat>T3P</Cat>
</Analysis>
<Analysis Type="Track3P Analysis">
<Cat>Track3P</Cat>
</Analysis>
<Analysis Type="TEM3P Eigenmode">
<Cat>TEM3P-Eigen</Cat>
</Analysis>
<Analysis Type="TEM3P Elastic">
<Cat>TEM3P-Elastic</Cat>
</Analysis>
<Analysis Type="TEM3P Harmonic Response">
<Cat>TEM3P-Harmonic</Cat>
</Analysis>
<Analysis Type="TEM3P Thermal Linear">
<Cat>TEM3P-Linear-Thermal</Cat>
</Analysis>
<Analysis Type="TEM3P Thermal Nonlinear">
<Cat>TEM3P-Nonlinear-Thermal</Cat>
</Analysis>
<Analysis Type="TEM3P ThermoElastic">
<Cat>TEM3P-ThermoElastic</Cat>
</Analysis>
</Analyses>
<!--********** Include files ***********-->
<!-- One include file with definitions per tab -->
<!-- Must load boundaryconditions before analysis, for AttributeRef -->
<Includes>
<File>internal/templates/beamloading.sbt</File>
<File>internal/templates/boundarycondition.sbt</File>
<File>internal/templates/loading.sbt</File>
<File>internal/templates/material.sbt</File>
<File>internal/templates/monitor.sbt</File>
<File>internal/templates/analysis.sbt</File>
<File>internal/templates/track3p.sbt</File>
<File>internal/templates/tem3p.sbt</File>
</Includes>
<!--********** Workflow Views ***********-->
<Views>
<View Type="Category" Title="SimBuilder" TopLevel="true"
FilterByAdvanceLevel="false" FilterByCategoryMode="alwaysOn" FilterByCategoryLabel="Module">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<AdvancedFontEffects />
<Views>
<View Title="O3P S3P" Category="Omega3P"/>
<View Title="O3P S3P" Category="S3P"/>
<View Title="T3P" Category="T3P"/>
<View Title="Track3P" Category="Track3P" />
<View Title="TEM3P Harmonic Response" Category="TEM3P-Harmonic" />
<View Title="TEM3P Eigenmode" Category="TEM3P-Eigen" />
<View Title="TEM3P Elastic" Category="TEM3P-Elastic" />
<View Title="TEM3P Thermal Linear" Category="TEM3P-Linear-Thermal" />
<View Title="TEM3P Thermal Nonlinear" Category="TEM3P-Nonlinear-Thermal" />
<View Title="TEM3P ThermoElastic" Category="TEM3P-ThermoElastic" />
</Views>
</View>
<!-- First level views -->
<View Type="Group" Title="O3P S3P" TabPosition="North" TabIcons="false">
<Views>
<View Title="EMBC" />
<View Title="EM Materials" />
<View Title="EM Analysis" />
</Views>
</View>
<View Type="Group" Title="T3P" TabPosition="North" TabIcons="false">
<Views>
<View Title="EMBC" />
<View Title="EM Materials" />
<View Title="EM Analysis" />
<View Title="Beam Info" />
<View Title="Loading" />
<View Title="Monitors" />
</Views>
</View>
<View Type="Group" Title="Track3P" TabPosition="North" TabIcons="false">
<Views>
<View Title="Domain" />
<View Title="Field"/>
<View Title="Particles"/>
<!-- <View Title="Track3P BC" /> -->
<View Title="Track3P Material Model" />
<View Title="Postprocess"/>
<!-- <View Title="SEY Curves"/> -->
</Views>
</View>
<View Type="Group" Title="TEM3P Harmonic Response" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Mechanical BC" />
<View Title="TEM3P Elastic Material" />
<View Title="TEM3P Elastic Analysis"/>
</Views>
</View>
<View Type="Group" Title="TEM3P Eigenmode" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Mechanical BC" />
<View Title="TEM3P Elastic Material" />
<View Title="TEM3P Elastic Analysis"/>
<View Title="Mesh Output" />
</Views>
</View>
<View Type="Group" Title="TEM3P Elastic" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Mechanical BC" />
<View Title="TEM3P Elastic Material" />
<View Title="TEM3P Elastic Analysis"/>
<View Title="Mesh Output" />
</Views>
</View>
<View Type="Group" Title="TEM3P Thermal Linear" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Thermal BC" />
<View Title="Thermal Shells" />
<View Title="TEM3P Thermal Material" />
<View Title="Heat Sources" />
<View Title="TEM3P Thermal Analysis"/>
</Views>
</View>
<View Type="Group" Title="TEM3P Thermal Nonlinear" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Thermal BC" />
<View Title="Thermal Shells" />
<View Title="TEM3P Thermal Material" />
<View Title="Heat Sources" />
<View Title="TEM3P Thermal Analysis"/>
</Views>
</View>
<View Type="Group" Title="TEM3P ThermoElastic" TabPosition="North" TabIcons="false">
<Views>
<View Title="TEM3P Elastic" />
<View Title="TEM3P Thermal Nonlinear" />
</Views>
</View>
<!-- EM Views (O3P, S3P, T3P) -->
<View Type="Group" Title="EMBC" Label="Boundary Conditions" Style="Tiled">
<Views>
<!-- Hide HFormulation per SLAC request -->
<!--View Title="HFormulation" / -->
<View Title="Surface Properties" />
</Views>
</View>
<View Type="Instanced" Title="HFormulation">
<InstancedAttributes>
<Att Name="HForumulation" Type="HFormulation" />
</InstancedAttributes>
</View>
<!-- <View Type="Attribute" Title="Surface Properties" ModelEntityFilter="f">
<AttributeTypes>
<Att Type="SurfaceProperty" />
</AttributeTypes>
</View>
-->
<View Type="ModelEntity" Title="Surface Properties" ModelEntityFilter="f">
<AttributeTypes>
<Att Type="SurfaceProperty" />
</AttributeTypes>
</View>
<View Type="Attribute" Title="EM Materials" Label="Materials">
<AttributeTypes>
<Att Type="Material" />
</AttributeTypes>
</View>
<View Type="Group" Title="EM Analysis" Label="Analysis" Style="Tiled">
<Views>
<!--View Title="Tolerant" /-->
<View Title="Finite Element" />
<View Title="Moving Window" />
<View Title="Frequency Information" />
<View Title="Post Process" />
<View Title="High Order Regions" />
</Views>
</View>
<View Type="Instanced" Title="Tolerant">
<InstancedAttributes>
<Att Name="Tolerant" Type="Tolerant" />
</InstancedAttributes>
</View>
<View Type="Instanced" Title="Finite Element">
<InstancedAttributes>
<Att Name="Finite Element Info" Type="FEInfo" />
</InstancedAttributes>
</View>
<View Type="Instanced" Title="Moving Window">
<InstancedAttributes>
<Att Name="MovingWindow" Type="MovingWindow" />
</InstancedAttributes>
</View>
<View Type="Instanced" Title="Frequency Information">
<InstancedAttributes>
<Att Name="EigenSolver" Type="FrequencyInfo" />
</InstancedAttributes>
</View>
<View Type="Instanced" Title="Post Process">
<InstancedAttributes>
<Att Name="PostProcess" Type="PostProcess" />
</InstancedAttributes>
</View>
<View Type="Attribute" Title="High Order Regions" ModelEntityFilter="r">
<AttributeTypes>
<Att Type="RegionHighOrder" />
</AttributeTypes>
</View>
<!-- T3P Specific Views -->
<View Type="Attribute" Title="Beam Info">
<AttributeTypes>
<Att Type="BeamLoading" />
</AttributeTypes>
</View>
<View Type="Attribute" Title="Loading">
<AttributeTypes>
<Att Type="Loading" />
</AttributeTypes>
</View>
<View Type="Attribute" Title="Monitors">
<AttributeTypes>
<Att Type="Monitor" />
</AttributeTypes>
</View>
<!-- Track3P-specific views are in templates/track3p.sbt -->
<!-- TEM3P-specific views are in templates/tem3p.sbt -->
</Views>
</SMTK_AttributeSystem>
import writers
reload(writers)
<?xml version="1.0"?>
<SMTK_AttributeResource Version="3">
<Definitions>
<AttDef Type="ace3p-export" BaseType="operation" Label="Export to ACE3P" Version="1">
<BriefDescription>
Write ACE3P input file for selected program.
</BriefDescription>
<DetailedDescription>
</DetailedDescription>
<ItemDefinitions>
<Resource Name="model" Label="Model" LockType="DoNotLock">
<Accepts>
<Resource Name="smtk::model::Resource" />
</Accepts>
</Resource>
<Resource Name="attributes" Label="Attributes">
<Accepts>
<Resource Name="smtk::attribute::Resource"/>
</Accepts>
</Resource>
<File Name="MeshFile" Label="Mesh File" ShouldExist="True"
FileFilters="Exodus files (*.exo *.ex2 *.gen);;NetCDf files (*.ncdf);; All files (*.*)" Version="0"/>
<String Name="Analysis" Label="ACE3P Analysis" Version="0">
<ChildrenDefinitions>
<Directory Name="OutputFolder" Label="Export Folder" Version="0">
<BriefDescription>The folder to use on the local filesystem</BriefDescription>
</Directory>
<String Name="OutputFilePrefix" Label="Filename prefix" Version="0">
<BriefDescription>The prefix to use for generated files</BriefDescription>
</String>
<String Name="AcdtoolTask" Label="Acdtool Task" Version="0">
<ChildrenDefinitions>
<String Name="AcdtoolMesh" Label="Mesh Task" Version="0">
<ChildrenDefinitions>
<String Name="OutputFilename" Label="Output filename" Version="0">
<BriefDescription>Filename for the generated .ncdf file</BriefDescription>
<DefaultValue>outputmesh.ncdf</DefaultValue>
</String>
</ChildrenDefinitions>
<DiscreteInfo>
<Value Enum="Stats">stats</Value>
<Value Enum="Check">check</Value>
<Structure>
<Value Enum="Fix">fix</Value>
<Items>
<Item>OutputFilename</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
</ChildrenDefinitions>
<DiscreteInfo>
<Value Enum="meshconvert">meshconvert</Value>
<Structure>
<Value Enum="mesh">mesh</Value>
<Items>
<Item>AcdtoolMesh</Item>
</Items>
</Structure>
<!--
<Value Enum="postprocess">postprocess</Value>
-->
</DiscreteInfo>
</String>
</ChildrenDefinitions>
<DiscreteInfo>
<Value Enum="">none</Value>
<Structure>
<Value Enum="Acdtool">acdtool</Value>
<Items>
<Item>AcdtoolTask</Item>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="Omega3P">omega3p</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="S3P">s3p</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="T3P">t3p</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="Track3P">track3p</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P Eigenmode">tem3p-eigen</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P Elastic">tem3p-structure</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P Harmonic Response">tem3p-harmonic</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P Thermal Linear">tem3p-thermal-linear</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P Thermal Nonlinear">tem3p-thermal-nonlinear</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
<Structure>
<Value Enum="TEM3P ThermoElastic">tem3p-thermo-elastic</Value>
<Items>
<Item>OutputFolder</Item>
<Item>OutputFilePrefix</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
<Group Name="NERSCSimulation" Label="Submit job to NERSC"
Optional="true" IsEnabledByDefault="false"
Version="1" NumberOfRequiredGroups="1">
<ItemDefinitions>
<String Name="JobName" Label="Job name" Version="0">
<BriefDescription>Label you can use to track your job</BriefDescription>
<DefaultValue>ACE3P</DefaultValue>
</String>
<String Name="JobNotes" Label="Notes" Version="0" MultipleLines="true">
<BriefDescription>Optional notes you want to save with this job</BriefDescription>
<DefaultValue> </DefaultValue>
</String>
<String Name="CumulusHost" Label="Cumulus host" Version="0">
<DefaultValue>http://localhost:8080</DefaultValue>
</String>
<String Name="NERSCRepository" Label="Project repository" Version="0" />
<String Name="NERSCAccountName" Label="NERSC account name" Version="0" />
<String Name="NERSCAccountPassword" Label="NERSC account password"
Secure="true" Version="0" />
<String Name="Machine" Label="NERSC Machine" Version="0">
<DiscreteInfo DefaultIndex="0">
<Value Enum="Cori (Cray XC40)">cori</Value>
<Value Enum="Edison (Cray XC30)">edison</Value>
</DiscreteInfo>
</String>
<Group Name="JobDirectory" Label="Job directory" Version="1" NumberOfRequiredGroups="1" Enabled="true">
<BriefDescription>The working directory to use on the NERSC machine.</BriefDescription>
<ItemDefinitions>
<String Name="FileSystem" Label="File System" Version="0">
<ChildrenDefinitions>
<String Name="SubFolder" Label="Subfolder" Version="0">
<BriefDescription>Relative path from user's $SCRATCH directory</BriefDescription>
</String>
<Void Name="AppendJobNameFolder" Label="Append Job Name Folder" Version="0"
Optional="true" IsEnabledByDefault="true">
<BriefDescription>Adds a folder with the job name to the specified path</BriefDescription>
</Void>
<String Name="FullPath" Label="Full Path" Version="0">
<BriefDescription>Absolute path on NERSC machine</BriefDescription>
</String>
</ChildrenDefinitions>
<DiscreteInfo DefaultIndex = "0">
<Structure>
<Value Enum="$SCRATCH">scratch</Value>
<Items>
<Item>SubFolder</Item>
<Item>AppendJobNameFolder</Item>
</Items>
</Structure>
<Structure>
<Value Enum="Other">other</Value>
<Items>
<Item>FullPath</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
</ItemDefinitions>
</Group>
<String Name="Queue" Label="Queue" Version="0">
<DiscreteInfo DefaultIndex="0">
<Value Enum="debug">debug</Value>
<Value Enum="regular">normal</Value>
<Value Enum="premium">premium</Value>
<Value Enum="low priority">low</Value>
<Value Enum="scavenger">scavenger</Value>
</DiscreteInfo>
</String>
<Int Name="NumberOfNodes" Label="Number of nodes" Version="0">
<DefaultValue>1</DefaultValue>
<RangeInfo><Min Inclusive="true">1</Min></RangeInfo>
</Int>
<!-- Note that SLAC calls this number of "cores" -->
<Int Name="NumberOfTasks" Label="Number of cores" Version="0">
<BriefDescription>Number of processes per node</BriefDescription>
<DefaultValue>1</DefaultValue>
<RangeInfo><Min Inclusive="true">1</Min></RangeInfo>
</Int>
<Int Name="Timeout" Label="Time limit" Units="min" Version="0">
<DefaultValue>5</DefaultValue>
<RangeInfo><Min Inclusive="true">1</Min></RangeInfo>
</Int>
<!-- <String Name="TailFile" Label="Tail Filename" Version="0" AdvanceLevel="1">
</String>
--> </ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Instanced" Title="Export Settings" TopLevel="true" FilterByCategory="false" FilterByAdvanceLevel="true">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeResource>
Name,Density,PoissonRatio,YoungsModulus,ThermalExpansionCoefficient,ElectricConductivity,Material,Temp
"Nb, 2K",8700,0.38,1.18E+11,,,Nb,2K
"Nb, 293K",8570,6.50E-06,1.05E+11,,,Nb,293K
"Nb-Ti, 2K",5700,0.33,6.83E+10,,,NbTi,2K
"Nb-Ti, 293K",5700,0.33,6.21E+10,,,NbTi,293K
"Ti, 2K",4540,0.37,1.17E+11,,,Ti,2K
"Ti, 293K",4540,0.37,1.06E+11,,,Ti,293K
"Stainless Steel, 2K",8000,0.29,1.93E+11,,,StainlessSteel,2K
"Stainless Steel, 293K",8000,0.29,1.95E+11,,,StainlessSteel,293K
"Copper, 293K",8960,0.34,1.17E+11,1.70E-05,5.96E+07,Copper,293K
-10 2.1 2.54
2.1 300 10^(0.07918+1.0957*log10(T)-0.07277*(log10(T))^2+0.08084*(log10(T))^3+0.02803*(log10(T))^4-0.09464*(log10(T))^5+0.04179*(log10(T))^6-0.00571*(log10(T))^7+0.0*(log10(T))^8)
300 10000 155.32
-1 2 20
2 4 34
4 300 10^(22.401433-141.13433*log10(T)+394.95461*(log10(T))^2-601.15377*(log10(T))^3+547.83202*(log10(T))^4-305.99691*(log10(T))^5+102.38656*(log10(T))^6-18.810237*(log10(T))^7+1.4576882*(log10(T))^8)
300 1000 200
-10 2.0 0.1
2.0 300 0.64*10^(-2.26487+5.73102*log10(T)-6.7601*(log10(T))^2+5.96778*(log10(T))^3-1.75221*(log10(T))^4-0.171282*(log10(T))^5-0.0177992*(log10(T))^6+0.0856919*(log10(T))^7-0.0159493*(log10(T))^8)
300 1000 36*0.64
-10000 4.0 60
4.0 6.0 100
6.0 7.0 125
7.0 8.0 150
8.0 9.0 170
9.0 10.0 195
10.0 20.0 410
20.0 30.0 555
30.0 40.0 620
40.0 50.0 610
50.0 60.0 580
60.0 70.0 520
70.0 80.0 480
80.0 90.0 455
90.0 100.0 430
100.0 150.0 410
150.0 200.0 400
200.0 300.0 390
300.0 10000. 390
-10000 2.0 393
2.0 300 10^((2.2154+(-0.88068)*T^0.5+0.29505*T^1.0+(-0.048310)*T^1.5+0.0032070*T^2.0)/(1+(-0.47461)*T^0.5+0.13871*T^1.0+(-0.02043)*T^1.5+0.0012810*T^2.0))
300 10000 396.3
1.0 2.0 94.635
2.0 3.0 141.945
3.0 4.0 189.233
4.0 5.0 236.474
5.0 6.0 283.629
6.0 7.0 330.643
7.0 8.0 377.442
8.0 9.0 423.931