Commit 74a19595 authored by John Tourtellott's avatar John Tourtellott

Add strawman functions for conductivity, intial temp, specific heat

Also add RootName to attributes with extended type strings
parent 17acd732
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<!-- Attribute definitions --> <!-- Attribute definitions -->
<Includes> <Includes>
<!-- Note: order is important, e.g., put expressions first --> <!-- Note: order is important, e.g., put expressions first -->
<File>internal/templates/functions.sbt</File>
<File>internal/templates/tabular-function.sbt</File> <File>internal/templates/tabular-function.sbt</File>
<File>internal/templates/material.sbt</File> <File>internal/templates/material.sbt</File>
<File>internal/templates/thermal-surface-condition.sbt</File> <File>internal/templates/thermal-surface-condition.sbt</File>
...@@ -151,14 +152,8 @@ ...@@ -151,14 +152,8 @@
<Views> <Views>
<View Title="Material" /> <View Title="Material" />
<View Title="Material Assignment Group" /> <View Title="Material Assignment Group" />
<View Title="Background Material" />
</Views> </Views>
</View> </View>
<View Type="Instanced" Title="Background Material">
<InstancedAttributes>
<Att Name="Background Material" Type="background-material" />
</InstancedAttributes>
</View>
<View Type="Attribute" Title="Material" Label="Specification" HideAssociations="true"> <View Type="Attribute" Title="Material" Label="Specification" HideAssociations="true">
<AttributeTypes> <AttributeTypes>
<Att Type="material"/> <Att Type="material"/>
...@@ -170,6 +165,11 @@ ...@@ -170,6 +165,11 @@
<View Title="Material Assignment" /> <View Title="Material Assignment" />
</Views> </Views>
</View> </View>
<View Type="Instanced" Title="Background Material" Label="Default Material">
<InstancedAttributes>
<Att Name="Background Material" Type="background-material" />
</InstancedAttributes>
</View>
<View Type="Associations" Title="Material Assignment" Label="Element Block Assignment"> <View Type="Associations" Title="Material Assignment" Label="Element Block Assignment">
<AttributeTypes> <AttributeTypes>
<Att Type="material" /> <Att Type="material" />
...@@ -211,8 +211,10 @@ ...@@ -211,8 +211,10 @@
<Att Type="probe" /> <Att Type="probe" />
</AttributeTypes> </AttributeTypes>
</View> </View>
<View Type="SimpleExpression" Title="Functions"> <View Type="Attribute" Title="Functions">
<Att Type="tabular-function"/> <AttributeTypes>
<Att Type="fn" />
</AttributeTypes>
</View> </View>
<View Type="Instanced" Title="General"> <View Type="Instanced" Title="General">
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
# List of pug templates to render # List of pug templates to render
declare -a names=( \ declare -a names=( \
"functions"
"body-source-probe" \ "body-source-probe" \
"boundary-condition" \ "boundary-condition" \
"thermal-surface-condition" \ "thermal-surface-condition" \
......
<?xml version="1.0" encoding="utf-8" ?>
<SMTK_AttributeResource Version="3">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<!-- Attribute definitions for item-specific functions-->
<Definitions>
<AttDef Type="fn" BaseType="" Abstract="true" Version="0"></AttDef>
<!-- Specific Heat-->
<AttDef Type="fn/specific-heat" Label="Specific Heat" BaseType="fn" RootName="SpecificHeatFn" Version="0">
<ItemDefinitions>
<String Name="type" Label="Function Type" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<ChildrenDefinitions>
<String Name="interpolation" Label="Interpolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>linear</Value>
<Value>akima</Value>
</DiscreteInfo>
</String>
<String Name="extrapolation" Label="Extrapolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>nearest</Value>
<Value>linear</Value>
</DiscreteInfo>
</String>
<Group Name="tabular-values" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="X" Label="Temp" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
<Double Name="Value" Label="Specific Heat" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
</ItemDefinitions>
</Group>
<Double Name="center" Label="Center Temperature">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Group Name="polynomial-terms" Label="Polynomial Terms f(Temp)" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="Coefficient" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
<Int Name="Exponent (Temp)" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Int>
</ItemDefinitions>
</Group>
</ChildrenDefinitions>
<DiscreteInfo>
<Structure>
<Value Enum="Polynomial"></Value>
<Items>
<Item>center</Item>
<Item>polynomial-terms</Item>
</Items>
</Structure>
<Structure>
<Value Enum="Tabular"></Value>
<Items>
<Item>interpolation</Item>
<Item>extrapolation</Item>
<Item>tabular-values</Item>
</Items>
</Structure>
</DiscreteInfo>
</String>
</ItemDefinitions>
</AttDef>
<!-- Thermal Conductivity-->
<AttDef Type="fn/conductivity" BaseType="fn" Abstract="true" Version="0"></AttDef>
<AttDef Type="fn/conductivity/tabular" Label="Conductivity - Tabular" BaseType="fn/conductivity" RootName="ConductivityFn" Version="0">
<ItemDefinitions>
<String Name="Interpolation" Label="Interpolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>linear</Value>
<Value>akima</Value>
</DiscreteInfo>
</String>
<String Name="Extrapolation" Label="Extrapolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>nearest</Value>
<Value>linear</Value>
</DiscreteInfo>
</String>
<Group Name="ValuePairs" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="X" Label="Temp" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
<Double Name="Value" Label="Conductivity" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<AttDef Type="fn/conductivity/poly" Label="Conductivity - Polynomial" BaseType="fn/conductivity" RootName="ConductivityFn" Version="0">
<ItemDefinitions>
<Double Name="Center" Label="Center Temperature">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Group Name="ValuePairs" Label="Polynomial Terms f(Temp)" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="Coefficient" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
<Int Name="Exponent" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Int>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<!-- Initial Temperature-->
<AttDef Type="fn/temperature" BaseType="fn" Abstract="true" Version="0"></AttDef>
<AttDef Type="fn/temperature/tabular" Label="Initial Temperature - Tabular" BaseType="fn/temperature" RootName="TemperatureFn" Version="0">
<ItemDefinitions>
<String Name="Interpolation" Label="Interpolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>linear</Value>
<Value>akima</Value>
</DiscreteInfo>
</String>
<String Name="Extrapolation" Label="Extrapolation Method" Version="0">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DiscreteInfo DefaultIndex="0">
<Value>nearest</Value>
<Value>linear</Value>
</DiscreteInfo>
</String>
<Group Name="Data" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="X" Label="X:" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Double Name="Y" Label="Y:" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Double Name="Z" Label="Z:" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Double Name="Value" Label="Temperature" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<AttDef Type="fn/temperature/poly" Label="Initial Temperature - Polynomial" BaseType="fn/temperature" RootName="TemperatureFn" Version="0">
<ItemDefinitions>
<Double Name="Center" Label="Center Temperature">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<DefaultValue>0</DefaultValue>
</Double>
<Group Name="Data" Label="Polynomial Terms f(x,y,z)" Extensible="true" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="Coefficient" NumberOfRequiredValues="1">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
</Double>
<Int Name="Exponent" Label="Exponents (x,y,z)" NumberOfRequiredValues="3">
<Categories>
<Cat>Heat Transfer</Cat>
</Categories>
<ComponentLabels>
<Label>X</Label>
<Label>Y</Label>
<Label>Z</Label>
</ComponentLabels>
<DefaultValue>0</DefaultValue>
</Int>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
</Definitions>
</SMTK_AttributeResource>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<Cat>Heat Transfer</Cat> <Cat>Heat Transfer</Cat>
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<ExpressionType>tabular-function</ExpressionType> <ExpressionType>fn/temperature</ExpressionType>
</Double> </Double>
</ItemDefinitions> </ItemDefinitions>
</AttDef> </AttDef>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Definitions> <Definitions>
<AttDef Type="background-material" Label="Background Material" BaseType="" Version="0" Unique="true"> <AttDef Type="background-material" Label="Background Material" BaseType="" Version="0" Unique="true">
<ItemDefinitions> <ItemDefinitions>
<Component Name="background-material" Label="Background Material" NumberOfRequiredValues="1" Unique="true" Version="1"> <Component Name="background-material" Label="Select" NumberOfRequiredValues="1" Unique="true" Version="1">
<Accepts> <Accepts>
<Resource Name="smtk::attribute::Resource" Filter="attribute[type='material']"/> <Resource Name="smtk::attribute::Resource" Filter="attribute[type='material']"/>
</Accepts> </Accepts>
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<DefaultValue>0.0</DefaultValue> <DefaultValue>0.0</DefaultValue>
<ExpressionType>tabular-function</ExpressionType>
<RangeInfo> <RangeInfo>
<Min Inclusive="true">0.0</Min> <Min Inclusive="true">0.0</Min>
</RangeInfo> </RangeInfo>
...@@ -54,6 +53,7 @@ density from the reference density</BriefDescription> ...@@ -54,6 +53,7 @@ density from the reference density</BriefDescription>
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<DefaultValue>0.0</DefaultValue> <DefaultValue>0.0</DefaultValue>
<ExpressionType>tabular-function</ExpressionType>
</Double> </Double>
<Double Name="conductivity" Label="Conductivity (K)"> <Double Name="conductivity" Label="Conductivity (K)">
<BriefDescription>Thermal conductivity of the material phase</BriefDescription> <BriefDescription>Thermal conductivity of the material phase</BriefDescription>
...@@ -63,7 +63,7 @@ density from the reference density</BriefDescription> ...@@ -63,7 +63,7 @@ density from the reference density</BriefDescription>
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<DefaultValue>0.0</DefaultValue> <DefaultValue>0.0</DefaultValue>
<ExpressionType>tabular-function</ExpressionType> <ExpressionType>fn/conductivity</ExpressionType>
<RangeInfo> <RangeInfo>
<Min Inclusive="true">0.0</Min> <Min Inclusive="true">0.0</Min>
</RangeInfo> </RangeInfo>
...@@ -96,7 +96,7 @@ density from the reference density</BriefDescription> ...@@ -96,7 +96,7 @@ density from the reference density</BriefDescription>
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<DefaultValue>0.0</DefaultValue> <DefaultValue>0.0</DefaultValue>
<ExpressionType>tabular-function</ExpressionType> <ExpressionType>fn/specific-heat</ExpressionType>
<RangeInfo> <RangeInfo>
<Min Inclusive="true">0.0</Min> <Min Inclusive="true">0.0</Min>
</RangeInfo> </RangeInfo>
...@@ -144,7 +144,7 @@ density from the reference density</BriefDescription> ...@@ -144,7 +144,7 @@ density from the reference density</BriefDescription>
<Cat>Solid Mechanics</Cat> <Cat>Solid Mechanics</Cat>
</Categories> </Categories>
<DefaultValue>0.0</DefaultValue> <DefaultValue>0.0</DefaultValue>
<ExpressionType>tabular-function</ExpressionType> <ExpressionType>fn/specific-heat</ExpressionType>
<RangeInfo> <RangeInfo>
<Min Inclusive="true">0.0</Min> <Min Inclusive="true">0.0</Min>
</RangeInfo> </RangeInfo>
......
doctype xml
SMTK_AttributeResource(Version="3")
Categories
Cat Heat Transfer
// Attribute definitions for item-specific functions
Definitions
AttDef(Type="fn" BaseType="" Abstract="true" Version="0")
// Specific Heat
AttDef(Type="fn/specific-heat" Label="Specific Heat" BaseType="fn" RootName="SpecificHeatFn" Version="0")
ItemDefinitions
String(Name="type" Label="Function Type" Version="0")
Categories #[Cat Heat Transfer]
ChildrenDefinitions
String(Name="interpolation" Label="Interpolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value linear
Value akima
String(Name="extrapolation" Label="Extrapolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value nearest
Value linear
Group(Name="tabular-values" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="X" Label="Temp" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Double(Name="Value" Label="Specific Heat" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Double(Name="center" Label="Center Temperature")
Categories #[Cat Heat Transfer]
DefaultValue 0
Group(Name="polynomial-terms" Label="Polynomial Terms f(Temp)" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="Coefficient" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Int(Name="Exponent (Temp)" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
DiscreteInfo
Structure
Value(Enum="Polynomial")
Items
Item center
Item polynomial-terms
Structure
Value(Enum="Tabular")
Items
Item interpolation
Item extrapolation
Item tabular-values
// Thermal Conductivity
AttDef(Type="fn/conductivity" BaseType="fn" Abstract="true" Version="0")
AttDef(Type="fn/conductivity/tabular" Label="Conductivity - Tabular" BaseType="fn/conductivity" RootName="ConductivityFn" Version="0")
ItemDefinitions
String(Name="Interpolation" Label="Interpolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value linear
Value akima
String(Name="Extrapolation" Label="Extrapolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value nearest
Value linear
Group(Name="ValuePairs" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="X" Label="Temp" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Double(Name="Value" Label="Conductivity" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
AttDef(Type="fn/conductivity/poly" Label="Conductivity - Polynomial" BaseType="fn/conductivity" RootName="ConductivityFn" Version="0")
ItemDefinitions
Double(Name="Center" Label="Center Temperature")
Categories #[Cat Heat Transfer]
DefaultValue 0
Group(Name="ValuePairs" Label="Polynomial Terms f(Temp)" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="Coefficient" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Int(Name="Exponent" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
// Initial Temperature
AttDef(Type="fn/temperature" BaseType="fn" Abstract="true" Version="0")
AttDef(Type="fn/temperature/tabular" Label="Initial Temperature - Tabular" BaseType="fn/temperature" RootName="TemperatureFn" Version="0")
ItemDefinitions
String(Name="Interpolation" Label="Interpolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value linear
Value akima
String(Name="Extrapolation" Label="Extrapolation Method" Version="0")
Categories #[Cat Heat Transfer]
DiscreteInfo(DefaultIndex="0")
Value nearest
Value linear
Group(Name="Data" Label="Tabular Data" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="X" Label="X:" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
DefaultValue 0
Double(Name="Y" Label="Y:" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
DefaultValue 0
Double(Name="Z" Label="Z:" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
DefaultValue 0
Double(Name="Value" Label="Temperature" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
AttDef(Type="fn/temperature/poly" Label="Initial Temperature - Polynomial" BaseType="fn/temperature" RootName="TemperatureFn" Version="0")
ItemDefinitions
Double(Name="Center" Label="Center Temperature")
Categories #[Cat Heat Transfer]
DefaultValue 0
Group(Name="Data" Label="Polynomial Terms f(x,y,z)" Extensible="true" NumberOfRequiredGroups="1")
ItemDefinitions
Double(Name="Coefficient" NumberOfRequiredValues="1")
Categories #[Cat Heat Transfer]
Int(Name="Exponent" Label="Exponents (x,y,z)" NumberOfRequiredValues="3")
Categories #[Cat Heat Transfer]
ComponentLabels
Label X
Label Y
Label Z
DefaultValue 0
//- Views
//- View(Title="Functions" Type="Attribute" TopLevel="True")
//- AttributeTypes
//- Att(Type="fn")/
= "\n"
...@@ -13,11 +13,12 @@ SMTK_AttributeResource(Version="3") ...@@ -13,11 +13,12 @@ SMTK_AttributeResource(Version="3")
AttDef(Type="background-material" Label="Background Material" BaseType="" AttDef(Type="background-material" Label="Background Material" BaseType=""
Version="0" Unique="true") Version="0" Unique="true")
ItemDefinitions ItemDefinitions
//- (It appears that AttributeRef no longer displays)
//- AttributeRef(Name="background-material" Label="Background Material" //- AttributeRef(Name="background-material" Label="Background Material"
//- NumberOfRequiredValues="1") //- NumberOfRequiredValues="1")
//- AttDef material //- AttDef material
//- +categories-all //- +categories-all
Component(Name="background-material" Label="Background Material" Component(Name="background-material" Label="Select"
NumberOfRequiredValues="1" Unique="true" Version="1") NumberOfRequiredValues="1" Unique="true" Version="1")
Accepts Accepts
Resource(Name="smtk::attribute::Resource" Filter="attribute[type='material']") Resource(Name="smtk::attribute::Resource" Filter="attribute[type='material']")
...@@ -35,7 +36,6 @@ SMTK_AttributeResource(Version="3") ...@@ -35,7 +36,6 @@ SMTK_AttributeResource(Version="3")
BriefDescription Mass density of the material phase BriefDescription Mass density of the material phase
+categories-all +categories-all
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function
RangeInfo RangeInfo
Min(Inclusive="true") 0.0 Min(Inclusive="true") 0.0
Double(Name="density-deviation" Label="Density Deviation" Double(Name="density-deviation" Label="Density Deviation"
...@@ -45,11 +45,12 @@ SMTK_AttributeResource(Version="3") ...@@ -45,11 +45,12 @@ SMTK_AttributeResource(Version="3")
| density from the reference density | density from the reference density
+categories-all +categories-all
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function
Double(Name="conductivity" Label="Conductivity (K)") Double(Name="conductivity" Label="Conductivity (K)")
BriefDescription Thermal conductivity of the material phase BriefDescription Thermal conductivity of the material phase
+categories-all +categories-all
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType fn/conductivity
RangeInfo RangeInfo
Min(Inclusive="true") 0.0 Min(Inclusive="true") 0.0
Double(Name="viscosity" Label="Viscosity (nu)") Double(Name="viscosity" Label="Viscosity (nu)")
...@@ -67,7 +68,7 @@ SMTK_AttributeResource(Version="3") ...@@ -67,7 +68,7 @@ SMTK_AttributeResource(Version="3")
BriefDescription Specific heat of the material phase BriefDescription Specific heat of the material phase
+categories-all +categories-all
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType fn/specific-heat
RangeInfo RangeInfo
Min(Inclusive="true") 0.0 Min(Inclusive="true") 0.0
Double(Name="enthalpy" Label="Enthalpy (E)") Double(Name="enthalpy" Label="Enthalpy (E)")
...@@ -92,7 +93,7 @@ SMTK_AttributeResource(Version="3") ...@@ -92,7 +93,7 @@ SMTK_AttributeResource(Version="3")
BriefDescription Specific heat of the material phase BriefDescription Specific heat of the material phase
+categories-all +categories-all
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType fn/specific-heat
RangeInfo RangeInfo
Min(Inclusive="true") 0.0 Min(Inclusive="true") 0.0
Double(Name="latent-heat" Label="Latent Heat (Lf)") Double(Name="latent-heat" Label="Latent Heat (Lf)")
......
...@@ -12,21 +12,21 @@ SMTK_AttributeResource(Version="3") ...@@ -12,21 +12,21 @@ SMTK_AttributeResource(Version="3")
NumberOfRequiredValues="0" Extensible="true") NumberOfRequiredValues="0" Extensible="true")
MembershipMask face MembershipMask face
AttDef(Type="ht/boundary/dirichlet" Label="Dirichlet" BaseType="ht/boundary" Unique="true" Version="0") AttDef(Type="ht/boundary/dirichlet" Label="Dirichlet" BaseType="ht/boundary" Unique="true" RootName="Dirichlet" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="temperature" Label="Temperature") Double(Name="temperature" Label="Temperature")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType tabular-function
AttDef(Type="ht/boundary/flux" Label="Flux" BaseType="ht/boundary" Unique="true" Version="0") AttDef(Type="ht/boundary/flux" Label="Flux" BaseType="ht/boundary" Unique="true" RootName="Flux" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="heat-flux" Label="Heat Flux") Double(Name="heat-flux" Label="Heat Flux")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType tabular-function
AttDef(Type="ht/boundary/HTC" Label="HTC" BaseType="ht/boundary" Unique="true" Version="0") AttDef(Type="ht/boundary/HTC" Label="HTC" BaseType="ht/boundary" Unique="true" RootName="HTC" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="heat-transfer-coefficient" Label="Heat Transfer Coefficient (h)") Double(Name="heat-transfer-coefficient" Label="Heat Transfer Coefficient (h)")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
...@@ -37,7 +37,7 @@ SMTK_AttributeResource(Version="3") ...@@ -37,7 +37,7 @@ SMTK_AttributeResource(Version="3")
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType tabular-function
AttDef(Type="ht/boundary/radiation" Label="Radiation" BaseType="ht/boundary" Unique="true" Version="0") AttDef(Type="ht/boundary/radiation" Label="Radiation" BaseType="ht/boundary" Unique="true" RootName="Radiation" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="emissivity" Label="Emissivity (epsilon)") Double(Name="emissivity" Label="Emissivity (epsilon)")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
...@@ -59,14 +59,14 @@ SMTK_AttributeResource(Version="3") ...@@ -59,14 +59,14 @@ SMTK_AttributeResource(Version="3")
NumberOfRequiredValues="0" Extensible="true") NumberOfRequiredValues="0" Extensible="true")
MembershipMask face MembershipMask face
AttDef(Type="ht/interface/HTC" Label="HTC" BaseType="ht/interface" Unique="true" Version="0") AttDef(Type="ht/interface/HTC" Label="HTC" BaseType="ht/interface" Unique="true" RootName="ifHTC" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="heat-transfer-coefficient" Label="Heat Transfer Coefficient (alpha)") Double(Name="heat-transfer-coefficient" Label="Heat Transfer Coefficient (alpha)")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
DefaultValue 0.0 DefaultValue 0.0
ExpressionType tabular-function ExpressionType tabular-function
AttDef(Type="ht/interface/radiation" Label="Gap Radiation" BaseType="ht/interface" Unique="true" Version="0") AttDef(Type="ht/interface/radiation" Label="Gap Radiation" BaseType="ht/interface" Unique="true" RootName="ifRadiation" Version="0")
ItemDefinitions ItemDefinitions
Double(Name="emissivity" Label="Emissivity (epsilon)") Double(Name="emissivity" Label="Emissivity (epsilon)")
Categories #[Cat Heat Transfer] Categories #[Cat Heat Transfer]
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<MembershipMask>face</MembershipMask> <MembershipMask>face</MembershipMask>
</AssociationsDef> </AssociationsDef>
</AttDef> </AttDef>
<AttDef Type="ht/boundary/dirichlet" Label="Dirichlet" BaseType="ht/boundary" Unique="true" Version="0"> <AttDef Type="ht/boundary/dirichlet" Label="Dirichlet" BaseType="ht/boundary" Unique="true" RootName="Dirichlet" Version="0">
<ItemDefinitions> <ItemDefinitions>
<Double Name="temperature" Label="Temperature"> <Double Name="temperature" Label="Temperature">
<Categories> <Categories>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</Double> </Double>