Fri 16 May 23:06:54 CEST 2025

This commit is contained in:
sbosse 2025-05-16 23:08:15 +02:00
parent 0dfb63a303
commit bb878e5286

119
src/template/simndt.json Normal file
View File

@ -0,0 +1,119 @@
{
"Scenario": {
"Width": 500,
"Height": 500,
"Pixel_mm": 1.0,
"Label": 0
},
"Materials": [
{
"Name": "aluminium",
"Label": 0
},
{
"Name": "steel",
"Label": 1
},
{
"Name": "air",
"Label": 2
}
],
"Boundaries": [
{
"Name": "Top",
"Type": "Air"
},
{
"Name": "Bottom",
"Type": "Air"
},
{
"Name": "Left",
"Type": "Air"
},
{
"Name": "Right",
"Type": "Air"
}
],
"Transducers": {
"SizePixel": 62.0,
"Name": "emisor",
"PZT": 0,
"PointSource": 0,
"CenterOffset": 0.0,
"BorderOffset": 30.0,
"Field": 0,
"Window": 0,
"Location": "Top",
"Size": 10.0
},
"NoGeometricObjects": [
{
"x0": 250.0,
"y0": 250.0,
"a": 20.0,
"b": 40.0,
"Name": "ellipse",
"Label": 2,
"theta": 0.0
}
],
"Inspection": {
"Location": "Top",
"Method": "Transmission",
"Name": "Transmission"
},
"Source": {
"Pressure": 1,
"Longitudinal": 1,
"Displacement": 0,
"Shear": 0
},
"Signal": {
"Frequency": 50000.0,
"N_Cycles": 3,
"Name": "GaussianSine",
"Amplitude": 2.0
},
"Simulation": {
"PointCycle": 10,
"SimulationTime": 500e-6,
"TimeScale": 1.0,
"MaxFreq": 300000.0,
"Order": 2,
"Device":"CPU"
},
"Receivers": {
"Method": "Transmission"
},
"NoImport1": {
"Im": "/tmp/simulation-materials-Im.npy"
},
"Import": {
"Rho": "/tmp/simulation-materials-Rho.npy",
"VL": "/tmp/simulation-materials-VL.npy",
"VT": "/tmp/simulation-materials-VT.npy"
},
"Export": {
"Step": 100,
"Save_filepath": "/tmp/",
"Filename": "simulation",
"Extension": ".png",
"dB": 60,
"Color": 0,
"Field": "Txx",
"Material": "RV",
"enableFields": false,
"enableNumPy": true,
"enableSignals": true,
"enableImages": false,
"enableMaterial": true,
"enableVolume": true,
"enableView": false,
"sensorShape": [],
"sensorPlacement": [],
"sensorSize": 0
}
}