You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"solver_options": { // Optional - Customisation of the case's solver.
3
-
"solver_type": "Centered", // Type of Flux to solve (Centered*, Upwind). *Centered does not support SMA boundaries.
4
-
"final_time": 2.0, // Final time of the simulation. (double) (2.0 if not defined).
5
-
"time_step": 1e-2, // Time step to use. Does not ensure stability if chosen too high. (double) (0.0 if not defined).
6
-
"cfl": 0.7, // Courant-Friedrichs-Lewy condition. Does not ensure stability if chosen too high. Limited to 1D problems. (0.0 to 1.0) (0.8 if not defined).
7
-
"order": 3, // Order of the Finite Element Collection used to distretise the Mesh. (integer)
8
-
"spectral": false// Use Spectral Evolution Operators. (boolean) (false if ignored) (Heavier on the computation) (Does not include newer features).
2
+
"solver_options": {
3
+
"solver_type": "Centered",
4
+
"final_time": 2.0,
5
+
"time_step": 1e-2,
6
+
"cfl": 0.7,
7
+
"order": 3,
8
+
"spectral": false
9
9
},
10
10
11
-
"model": { // Model will be built using customised mesh.
12
-
"filename": "1D_PEC_Centered.msh",// Name of the Mesh, must coincide with name of the case. (string)
11
+
"model": {
12
+
"filename": "1D_PEC_Centered.msh",
13
13
"materials": [
14
14
{
15
15
"tags": [ 1 ],
@@ -25,47 +25,45 @@
25
25
{
26
26
"tags": [ 1, 2 ],
27
27
"type": "PEC"
28
-
} // Defined BdrCond as follows: "PEC", "PMC", "SMA".
28
+
}
29
29
]
30
30
},
31
31
32
-
"probes": { // Case Data extraction.
33
-
"exporter": { // Optional - If this exists a Paraview visualization will be extracted by the defined steps. Only one.
34
-
"steps": 1// Every how many steps the data should be saved.
32
+
"probes": {
33
+
"exporter": {
34
+
"steps": 1
35
35
},
36
-
"points": [ // Optional - If this exists, define probe_info for each point probe.
36
+
"points": [
37
37
{
38
38
"field": "E",
39
-
"position": [ 0.0 ] // Spatial location on where to extract (nD vector with Mesh Dimension as size). If defined out of bounds the program will crash.
39
+
"position": [ 0.0 ]
40
40
}
41
41
],
42
42
"surfaces": [
43
43
{
44
44
"field": "E",
45
-
"tags": [ 1 ] // Spatial location on where to extract (nD vector with Mesh Dimension as size). If defined out of bounds the program will crash.
45
+
"tags": [ 1 ]
46
46
}
47
47
]
48
48
},
49
49
50
-
"sources": [ // Case Illumination. Temporarily One Max.
50
+
"sources": [
51
51
{
52
-
"type": "initial", // Type of Illumination (Initial, Resonant).
53
-
"field_type": "E", // Field to illuminate (E, H).
54
-
"center": [ 0.5 ], // Spatial position of the illumination on t = 0 (nD Array with Mesh Dimension as size for X, Y, Z).
55
-
"polarization": [ 0.0, 1.0, 0.0 ], // Spatial polarization of the field to illuminate (3D Array (X, Y, Z)).
56
-
"dimension": 1, // Dimension of the *source* (1, 2, 3).
57
-
// Extra arguments if using specific types. Will assume defaults if not given(?).
52
+
"type": "initial",
53
+
"field_type": "E",
54
+
"center": [ 0.5 ],
55
+
"polarization": [ 0.0, 1.0, 0.0 ],
56
+
"dimension": 1,
58
57
"magnitude": {
59
-
"type": "gaussian", // For now, only required if type InitPlanewave. (Gaussian)
60
-
"spread": 0.15,// Only if type = Initial/TDPlanewave/InitPlanewave (Gaussian for now). (double)
61
-
"delay": 1.0// Only if type = TDPlanewave, delay for the illumination (starts on 0.0, 0.0, 0.0);
58
+
"type": "gaussian",
59
+
"spread": 0.15,
60
+
"delay": 1.0
62
61
}
63
62
},
64
63
{
65
-
"type": "initial", // Type of Illumination (Initial, Resonant).
66
-
"field_type": "E", // Field to illuminate (E, H).
67
-
"polarization": [ 0.0, 1.0, 0.0 ], // Spatial polarization of the field to illuminate (3D Array (X, Y, Z)).
68
-
// Extra arguments if using specific types. Will assume defaults if not given(?).
64
+
"type": "initial",
65
+
"field_type": "E",
66
+
"polarization": [ 0.0, 1.0, 0.0 ],
69
67
"magnitude": {
70
68
"type": "resonant",
71
69
"mode": [ 2 ]
@@ -74,14 +72,13 @@
74
72
{
75
73
"type": "totalField",
76
74
"tags": [ 1, 2, 3, 4 ],
77
-
"magnitude": {
78
-
"type": "gaussian", // For now, only required if type InitPlanewave. (Gaussian)
79
-
"spread": 0.15, // Only if type = Initial/TDPlanewave/InitPlanewave (Gaussian for now). (double)
80
-
"delay": 1.0// Only if type = TDPlanewave, delay for the illumination (starts on 0.0, 0.0, 0.0);
81
-
},
82
75
"polarization": [ 0.0, 1.0, 0.0 ],
83
-
"propagation": [ 1.0, 0.0, 0.0 ] // Only if type = TDPlanewave/InitPlanewave. (3D Array (X, Y, Z)).
0 commit comments