Tue 27 Jan 10:39:43 CET 2026
This commit is contained in:
parent
b948765864
commit
1da56672bd
|
|
@ -244,9 +244,27 @@ class EngineController():
|
|||
if self.SimNDT_SnapShots.enableVolume:
|
||||
self.SimNDT_SnapShots.save_vol()
|
||||
if self.SimNDT_SnapShots.enableSummary:
|
||||
self.SimNDT_SnapShots.save_summary(
|
||||
self.simPack.Simulation.dt,
|
||||
self.simPack.Simulation.dx)
|
||||
mats = []
|
||||
for material in self.simPack.Simulation.Materials:
|
||||
mats.append(dict(name=material.Name,\
|
||||
label=material.Label,\
|
||||
VL=material.VL,\
|
||||
VT=material.VT,\
|
||||
Rho=float(material.Rho),\
|
||||
Eta_v=float(material.Eta_v),\
|
||||
Eta_s=float(material.Eta_s),\
|
||||
Damping=material.Damping))
|
||||
data = dict (
|
||||
dt=self.simPack.Simulation.dt,
|
||||
dx=self.simPack.Simulation.dx,
|
||||
maxFreq=self.simPack.Simulation.MaxFreq,
|
||||
steps=self.TimeSteps,
|
||||
pointCycle=self.simPack.Simulation.PointCycle,
|
||||
inspection=self.simPack.Inspection.Name,
|
||||
fieldShape=str(self.SimNDT_FD.Vx.shape),
|
||||
materials=mats
|
||||
)
|
||||
self.SimNDT_SnapShots.save_summary(data)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user