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
@@ -21,12 +21,14 @@ Tulip uses three types of file formats:
21
21
-`CASE_NAME.tulip.out.json` which is the solver output containing the $L$ and $C$ PUL matrices for shielded domains and the multipolar expansion coefficients for an open domain.
22
22
23
23
# .tulip.input.json file format
24
-
Tulip receives a JSON object as an input with the entries described below. Square brackets indicate that the entry is optional and a default value will be assumed, angle brackets indicate that the entry is mandatory.
24
+
Tulip receives a JSON object as an input with the entries described below. Square brackets indicate that the entry is optional and a default value will be assumed, angle brackets indicate that the entry is mandatory.
25
25
26
26
Unless specified otherwise all units are assumed to be in SI-MKS.
27
27
28
28
Filename should be in the format `CASE_NAME.tulip.input.json`.
29
29
30
+
At minimum, the input JSON must include top-level `materials` and `layers` arrays.
31
+
30
32
## `[adapterOptions]`
31
33
It can contain the following entries, as explained in [AdapterOption.h](../src/adapter/AdapterOptions.h) with their corresponding default values. An example is shown below.
32
34
```json
@@ -49,7 +51,7 @@ Driver manages the solver`and generates outputs. Default options can be checked
49
51
```
50
52
51
53
## `<materials>`
52
-
These materials are associated with `model``layers` to define regions with different material properties.
54
+
These materials are associated with top-level`layers` to define regions with different material properties.
53
55
They are defined by an array of JSON objects with:
54
56
-`[name]` a string with a human readable name.
55
57
-`<id>` an integer identifier with a unique number.
@@ -84,12 +86,11 @@ A dielectric is defined with a `[relativePermittivity]` which defaults to `1.0`.
84
86
An `open` material serves to specify the computational boundary of the problem. It must intersect every other material layer. If no open boundary is specified for an open problem, one is computed automatically, together with _inner_ and _outer_ regions used to extract the unshielded multiwire coefficients.
85
87
86
88
87
-
## `<model>`
88
-
This object can contain the following entries:
89
-
+`<layers>` which is an array which associates the layers present in the `.step` file with the different `materials`. Each layer is specified by:
90
-
-`<name>` which must match exactly the name of the corresponding layer within the `.step` file. It must be unique.
91
-
-`<id>` which is an integer non-negative unique identifier which will be used to order the results for the calculated PUL matrices.
92
-
-`<materialId>` which must match an `id` from a material in the list of `materials`
89
+
## `<layers>`
90
+
This top-level array associates the layers present in the `.step` file with the different `materials`. Each layer is specified by:
91
+
-`<name>` which must match exactly the name of the corresponding layer within the `.step` file. It must be unique.
92
+
-`<id>` which is an integer non-negative unique identifier which will be used to order the results for the calculated PUL matrices.
93
+
-`<materialId>` which must match an `id` from a material in the list of `materials`
93
94
94
95
95
96
# .tulip.adapted.json file format
@@ -177,4 +178,4 @@ This object can contain the following entries:
177
178
178
179
For unshielded-domains stores the parameters needed to reconstruct the field using a multipolar expansion.
179
180
180
-
It also stores `materialAssociation` information which serves to reconstruct the
181
+
It also stores `materialAssociation` information which serves to reconstruct the
0 commit comments