Documentation ¶
Index ¶
- Variables
- func CcxCpu(cpu int)
- func DefaultCcx()
- type BeamSection
- type Boundary
- type Cload
- type Condition
- type Dat
- type DistributingCoupling
- type Dload
- type Element
- type Expansion
- type File
- type Material
- type Model
- type Node
- type Pe
- type Print
- type Property
- type Record
- type RigidBody
- type Set
- type ShellSection
- type Single
- type SolidSection
- type Spring
- type Step
- type Stress
- type Surface
- type Temperature
Constants ¶
This section is empty.
Variables ¶
var CcxApp = flag.String("ccx", "", "Example:\n`ccx` for Linux\n`ccx.exe` for Windows")
Functions ¶
func DefaultCcx ¶
func DefaultCcx()
Types ¶
type BeamSection ¶
type BeamSection struct { Section string Elset string Material string Offset1, Offset2 float64 Thks [2]float64 Vector [3]float64 }
func (BeamSection) String ¶
func (b BeamSection) String() string
type Boundary ¶
Boundary for structures: – 1: translation in the local x-direction – 2: translation in the local y-direction – 3: translation in the local z-direction – 4: rotation about the local x-axis (only for nodes belonging to beams or shells) – 5: rotation about the local y-axis (only for nodes belonging to beams or shells) – 6: rotation about the local z-axis (only for nodes belonging to beams or shells) – 11: temperature
First line:
*BOUNDARY Enter any needed parameters and their value.
Following line:
Node number or node set label First degree of freedom constrained Last degree of freedom constrained. This field may be left blank if only one degree of freedom is constrained.
type Dat ¶
type DistributingCoupling ¶
type DistributingCoupling struct { ElsetName string ElsetNode int NodeIndexes []int // with weight 1.0 NodeNames []string ReferenceNode int }
First line:
*DISTRIBUTING COUPLING Enter the ELSET parameter and its value
Following line:
Node number or node set Weight
Repeat this line if needed.
func (DistributingCoupling) String ¶
func (d DistributingCoupling) String() string
type Material ¶
type Model ¶
type Model struct { Heading string Nodes []Node Elements []Element Nsets []Set Elsets []Set Surfaces []Surface Materials []Material InitialConditions Condition BeamSections []BeamSection SolidSections []SolidSection ShellSections []ShellSection Boundaries []Boundary Springs []Spring Steps []Step TimePoint struct { Name string Generate bool Time []float64 } RigidBodies []RigidBody DistributingCouplings []DistributingCoupling }
Model - summary inp format
type ShellSection ¶
type ShellSection struct { Elset string Offset float64 Composite bool NodalThickness bool Property [12]struct { Thickness float64 Material string } }
func (ShellSection) String ¶
func (ss ShellSection) String() string
type SolidSection ¶
*SOLID SECTION,ELSET=EALL,MATERIAL=HY
func (SolidSection) String ¶
func (ss SolidSection) String() string
type Spring ¶
Spring
First line: *SPRING Enter the parameter ELSET and its value and any optional parameter, if needed.
Second line for SPRINGA type elements: enter a blank line Second line for SPRING1 or SPRING2 type elements: • first degree of freedom (integer, for SPRING1 and SPRING2 elements) • second degree of freedom (integer, only for SPRING2 elements) Following line if the parameter NONLINEAR is not used: • Spring constant (real number).
type Step ¶
type Step struct { IsStatic bool Static struct { TimeInc float64 TimePeriod float64 } Nlgeom bool // genuine nonlinear geometric calculation Inc int // The maximum number of increments in the step (for automatic Boundaries []Boundary Buckle struct { Number int // Number of buckling factors desired (usually 1) Accuracy float64 // Accuracy desired (default: 0.01). } NodeFiles []Print ElFiles []Print NodePrints []Print ElPrints []Print Cloads []Cload Dloads []Dload Temperatures []Temperature }