Documentation
¶
Index ¶
- Constants
- func Cylinder(o io.Writer, Tservice float64, layers []Layer, Tamb float64, ...) (Q float64, T []float64, err error)
- func Flat(o io.Writer, Tservice float64, layers []Layer, Tamb float64, ...) (Q float64, T []float64, err error)
- type ExternalSurface
- type Layer
- type Material
- type MaterialExp
- type MaterialPolynomial
- type MaterialType3
- type Orientation
Constants ¶
const ( FlatVerticalSurface Orientation = 1 FlatHeatFlowDown = 2 FlatHeatFlowUp = 3 PipeVertical = 1 PipeHorizontal = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExternalSurface ¶
type ExternalSurface struct {
// contains filtered or unexported fields
}
ExternalSurface is property of thermal surface
func Emiss ¶
func Emiss(Wind, Emiss float64, orient Orientation) *ExternalSurface
func Surf ¶
func Surf(Surf float64) *ExternalSurface
type Material ¶
Material is typical interface with thermal conductivity between 2 temperatires
func NewMaterialExp ¶
NewMaterialExp return material with exponents functions
func NewMaterialPolynomial ¶
NewMaterialPolynominal return material with polynomial thermal conductivity property
type MaterialExp ¶
type MaterialExp struct {
// contains filtered or unexported fields
}
MaterialExp is material with exponents function thermal conductivity by:
ln(k) = a + b * T
func (MaterialExp) ConductivityAvg ¶
func (m MaterialExp) ConductivityAvg(F1, F2 float64) float64
ConductivityAvg return thermal conductivity between 2 temperatires. Temperature unit: degree F.
type MaterialPolynomial ¶
type MaterialPolynomial struct {
// contains filtered or unexported fields
}
MaterialPolynomial is material with polynomial thermal conductivity property by:
f[0] + f[1]*T + f[2]*T*T + ...
func (MaterialPolynomial) ConductivityAvg ¶
func (m MaterialPolynomial) ConductivityAvg(F2, F1 float64) float64
ConductivityAvg return thermal conductivity between 2 temperatires. Temperature unit: degree F.
type MaterialType3 ¶
MaterialType3 is material type 3
func (MaterialType3) ConductivityAvg ¶
func (m MaterialType3) ConductivityAvg(F1, F2 float64) float64
ConductivityAvg return thermal conductivity between 2 temperatires. Temperature unit: degree F.
type Orientation ¶
type Orientation int8