Esempio n. 1
0
        /// <summary>
        /// Strain and Stress initialization at time 0
        /// <br>Reset Element Stress and Strain list </br>
        /// </summary>
        public void Initialize_StepZero(FE_Library FELib)
        {
            // NUmber of Gauss Points
            GaussPointNumb = FELib.FE[Type].GaussPointNumb;

            // Reset Stress and Strain list and Add Zero Stress and Strain tensor at time 0
            Strain = new List <MatrixST> {
                new MatrixST(NList.Count, 6)
            };
            Stress = new List <MatrixST> {
                new MatrixST(NList.Count, 6)
            };
        }
Esempio n. 2
0
        public Database()
        {
            // ============================ Initialize ==================================

            NodeLib      = new Dictionary <int, Node>();              // Node library - key is Node ID, value is Node object
            ElemLib      = new Dictionary <int, Element>();           // Element library - key is Element ID, value is Element object
            MatLib       = new Dictionary <int, Material>();          // Material library - key is Mat ID, value is Material object
            BCLib        = new Dictionary <int, BoundaryCondition>(); // Boundary Conditions library
            FELib        = new FE_Library();                          // Finite Element library - key is FE type, value is FE_Library object
            PartLib      = new Dictionary <int, Part>();              // Part library - key is Part ID, value is Part object
            AnalysisLib  = new Analysis();                            // Analysis library - analysis settings
            Import_Error = new List <string>();                       // List with import errors
            Info         = new Information();                         // Additional info to serialize
        }