Commit 65fa6bc4 authored by John Tourtellott's avatar John Tourtellott

Next view revision, based on review 27-Nov-2018

* Change Materials tab to group view with 2 subtabs for specification and
  assignment, respectively.
* Change Modules tab to group view with subtab for each of the 5 modules.
  In practice, tab visibility will be set in the new/tbd analysis view.
* Change Initial Conditions tab to group view with subtabs for temperature
  and velocity.
parent 744d6c4c
<SMTK_AttributeSystem Version="2">
<Categories>
<Cat>Fluid Flow</Cat>
<Cat>Heat Transfer</Cat>
<Cat>Solid Mechanics</Cat>
</Categories>
<Definitions>
<AttDef Type="TemperatureInitialCondition" Label="Temperature">
<AssociationsDef Name="DSSourceAssociations" Version="0" NumberOfRequiredValues="0" Extensible="true">
<MembershipMask>volume</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<Double Name="temperature" Label="Temperature" NumberOfRequiredValues="1">
<BriefDescription>Initial temperature of the material body</BriefDescription>
<Categories>
<Cat>Fluid Flow</Cat>
<Cat>Heat Transfer</Cat>
<Cat>Solid Mechanics</Cat>
</Categories>
<ExpressionType>tabular-function</ExpressionType>
</Double>
</ItemDefinitions>
</AttDef>
<AttDef Type="VelocityInitialCondition" Label="Temperature">
<AssociationsDef Name="DSSourceAssociations" Version="0" NumberOfRequiredValues="0" Extensible="true">
<MembershipMask>volume</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<Double Name="velocity" Label="Velocity" NumberOfRequiredValues="3">
<BriefDescription>Initial velocity of the material body</BriefDescription>
<Categories>
<Cat>Fluid Flow</Cat>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0.0</DefaultValue>
</Double>
</ItemDefinitions>
</AttDef>
</Definitions>
</SMTK_AttributeSystem>
......@@ -27,6 +27,7 @@
<File>internal/templates/body-source-probe.sbt</File>
<File>internal/templates/enclosure.sbt</File>
<File>internal/templates/other.sbt</File>
<File>internal/templates/initial-conditions.sbt</File>
</Includes>
<Definitions>
......@@ -100,35 +101,29 @@
FilterByAdvanceLevel="true" FilterByCategory="false">
<Views>
<View Title="Analysis" />
<View Title="Selector SimBuilder" />
<View Title="Material Assignment" />
<!--View Title="Selector SimBuilder" /-->
<View Title="Materials" />
<View Title="SimBuilderModules" />
<!--View Title="Material Assignment" /-->
<View Title="Body" />
<View Title="Globals" />
<View Title="Materials" />
</Views>
</View>
<!-- <View Type="Instanced" Title="Analysis">
<InstancedAttributes>
<Att Name="analysis-att" Type="analysis"></Att>
</InstancedAttributes>
</View>
-->
<View Type="Group" Title="Analysis" Style="Tiled">
<Views>
<View Title="Modules" />
<View Title="SelectModules" />
<View Title="General" />
</Views>
</View>
<View Type="Instanced" Title="Modules">
<View Type="Instanced" Name="SelectModules" Label="Select Modules">
<InstancedAttributes>
<Att Name="analysis-att" Type="analysis"></Att>
</InstancedAttributes>
</View>
<View Type="Category" Title="SimBuilder" TopLevel="false"
<!-- <View Type="Category" Title="SimBuilder" TopLevel="false"
FilterByAdvanceLevel="true" FilterByCategoryMode="alwaysOn" FilterByCategoryLabel="Modules">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
......@@ -137,14 +132,34 @@
<View Title="Heat Transfer" Category="Heat Transfer" />
</Views>
</View>
<View Type="Selector" Name="Selector SimBuilder" Label="Modules" SelectorName="ModuleSelectorItem" SelectorType="ModuleSelectorAtt">
-->
<View Type="Group" Name="SimBuilderModules" Label="Modules" TabPosition="North">
<Views>
<View Title="Heat Transfer" Enum="Heat Transfer"></View>
<View Title="Enclosure Radiation" Enum="Enclosure Radiation"></View>
<View Title="Enclosure Radiation" />
<View Title="Fluid Flow" />
<View Title="Heat Transfer" />
<View Title="Induction Heating" />
<View Title="Solid Mechanics" />
</Views>
</View>
<View Type="Instanced" Name="Enclosure Radiation">
<InstancedAttributes>
<!--Att Name="enclosure-radiation" Type="enclosure-radiation" /-->
</InstancedAttributes>
</View>
<View Type="Instanced" Name="Fluid Flow">
<InstancedAttributes>
</InstancedAttributes>
</View>
<View Type="Instanced" Name="Induction Heating">
<InstancedAttributes>
</InstancedAttributes>
</View>
<View Type="Instanced" Name="Solid Mechanics">
<InstancedAttributes>
</InstancedAttributes>
</View>
<View Type="Group" Title="Heat Transfer" TabPosition="North" TabIcons="false">
<Views>
......@@ -155,10 +170,11 @@
</Views>
</View>
<View Type="Group" Title="Materials" Label="Library" Style="Tiled">
<View Type="Group" Title="Materials" TabPosition="North">
<Views>
<View Title="Background Material" />
<!--View Title="Background Material" /-->
<View Title="Material" />
<View Title="Material Assignment" />
</Views>
</View>
<View Type="Instanced" Title="Background Material">
......@@ -166,13 +182,13 @@
<Att Name="Background Material" Type="background-material" />
</InstancedAttributes>
</View>
<View Type="Attribute" Title="Material">
<View Type="Attribute" Title="Material" Label="Specification">
<AttributeTypes>
<Att Type="material"/>
</AttributeTypes>
</View>
<View Type="Instanced" Title="Material Assignment" Label="Materials">
<View Type="Instanced" Title="Material Assignment" Label="Assignment">
</View>
<View Type="Group" Title="Boundary Conditions" TabPosition="North" TabIcon="false">
......@@ -198,9 +214,22 @@
</InstancedAttributes>
</View>
<View Type="ModelEntity" Title="Body" Label="Initial Conditions" ModelEntityFilter="volume" ColHeader2="Body">
<View Type="Group" Title="Body" Label="Initial Conditions" TabPosition="North">
<Views>
<View Title="Temperature IC" />
<View Title="Velocity IC" />
</Views>
</View>
<View Type="Attribute" Name="Temperature IC" Label="Temperature">
<AttributeTypes>
<Att Type="TemperatureInitialCondition" />
</AttributeTypes>
</View>
<View Type="Attribute" Name="Velocity IC" Label="Velocity">
<AttributeTypes>
<Att Name="body" Type="body" />
<Att Type="VelocityInitialCondition" />
</AttributeTypes>
</View>
......
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