FEM: CaluliX inpfile writer, print file writing time
This commit is contained in:
parent
a176b99ca3
commit
a1fe777626
|
@ -62,6 +62,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
||||||
print('FemInputWriterCcx --> self.file_name --> ' + self.file_name)
|
print('FemInputWriterCcx --> self.file_name --> ' + self.file_name)
|
||||||
|
|
||||||
def write_calculix_input_file(self):
|
def write_calculix_input_file(self):
|
||||||
|
timestart = time.clock()
|
||||||
self.femmesh.writeABAQUS(self.file_name)
|
self.femmesh.writeABAQUS(self.file_name)
|
||||||
|
|
||||||
# reopen file with "append" and add the analysis definition
|
# reopen file with "append" and add the analysis definition
|
||||||
|
@ -142,6 +143,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
||||||
# footer
|
# footer
|
||||||
self.write_footer(inpfile)
|
self.write_footer(inpfile)
|
||||||
inpfile.close()
|
inpfile.close()
|
||||||
|
print("Writing time input file: " + str(time.clock() - timestart) + ' \n')
|
||||||
return self.file_name
|
return self.file_name
|
||||||
|
|
||||||
def write_element_sets_material_and_femelement_type(self, f):
|
def write_element_sets_material_and_femelement_type(self, f):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user