FEM: new solver framework, add log if input file writing was finished for Z88 and CCX

This commit is contained in:
Bernd Hahnebach
2018-01-09 07:29:22 +01:00
parent 2ce33df6d0
commit 8964584fd4
2 changed files with 8 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ class Prepare(run.Prepare):
c.beam_sections, c.shell_thicknesses, c.fluid_sections,
self.solver.AnalysisType, self.directory)
path = w.write_calculix_input_file()
if path is not None:
self.pushStatus("Write completed!")
else:
self.pushStatus("Writing CalculiX input file failed!")
_inputFileName = os.path.splitext(os.path.basename(path))[0]

View File

@@ -67,6 +67,10 @@ class Prepare(run.Prepare):
c.beam_sections, c.shell_thicknesses, c.fluid_sections,
self.solver.AnalysisType, self.directory)
path = w.write_z88_input()
if path is not None:
self.pushStatus("Write completed!")
else:
self.pushStatus("Writing Z88 input files failed!")
_inputFileName = os.path.splitext(os.path.basename(path))[0] # AFAIK empty for z88
print(path)
print(_inputFileName)