Example #1
0
        table_result.loc[i, 'In-plane orthotropy parameter 7'] = ipo_now[6]
        table_result.loc[i, 'In-plane orthotropy parameter 8'] = ipo_now[7]
        table_result.loc[i, 'In-plane orthotropy parameter 9'] = ipo_now[8]
        table_result.loc[i, 'In-plane orthotropy parameter 10'] = ipo_now[9]
        table_result.loc[i, 'In-plane orthotropy parameter 11'] = ipo_now[10]
        table_result.loc[i, 'In-plane orthotropy parameter 12'] = ipo_now[11]

        A = A_from_lampam(result.lampam, mat_prop)
        A11 = A[0, 0]
        A22 = A[1, 1]
        A12 = A[0, 1]
        A66 = A[2, 2]
        A16 = A[0, 2]
        A26 = A[1, 2]

        B = B_from_lampam(result.lampam, mat_prop)
        B11 = B[0, 0]
        B22 = B[1, 1]
        B12 = B[0, 1]
        B66 = B[2, 2]
        B16 = B[0, 2]
        B26 = B[1, 2]

        D = D_from_lampam(result.lampam, mat_prop)
        D11 = D[0, 0]
        D22 = D[1, 1]
        D12 = D[0, 1]
        D66 = D[2, 2]
        D16 = D[0, 2]
        D26 = D[1, 2]
Example #2
0
    Pop.loc[ipop, 'lampam[8]'] = lampam[7]
    Pop.loc[ipop, 'lampam[9]'] = lampam[8]
    Pop.loc[ipop, 'lampam[10]'] = lampam[9]
    Pop.loc[ipop, 'lampam[11]'] = lampam[10]
    Pop.loc[ipop, 'lampam[12]'] = lampam[11]

    A = A_from_lampam(lampam, mat)

    Pop.loc[ipop, 'A11'] = A[0, 0]
    Pop.loc[ipop, 'A22'] = A[1, 1]
    Pop.loc[ipop, 'A12'] = A[0, 1]
    Pop.loc[ipop, 'A66'] = A[2, 2]
    Pop.loc[ipop, 'A16'] = A[0, 2]
    Pop.loc[ipop, 'A26'] = A[1, 2]

    B = B_from_lampam(lampam, mat, constraints.sym)

    Pop.loc[ipop, 'B11'] = B[0, 0]
    Pop.loc[ipop, 'B22'] = B[1, 1]
    Pop.loc[ipop, 'B12'] = B[0, 1]
    Pop.loc[ipop, 'B66'] = B[2, 2]
    Pop.loc[ipop, 'B16'] = B[0, 2]
    Pop.loc[ipop, 'B26'] = B[1, 2]

    D = D_from_lampam(lampam, mat)

    Pop.loc[ipop, 'D11'] = D[0, 0]
    Pop.loc[ipop, 'D22'] = D[1, 1]
    Pop.loc[ipop, 'D12'] = D[0, 1]
    Pop.loc[ipop, 'D66'] = D[2, 2]
    Pop.loc[ipop, 'D16'] = D[0, 2]
    popu.loc[ind, 'lampam1'] = lampam[0]
    popu.loc[ind, 'lampam2'] = lampam[1]
    popu.loc[ind, 'lampam3'] = lampam[2]
    popu.loc[ind, 'lampam4'] = lampam[3]
    popu.loc[ind, 'lampam5'] = lampam[4]
    popu.loc[ind, 'lampam6'] = lampam[5]
    popu.loc[ind, 'lampam7'] = lampam[6]
    popu.loc[ind, 'lampam8'] = lampam[7]
    popu.loc[ind, 'lampam9'] = lampam[8]
    popu.loc[ind, 'lampam10'] = lampam[9]
    popu.loc[ind, 'lampam11'] = lampam[10]
    popu.loc[ind, 'lampam12'] = lampam[11]

    A = A_from_lampam(lampam, mat_prop)
    B = B_from_lampam(lampam, mat_prop, constraints.sym)
    D = D_from_lampam(lampam, mat_prop)

    #    filter_ABD(A=A, B=B, D=D, sym=constraints.sym, ply_t=mat_prop.ply_t)

    popu.loc[ind, 'A11'] = A[0, 0]
    popu.loc[ind, 'A22'] = A[1, 1]
    popu.loc[ind, 'A12'] = A[0, 1]
    popu.loc[ind, 'A66'] = A[2, 2]
    popu.loc[ind, 'A16'] = A[0, 2]
    popu.loc[ind, 'A26'] = A[1, 2]

    popu.loc[ind, 'B11'] = B[0, 0]
    popu.loc[ind, 'B22'] = B[1, 1]
    popu.loc[ind, 'B12'] = B[0, 1]
    popu.loc[ind, 'B66'] = B[2, 2]