Physical properties of a block for problems of heat transfer.
Details
LabelBlockHT object represents a physical data applicable to block label for the heat
trasfer problem.
When you need to set or modify some physical parameters for the block label, you have to get the
LabelBlockHTobject using Content property of
the Label object, modify the LabelBlockHTobject
using its properties and then put it back to the Label object assigning your LabelBlockHT
to the Content property of your Label object.
The LabelBlockHT object inherits methods and properties from its base class LabelBlock.
In addition it provide properties and methods specific for the heat transfer analysis. Those
are:
Gets and sets the components of thermal conductivity tensor for linear media in
(W/K*m).
Alternatively you use the Spline property (see
below) to describe the thermal conductivity as a function of temperature.
Gets and sets the volume power of the heat source in (W/m3).
Alternatively you use the LoadingSpline
property (see below) to describe the thermal conductivity as a function of
temperature.
Returns True if the LoadingSpline is set instead of Loading. In
other words, the NonLinearLoading property allows you to know whether the
thermal source is depend on the temperature.
Gets and sets the specific heat in (J/kg*deg).
Alternatively you use the SpecificHeatSpline
property (see below) to describe the specific heat as a function of temperature.
This parameter is only necessary for transient heat transfer problems.
Gets and sets the specific heat as a function of the temperature.
See Using Splines section for details.
This parameter is only necessary for transient heat transfer problems.
Returns True if the SpecificHeatSpline is set instead of SpecificHeat.
In other words, the NonLinearSpecificHeat property allows you to know whether
the specific heat is depend on the temperature.
Creates a new empty functional dependency that can be used for describing the
specific heat as a function of the temperature.
You always have to set both Kxx and Kyy properties even for isotropic materials.
If the Polar property is set to True, the Kxx
component is considered as a radial and Kyy - as tangential component of the
permitivity tensor.
Using Splines
Spline is an object represents the functional dependency of
one variable from another. The LabelBlockHT object can use up to two splines: one for
thermal conductivity and the second for the volume power of the heat source as a function of the
temperature. You use the Spline property to get or set the
conductivity spline and LoadingSpline property to
operate with thermal source spline.
To get an existing Spline object you use the Spline
or LoadingSpline property. If the spline you need
does not yet exist, the Spline or LoadingSpline
property returns nothing. In that case you have to first create a new spline use CreateConductivityCurve
or CreateLoadingCurve for conductivity and thermal
source respectively.
To enter or modify spline data you use methods and properties of the Spline
object. When you are finished with spline data you have to assign the Spline object back
to the LabelBlockHT object using Spline or LoadingSpline
property.
In the example below we edit the data for the HeatedBody label. Before we start editing
the label has a thermal conductivity spline defined and the power of the heat source is given as
a constant. We add the additional point (temperature = 400 K, conductivity = 0.65 W/K*m) to the
conductivity spline and create a new spline to the thermal source:
Dim lb As QuickField.Label
Dim lbHT As QuickField.LabelBlockHT
Set lb = prb.Labels(qfBlock).Item("HeatedBody")
Set lbHT = lb.Content
With lbHT
Dim lambda As Spline
Dim source As Spline
Set lambda = .Spline
lambda.Add QF.PointXY(400, 0.65)
.Spline = lambda
Set source = .CreateLoadingCurve
source.Add PointXY(100, 1000)
source.Add PointXY(200, 800)
source.Add PointXY(300, 750)
source.Add PointXY(400, 720)
.LoadingSpline = source
End With
lb.Content = lbHT