def add_cc_from_DB(self, name): cc = ConeCyl() cc.from_DB(name) cc.index = len(self.ccs) self.ccs.append(cc) cc.rebuild(save_rebuild=False) return cc
coordSysType=CYLINDRICAL, origin=(0.0, 0.0, 0.0), point1=(1.0, 0.0, 0.0), point2=(0.0, 1.0, 0.0)) #FIXME create a circular boundary region around the cutout to # guarantee a better mesh for these cases with a new property # around the cutout part_csys = p.datums[part_csys.id] abaqus_functions.create_composite_layup( name='prop_around_cutout_%02d' % self.index, stack=stack, plyts=plyts, mat_names=mat_names, part=p, part_csys=part_csys, region=elem_set) else: raise RuntimeError('prop_around_cutout not defined!') if __name__ == '__main__': from desicos.abaqus.conecyl import ConeCyl cc = ConeCyl() cc.from_DB('desicos_2014_c17') cc.impconf.ploads = [] cc.impconf.add_cutout(0, 0.5, 100, 45) cc.create_model()
coordSysType=CYLINDRICAL, origin=(0.0, 0.0, 0.0), point1=(1.0, 0.0, 0.0), point2=(0.0, 1.0, 0.0), ) part_csys = p.datums[part_csys.id] # FIXME create a circular boundary region around the cutout to # guarantee a better mesh for these cases with a new property # around the cutout abaqus_functions.create_composite_layup( name="prop_around_cutout_%02d" % self.index, stack=stack, plyts=plyts, mat_names=mat_names, part=p, part_csys=part_csys, region=elem_set, ) else: raise RuntimeError("prop_around_hole not defined!") if __name__ == "__main__": from desicos.abaqus.conecyl import ConeCyl cc = ConeCyl() cc.from_DB("desicos_2014_c17") cc.impconf.ploads = [] cc.impconf.add_cutout(0, 0.5, 100, 45) cc.create_model()
part_csys = p.DatumCsysByThreePoints(name='part_cyl_csys', coordSysType=CYLINDRICAL, origin=(0.0, 0.0, 0.0), point1=(1.0, 0.0, 0.0), point2=(0.0, 1.0, 0.0)) #FIXME create a circular boundary region around the cutout to # guarantee a better mesh for these cases with a new property # around the cutout part_csys = p.datums[part_csys.id] abaqus_functions.create_composite_layup( name='prop_around_cutout_%02d' % self.index, stack=stack, plyts=plyts, mat_names=mat_names, part=p, part_csys=part_csys, region=elem_set) else: raise RuntimeError('prop_around_cutout not defined!') if __name__ == '__main__': from desicos.abaqus.conecyl import ConeCyl cc = ConeCyl() cc.from_DB('desicos_2014_c17') cc.impconf.ploads = [] cc.impconf.add_cutout(0, 0.5, 100, 45) cc.create_model()