Commit 744d6c4c authored by John Tourtellott's avatar John Tourtellott

Next view revision

* Redo material/body into 3 parts: material library,
  material assignment, and initial conditions
* Moved General tab contents to Analysis tab
parent bf950d6c
......@@ -14,18 +14,7 @@
<MembershipMask>volume</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<Component Name="material-ref" Label="Material" NumberOfRequiredValues="1" Version="0">
<Accepts>
<Resource Name="smtk::attribute::Resource" Filter="attribute"></Resource>
</Accepts>
<Categories>
<Cat>Fluid Flow</Cat>
<Cat>Heat Transfer</Cat>
<Cat>Induction Heating</Cat>
<Cat>Solid Mechanics</Cat>
</Categories>
</Component>
<Double Name="temperature" Label="Temperature">
<Double Name="temperature" Label="Temperature" Optional="true" IsEnabledByDefault="true">
<BriefDescription>Initial temperature of the material body</BriefDescription>
<Categories>
<Cat>Fluid Flow</Cat>
......@@ -33,7 +22,7 @@
</Categories>
<ExpressionType>tabular-function</ExpressionType>
</Double>
<Double Name="velocity" Label="Velocity" NumberOfRequiredValues="3">
<Double Name="velocity" Label="Velocity" NumberOfRequiredValues="3" Optional="true" IsEnabledByDefault="false">
<BriefDescription>Initial velocity of the material body</BriefDescription>
<Categories>
<Cat>Fluid Flow</Cat>
......
......@@ -53,7 +53,7 @@ when estimating the next cycle time step.</BriefDescription>
<!-- Simulation Control-->
<AttDef Type="simulation-control" Label="Simulation Control" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<Group Name="simulation-control" Label="Simulation Control (for non-radiation only)" Optional="true" IsEnabledByDefault="false">
<Group Name="simulation-control" Label="Simulation Control" Optional="true" IsEnabledByDefault="false">
<BriefDescription>This item is superseded by the displacement sequence when
moving-enclosure radiation is enabled</BriefDescription>
<ItemDefinitions>
......
......@@ -17,23 +17,23 @@ SMTK_AttributeResource(Version="3")
NumberOfRequiredValues="0" Extensible="true")
MembershipMask volume
ItemDefinitions
Component(Name="material-ref" Label="Material" NumberOfRequiredValues="1" Version="0")
Accepts
Resource(Name="smtk::attribute::Resource" Filter="attribute")
Categories
Cat Fluid Flow
Cat Heat Transfer
Cat Induction Heating
Cat Solid Mechanics
//- Component(Name="material-ref" Label="Material" NumberOfRequiredValues="1" Version="0")
//- Accepts
//- Resource(Name="smtk::attribute::Resource" Filter="attribute")
//- Categories
//- Cat Fluid Flow
//- Cat Heat Transfer
//- Cat Induction Heating
//- Cat Solid Mechanics
Double(Name="temperature" Label="Temperature")
Double(Name="temperature" Label="Temperature" Optional="true" IsEnabledByDefault="true")
BriefDescription Initial temperature of the material body
Categories
Cat Fluid Flow
Cat Heat Transfer
ExpressionType tabular-function
Double(Name="velocity" Label="Velocity" NumberOfRequiredValues="3")
Double(Name="velocity" Label="Velocity" NumberOfRequiredValues="3" Optional="true" IsEnabledByDefault="false")
BriefDescription Initial velocity of the material body
Categories
Cat Fluid Flow
......
......@@ -48,7 +48,7 @@ SMTK_AttributeSystem(Version="2")
Version="0" Unique="true")
ItemDefinitions
Group(Name="simulation-control"
Label="Simulation Control (for non-radiation only)"
Label="Simulation Control"
Optional="true" IsEnabledByDefault="false")
BriefDescription
| This item is superseded by the displacement sequence when
......
......@@ -30,7 +30,7 @@
</Includes>
<Definitions>
<AttDef Type="configuration">
<AttDef Type="analysis">
<ItemDefinitions>
<Group Name="Heat Transfer" Optional="true" IsEnabledByDefault="false">
<ItemDefinitions>
......@@ -99,22 +99,32 @@
<View Type="Group" Title="TopLevel" TopLevel="true" TabPosition="North"
FilterByAdvanceLevel="true" FilterByCategory="false">
<Views>
<View Title="Configuration" />
<View Title="Analysis" />
<View Title="Selector SimBuilder" />
<View Title = "Export" />
<View Title="Material Assignment" />
<View Title="Body" />
<View Title="Globals" />
<View Title="Materials" />
</Views>
</View>
<View Type="Instanced" Title="Configuration" Label="Analysis">
<!-- <View Type="Instanced" Title="Analysis">
<InstancedAttributes>
<Att Name="config-att" Type="configuration"></Att>
<Att Name="analysis-att" Type="analysis"></Att>
</InstancedAttributes>
</View>
-->
<View Type="Group" Title="Analysis" Style="Tiled">
<Views>
<View Title="Modules" />
<View Title="General" />
</Views>
</View>
<View Type="Instanced" Title="Export">
<View Type="Instanced" Title="Modules">
<InstancedAttributes>
<Att Name="export-att" Type="export"></Att>
<Att Name="analysis-att" Type="analysis"></Att>
</InstancedAttributes>
</View>
......@@ -138,18 +148,14 @@
<View Type="Group" Title="Heat Transfer" TabPosition="North" TabIcons="false">
<Views>
<View Title="Materials"/>
<View Title="Boundary Conditions" />
<View Title="Solver" />
<View Title="Body" />
<View Title="Sources" />
<View Title="General" />
<View Title="Globals" />
<!--View Title="Functions"/-->
</Views>
</View>
<View Type="Group" Title="Materials" Style="Tiled">
<View Type="Group" Title="Materials" Label="Library" Style="Tiled">
<Views>
<View Title="Background Material" />
<View Title="Material" />
......@@ -166,6 +172,9 @@
</AttributeTypes>
</View>
<View Type="Instanced" Title="Material Assignment" Label="Materials">
</View>
<View Type="Group" Title="Boundary Conditions" TabPosition="North" TabIcon="false">
<Views>
<View Title="Thermal Boundary Conditions"/>
......@@ -189,7 +198,7 @@
</InstancedAttributes>
</View>
<View Type="ModelEntity" Title="Body" ModelEntityFilter="volume" ColHeader2="Body">
<View Type="ModelEntity" Title="Body" Label="Initial Conditions" ModelEntityFilter="volume" ColHeader2="Body">
<AttributeTypes>
<Att Name="body" Type="body" />
</AttributeTypes>
......
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