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
"__description": "Defines the evolution operator that will be used in the simulation. Can be 'Centered' or 'Upwind'.",
5
-
"type": "string",
6
-
"default": "Centered",
7
-
"enum": ["Centered", "Upwind"]
8
-
},
9
-
"final_time": {
10
-
"__description": "In Natural Units (1m/c), how long the problem will be simulated.",
11
-
"type": "double",
12
-
"default": 2.0
13
-
},
14
-
"time_step": {
15
-
"__description": "In Natural Units (1m/c), defines the time step increments between iterations. If not defined or set to 0.0 in 1D, will use an automatic time step calculation approach through CFL's condition. Must be defined in 2D and/or 3D. Overrides CFL for 1D if defined.",
16
-
"type": "double",
17
-
"default": 0.0
18
-
},
19
-
"cfl": {
20
-
"__description": "Courant–Friedrichs–Lewy condition, defines time step increments between iterations for 1D. Not available for 2D and/or 3D. If 'time_step' is defined this parameter is ignored.",
21
-
"type": "double",
22
-
"minimum": 0.1,
23
-
"maximum": 1.0,
24
-
"default": 0.7
25
-
},
26
-
"order": {
27
-
"__description": "Polynomial order of the interpolation function used on the mesh elements.",
28
-
"type": "integer",
29
-
"minimum": 0,
30
-
"default": 3
31
-
},
32
-
"spectral": {
33
-
"__description": "Use an Evolution Operator that uses a complete matrix form for all E and H unknowns but allows to calculate an approximate time step through analysis of the Eigenvalues of the matrix. Heavy computational cost, slower than the default Evolution Operators. Does not support the latest features.",
34
-
"type": "boolean",
35
-
"default": false
36
-
}
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
37
9
},
38
10
39
-
"model": {
40
-
"__description": "Contains the information relevant to the mesh, materials and boundary conditions.",
41
-
"type": "object",
42
-
"filename": {
43
-
"__description": "Name of the mesh file. Must be the same as the folder name.",
44
-
"type": "string"
45
-
},
46
-
"materials": {
47
-
"__description": "Contains the physical information of the interiors of the materials in the problem.",
48
-
"type": "array",
11
+
"model": {
12
+
"filename": "1D_PEC_Centered.msh",
13
+
"materials": [
49
14
{
50
-
"tags": {
51
-
"__description": "Contains the tags referring to the geometrical identification of volumetrical elements in the mesh. (Volumes in 3D, Surfaces in 2D, Segments in 1D.)",
52
-
"type": "array of integers"
53
-
},
54
-
"class": {
55
-
"__description": "Type of material.",
56
-
"type": "string",
57
-
"enum": [ "Vacuum", "Dielectric", "Conductor" ]
58
-
},
59
-
"relative_permittivity": {
60
-
"__description": "Relative permittivity of the material.",
61
-
"type": "double",
62
-
"minimum": 1.0,
63
-
"default": 1.0
64
-
},
65
-
"relative_permeability": {
66
-
"__description": "Relative permeability of the material.",
67
-
"type": "double",
68
-
"minimum": 1.0,
69
-
"default": 1.0
70
-
}
71
-
}
72
-
},
73
-
"boundaries": {
74
-
"__description": "Contains the physical information of the surfaces of the problem.",
75
-
"type": "array",
15
+
"tags": [ 1 ],
16
+
"type": "Vacuum"
17
+
},
76
18
{
77
-
"tags": {
78
-
"__description": "Contains the tags referring to the geometrical identification of surface elements in the mesh. (Surfaces in 3D, Segments in 2D, Points in 1D.)",
79
-
"type": "array of integers"
80
-
},
81
-
"class": {
82
-
"__description": "Type of boundary condition.",
83
-
"type": "string",
84
-
"enum": [ "PEC", "PMC", "SMA" ]
85
-
}
19
+
"tags": [ 2 ],
20
+
"type": "Dielectric",
21
+
"relative_permittivity": 3.1
86
22
}
87
-
},
88
-
89
-
"probes": {
90
-
"__description": "Contains the information relevant to data extraction.",
91
-
"type": "object",
23
+
],
24
+
"boundaries": [
92
25
{
93
-
"exporter": {
94
-
"__description": "If defined, all fields will be exported for Paraview visualization.",
95
-
"type": "object",
96
-
{
97
-
"steps": {
98
-
"__description": "Every how many time steps data should be extracted.",
99
-
"type": "integer",
100
-
"minimum": 1,
101
-
"default": 1
102
-
}
103
-
}
104
-
},
105
-
"points": {
106
-
"__description": "If defined, will extract all components of the specified field at the defined position.",
107
-
"type": "object"
108
-
{
109
-
"field": {
110
-
"__description": "Field to extract.",
111
-
"type": "string",
112
-
"enum": ["E", "H"]
113
-
},
114
-
"position": {
115
-
"__description": "Physical space position of the extraction. Must be defined within valid mesh limits or the simulation will crash.",
0 commit comments