TimeCurve Class
This class is used to set a time function for transient boundary conditions.
TimeCurve Class Properties
TimeCurve Properties | Type | Values |
type | String | “Constant”, “Ramp Step”, “Periodic”, “Harmonic”, “Polynomial”, “Inverse Polynomial”, “Power Law”, “Piecewise Linear” |
isRepeating | bool | "True"; "False" |
order | integer | Order of the curve variation |
TimeCurve Class Materials
TimeCurve Methods | Description | data return |
tc = new TimeCurve(type) | creates a new time curve object of name tc (can be anything); type = string | no |
setValue(name, value) | sets value of parameter; name = string; value = number | no |
addPoint(x, y) | x = number; y = number | no |