Skip to main content

Posts

Showing posts from January, 2018

Adhesive CZM ANSYS Parameters

Motivation Perhaps one of the biggest curse to any engineering analyst is the the lack of key parameters to make a good estimate. For adhesive modeling, what parameters should one use? One can try to look up typical values online or from research papers but they are often not exactly what's being used immediately.  To overcome this difficulty, you could create an experimental test for your adhesive to extract the information you need as described in the  paper  by Dastjerdi et al [1]. The rest of the blog post details how to interpret the test data. Next, by using extracted parameters, replicate the test in Ansys to get similar results (as expected).   How to Extract CZM Parameters From Test Data? A few years ago, I was pulled in to do some adhesive modeling. The project leaders later decided against using adhesives but it peaked my interest on how to simulate adhesives using Cohesive Zone Modeling  (CZM). Mode I Peel direction failure was a concern and glue manufacturers sometime

Ansys Matrix Sorting and Reordering

Sorting * The *MOPER command has a sort which can be quite convenient. Here's an example of sorting the matrix of different columns consecutively. /PREP7 ! Creates Matrix *dim , mymatrix, array, 5, 3 mymatrix(1, 1) = 4 mymatrix(2, 1) = 7 mymatrix(3, 1) = 4 mymatrix(4, 1) = 1 mymatrix(5, 1) = 4 mymatrix(1, 2) = 42 mymatrix(2, 2) = 78 mymatrix(3, 2) = 42 mymatrix(4, 2) = 16 mymatrix(5, 2) = 22 mymatrix(1, 3) = 3 mymatrix(2, 3) = 8 mymatrix(3, 3) = 2 mymatrix(4, 3) = 6 mymatrix(5, 3) = 5 ! Writes Original Matrix *cfopen , origmatrix, txt  *vwrite , mymatrix(1,1), mymatrix(1,2), mymatrix(1,3) (E20.5, ' ', E20.5, ' ', E20.5) *cfclos The original "mymatrix" is: 4 42 3 7 78 8 4 42 2 1 16 6 4 22 5 ! Reorder Matrix by first column, then second, then third *dim , ordering,,5 ! Ordering index array *moper , ordering(1), mymatrix(1,1), sort, , 1,2,3 ! ordering column ! Writes Sorted Matrix *cfopen , newmatrix, txt  *vwr