The Transition from Brittle to Quasi-Brittle Fracture of Disordered Crystals through the use of Crack Precursors (Joshua Thibault)

This research is focused around using DAMASK, a simulation-based software, to analyze the fracture and failure behavior on a specimen of specified dimension. The aim of this project is to observe how imparting a load in a ellipsoidal, notched specimen with a given disorder strength will effect the crack initiation and propagation behavior. Also, we observe the interaction notched-based and disorder-based crack initiation.


Simulations of System Size of Lx=2, Ly=128, and Lz=256 where D=3.995, W = 32, and (a) has a RG of 0.05 (b) has a RG of 0.2 (c) has a RG of 0.8 where the Fracture Toughness distributions, Stress distribution and Damage distributions are displayed, respectively.

Code Step to get DAMASK Spectral executable on Cluster

Go to ./batchrc file and make sure it looks like this:


git clone https://papanikl:papanikl@magit1.mpie.de/damask/DAMASK.git

git checkout stochastic-damage

wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.4.tar.gz

tar xvzf petsc-3.6.4.tar.gz

go to the petsc folder

./configure --download-chaco --download-fftw --download-hypre --download-metis --download-ml --download-parmetis --with-c2html=0 --with-debugging=0 --with-ssl=0 --with-x=0 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 PETSC_ARCH=maws00 PETSC_DIR=/scratch/jthibaul/petsc-3.6.4

make PETSC_DIR=/scratch/jthibaul/petsc-3.6.4 PETSC_ARCH=maws00 all

make PETSC_DIR=/scratch/jthibaul/petsc-3.6.4 PETSC_ARCH=maws00 test

go to DAMASK directory

 Look into spectral_utilities.f90 its in the DAMASK/code folder. Find the word “PETSC_NULL_OBJECT,” and delete it in the whole file. Examples:
     call PetscOptionsClear(ierr); CHKERRQ(ierr)
     if(debugPETSc) call PetscOptionsInsertString(trim(PETSCDEBUG),ierr)
     call PetscOptionsInsertString(trim(petsc_defaultOptions),ierr)
     call PetscOptionsInsertString(PETSC_NULL_OBJECT,trim(petsc_options),ierr)
     CHKERRQ(ierr)
   
source DAMASK_env.sh

    make spectral

    make install

Initial Code to get DAMASK Spectral executable
cd $SCRATCH
git clone https://papanikl:papanikl@magit1.mpie.de/damask/DAMASK.git
git checkout stochastic-damage
wget
http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.4.tar.gz
tar xvzf petsc-3.6.4.tar.gz
module load mpi/openmpi/2.0.1
./configure --download-chaco --download-exodusii --download-fblaslapack --download-fftw --download-hdf5 --download-hypre --download-metis --download-ml --download-mumps --download-netcdf --download-parmetis --download-scalapack --download-suitesparse --download-superlu --download-superlu_dist --download-triangle --download-mpich --with-c2html=0 --with-cc=icc --with-cxx=icpc --with-debugging=0 --with-fc=ifort --with-ssl=0 --with-x=0 PETSC_ARCH=ifort PETSC_DIR=/scratch/josh-username/petsc-3.6.4
make all test
export PETSC_DIR=/scratch/sp0045/petsc-3.6.4
export PETSC_ARCH=ifort
cd ../DAMASK
make spectral

Revised Code to get DAMASK Spectral executable

    module load compilers/gcc/5.3.0
    module load mpi/openmpi/2.0.1
    ./configure --download-chaco --download-fftw --download-hypre --download-metis --download-ml --download-parmetis --with-c2html=0 --with-debugging=0 --with-ssl=0 --with-x=0 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 PETSC_ARCH=maws00 PETSC_DIR=/scratch/sp0045/petsc-3.6.4

    make PETSC_DIR=/scratch/sp0045/petsc-3.6.4 PETSC_ARCH=maws00 all

    make PETSC_DIR=/scratch/sp0045/petsc-3.6.4 PETSC_ARCH=maws00 test

    export PETSC_ARCH (do through sourcing)

 Look into spectral_utilities.f90 its in the DAMASK/code folder. Find the word “PETSC_NULL_OBJECT,” and delete it in the whole file. Examples:
     call PetscOptionsClear(ierr); CHKERRQ(ierr)
     if(debugPETSc) call PetscOptionsInsertString(trim(PETSCDEBUG),ierr)
     call PetscOptionsInsertString(trim(petsc_defaultOptions),ierr)
     call PetscOptionsInsertString(PETSC_NULL_OBJECT,trim(petsc_options),ierr)
     CHKERRQ(ierr)

    source DAMASK_env.sh

    make spectral

    make install

No comments:

Post a Comment