From 65b36230d89945b5dd28b9fee4b4c2839f779a8f Mon Sep 17 00:00:00 2001 From: sbosse Date: Wed, 28 Aug 2024 21:59:55 +0200 Subject: [PATCH] Wed 28 Aug 21:59:54 CEST 2024 --- build/README.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 build/README.md diff --git a/build/README.md b/build/README.md new file mode 100644 index 0000000..e36b945 --- /dev/null +++ b/build/README.md @@ -0,0 +1,74 @@ + +# New Simulation Setup + +## Scenario + +newGeometryModel@gui/managerDialogsController.py +(gui/newScenarioController.py + ui_newscenario.py) + +``` +self.SimNDT_Scenario = Scenario(width,height,pixel,label) +``` + +## Materials + +gui/materialSetupController.py +(gui/materialLibraryController.py) + +- apply + +``` +material = Material(name, rho, c11, c12, c22, c44, label, damping, eta_v, eta_s) +if self.SimNDT_Materials is None: + self.SimNDT_Materials = list() + self.SimNDT_Materials.append(material) +else: + N = len(self.SimNDT_Materials) + if N != 0 and self.__NumMatTmp - 1 < N: + self.SimNDT_Materials[self.__NumMatTmp - 1] = material + else: + self.SimNDT_Materials.append(material) +``` + +- addMaterial +- deleteMaterial +- updateValues + +## Boundary Conditions + +gui/boundarySetupController.py +(core/boundary.py) + +- setupBC + +``` +self.Boundaries.append(Boundary(name,BC,Size)) +``` + +## Inspection + +gui/singleLaunchSetupController.py +( + gui/signalSetupController.py + gui/singleLaunchSetupController.py +) + +- requires Scenario, Source, Inspection, Transducers, Signal + +``` +self.Signal = Signals("GaussianSine", amplitude, frequency, cycles) +transducer = Transducer('SimNDT-emisor', size, centerOffset, borderOffset, location, Point, window, + False, backing) +if self.Transducers is None: + self.Transducers = list() + self.Transducers.append(transducer) +else: + self.Transducers[0] = transducer + +self.Inspection = Transmission(location) | PulseEcho(location) +self.Inspection.hideReceiver=self.hideReceiverRadioButton.isChecked() +``` + + +