material.pug 6.85 KB
Newer Older
1
mixin categories-all
2 3
  Categories
    Cat Fluid Flow
4 5 6 7
    Cat Heat Transfer
    Cat Solid Mechanics

doctype xml
8
SMTK_AttributeResource(Version="3")
9
  +categories-all
10

11 12
  // Attribute Definitions
  Definitions
13
    AttDef(Type="background-material" Label="Background Material" BaseType=""
14 15
           Version="0" Unique="true")
      ItemDefinitions
16
        //- (It appears that AttributeRef no longer displays)
17 18 19 20
        //- AttributeRef(Name="background-material" Label="Background Material"
        //-              NumberOfRequiredValues="1")
        //-   AttDef material
        //-   +categories-all
21
        Component(Name="background-material" Label="Select"
22 23 24 25
          NumberOfRequiredValues="1" Unique="true" Version="1")
          Accepts
            Resource(Name="smtk::attribute::Resource" Filter="attribute[type='material']")
          +categories-all
26

27
    AttDef(Type="material" Label="Material" BaseType="" Version="0" Unique="true")
28 29 30
      AssociationsDef(Name="MaterialAssociations" Version="0"
        NumberOfRequiredValues="0" Extensible="true")
        MembershipMask volume
31
      ItemDefinitions
32
        String(Name="material-type" Label="Material Type")
33
          +categories-all
34
          ChildrenDefinitions
35
            Double(Name="density" Label="Density (rho)" Optional="false")
36
              BriefDescription Mass density of the material phase
37
              +categories-all
38 39 40
              DefaultValue 0.0
              RangeInfo
                Min(Inclusive="true") 0.0
41 42
            Double(Name="density-deviation" Label="Density Deviation"
                   Optional="true" IsEnabledByDefault="false")
43 44 45
              BriefDescription
                | The relative deviation of the true temperature-dependent
                | density from the reference density
46
              +categories-all
47
              DefaultValue 0.0
48
              ExpressionType tabular-function
49
            Double(Name="conductivity" Label="Conductivity (K)")
50
              BriefDescription Thermal conductivity of the material phase
51
              +categories-all
52
              DefaultValue 0.0
53
              ExpressionType fn/conductivity
54 55 56
              RangeInfo
                Min(Inclusive="true") 0.0
            Double(Name="viscosity" Label="Viscosity (nu)")
57 58
              BriefDescription
                | The dynamic viscosity of a fluid phase
59
              +categories-all
60
              DefaultValue 0.0
61
              ExpressionType tabular-function
62 63 64
              RangeInfo
                Min(Inclusive="true") 0.0
            String(Name="thermal" Label="Thermal Specification")
65
              +categories-all
66 67
              ChildrenDefinitions
                Double(Name="specific-heat" Label="Specific Heat (Cp)")
68
                  BriefDescription Specific heat of the material phase
69
                  +categories-all
70
                  DefaultValue 0.0
71
                  ExpressionType fn/specific-heat
72 73 74
                  RangeInfo
                    Min(Inclusive="true") 0.0
                Double(Name="enthalpy" Label="Enthalpy (E)")
75
                  +categories-all
76 77 78 79 80 81 82 83 84 85 86 87 88 89
                  DefaultValue 0.0
                  ExpressionType tabular-function
                  RangeInfo
                    Min(Inclusive="true") 0.0
              DiscreteInfo(DefaultIndex="0")
                Structure
                  Value(Enum="Specific Heat") specific-heat
                  Items
                    Item specific-heat
                Structure
                  Value(Enum="Enthalpy") enthalpy
                  Items
                    Item enthalpy
            String(Name="thermal-two-phase" Label="Thermal Specification")
90
              +categories-all
91
              ChildrenDefinitions
92
                Double(Name="specific-heat" Label="Specific Heat (Cp)")
93
                  BriefDescription Specific heat of the material phase
94
                  +categories-all
95
                  DefaultValue 0.0
96
                  ExpressionType fn/specific-heat
97 98 99
                  RangeInfo
                    Min(Inclusive="true") 0.0
                Double(Name="latent-heat" Label="Latent Heat (Lf)")
100
                  BriefDescription The latent heats of the phase transformations.
101
                  +categories-all
102
                  DefaultValue 0.0
103 104
                  RangeInfo
                    Min(Inclusive="true") 0.0
105
                Double(Name="enthalpy" Label="Enthalpy (E)")
106
                  +categories-all
107
                  DefaultValue 0.0
108
                  ExpressionType tabular-function
109 110
                  RangeInfo
                    Min(Inclusive="true") 0.0
111 112
              DiscreteInfo(DefaultIndex="0")
                Structure
113
                  Value(Enum="Specific Heat") specific-heat
114 115 116 117
                  Items
                    Item specific-heat
                    Item latent-heat
                Structure
118
                  Value(Enum="Enthalpy") enthalpy
119 120
                  Items
                    Item enthalpy
121

122 123
            // Two phase properties
            Double(Name="solid-transition-temperature" Label="Solidus Temperature (Ts)")
124
              +categories-all
125
              DefaultValue 0.0
126
            Double(Name="liquid-transition-temperature" Label="Liquidus Temperature (Tl)")
127
              +categories-all
128
              DefaultValue 100.0
129

130 131
            // Void material properties
            Double(Name="void-temperature" Label="Temperature")
132
              +categories-all
133 134
              DefaultValue 0.0
            Double(Name="sound-speed" Label="Speed of Sound" AdvanceLevel="1")
135
              +categories-all
136 137 138 139 140
              BriefDescription
                | The adiabatic sound speed that is used in computing the
                | compressibility of each cell containing the material.
                | This is not a real sound speed, but a numerical artifice
                | used to permit collapse of small void bubbles.
141 142 143 144
              DefaultValue 0.0
              RangeInfo
                Min(Inclusive="true") 0.0

145
          DiscreteInfo(DefaultIndex="2")
146
            Structure
147
              Value(Enum="Solid") solid
148
              Items
149
                Item density
150
                Item density-deviation
151
                Item conductivity
152
                Item thermal
153
            Structure
154
              Value(Enum="Fluid") fluid
155
              Items
156
                Item density
157
                Item density-deviation
158 159
                Item conductivity
                Item viscosity
160
                Item thermal
161
            Structure
162
              Value(Enum="Two Phase") two-phase
163 164
              Items
                Item density
165
                Item density-deviation
166 167
                Item conductivity
                Item viscosity
168 169 170
                Item thermal-two-phase
                Item solid-transition-temperature
                Item liquid-transition-temperature
171 172 173 174 175
            Structure
              Value(Enum="Void") void
              Items
                Item void-temperature
                Item sound-speed
176

177
= "\n"