Text this: Three dimensional finite element analysis of brittle materials using CDM model