1+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+ syntax = "proto3" ;
3+ package ansys.api.discovery.v0 ;
4+
5+ import "ansys/api/dbu/v0/dbumodels.proto" ;
6+
7+ option csharp_namespace = "Ansys.Api.Discovery.V0" ;
8+
9+ //
10+ // A Variation (represents a row into the variation table)
11+ message Variation {
12+ string id = 1 ;
13+ string name = 2 ;
14+ bool starred = 3 ;
15+ repeated InputParameter inputs = 4 ;
16+ repeated OutputParameter outputs = 5 ;
17+ }
18+
19+ //
20+ // An input column (represents the same input parameter across all the variations )
21+ message InputColumn {
22+ string id = 1 ;
23+ string name = 2 ;
24+ string range = 3 ;
25+ repeated InputParameter parameter_variations = 4 ;
26+ }
27+
28+ //
29+ // An output column (represents the same output parameter across all the variations )
30+ message OutputColumn {
31+ string id = 1 ;
32+ string name = 2 ;
33+ string range = 3 ;
34+ repeated OutputParameter parameter_variations = 4 ;
35+ }
36+
37+ //
38+ // An history track parameter
39+ message HistoryTrackParameter {
40+ string id = 1 ;
41+ string name = 2 ;
42+ ansys.api.dbu.v0.DimensionType dimension_type = 3 ;
43+ double dimension_value = 4 ;
44+ }
45+
46+ //
47+ // An input parameter
48+ message InputParameter {
49+ string id = 1 ;
50+ string parent_id = 2 ;
51+ string name = 3 ;
52+ QuantityType quantity_type = 4 ;
53+ double quantity_value = 5 ;
54+ int32 unit = 6 ;
55+ string unit_abbreviation = 7 ;
56+ InputParameterType input_type = 8 ;
57+ string parent_object_id = 9 ;
58+ }
59+
60+ enum InputParameterType {
61+ PHYSICS = 0 ;
62+ DRIVING_DIMENSION = 1 ;
63+ HISTORY_TRACK = 2 ;
64+ UNKNOWN = 3 ;
65+ }
66+
67+ //
68+ // An output parameter
69+ message OutputParameter {
70+ string id = 1 ;
71+ string parent_id = 2 ;
72+ string name = 3 ;
73+ QuantityType quantity_type = 4 ;
74+ double quantity_value = 5 ;
75+ int32 unit = 6 ;
76+ string unit_abbreviation = 7 ;
77+ }
78+
79+ //
80+ // A script parameter
81+ message ScriptParameter {
82+ string id = 1 ;
83+ string name = 2 ;
84+ ansys.api.dbu.v0.DimensionType dimension_type = 3 ;
85+ double dimension_value = 4 ;
86+ }
87+
88+ //
89+ // Represents the quantity type for a physics parameter.
90+ enum QuantityType {
91+ QUANTITY_TYPE_ACCELERATION = 0 ;
92+ QUANTITY_TYPE_ANGLE = 1 ;
93+ QUANTITY_TYPE_AREA = 2 ;
94+ QUANTITY_TYPE_AREA_DENSITY = 3 ;
95+ QUANTITY_TYPE_AREA_MOMENT_OF_INERTIA = 4 ;
96+ QUANTITY_TYPE_CAPACITANCE = 5 ;
97+ QUANTITY_TYPE_COEFFICIENT_OF_THERMAL_EXPANSION = 6 ;
98+ QUANTITY_TYPE_DENSITY = 7 ;
99+ QUANTITY_TYPE_DYNAMIC_VISCOSITY = 8 ;
100+ QUANTITY_TYPE_ELECTRIC_ADMITTANCE = 9 ;
101+ QUANTITY_TYPE_ELECTRIC_CHARGE = 10 ;
102+ QUANTITY_TYPE_ELECTRIC_CHARGE_DENSITY = 11 ;
103+ QUANTITY_TYPE_ELECTRIC_CONDUCTANCE = 12 ;
104+ QUANTITY_TYPE_ELECTRIC_CONDUCTIVITY = 13 ;
105+ QUANTITY_TYPE_ELECTRIC_CURRENT = 14 ;
106+ QUANTITY_TYPE_ELECTRIC_CURRENT_DENSITY = 15 ;
107+ QUANTITY_TYPE_ELECTRIC_CURRENT_GRADIENT = 16 ;
108+ QUANTITY_TYPE_ELECTRIC_FIELD = 17 ;
109+ QUANTITY_TYPE_ELECTRIC_INDUCTANCE = 18 ;
110+ QUANTITY_TYPE_ELECTRIC_POTENTIAL = 19 ;
111+ QUANTITY_TYPE_ELECTRIC_POTENTIAL_AC = 20 ;
112+ QUANTITY_TYPE_ELECTRIC_POTENTIAL_CHANGE_RATE = 21 ;
113+ QUANTITY_TYPE_ELECTRIC_POTENTIAL_DC = 22 ;
114+ QUANTITY_TYPE_ELECTRIC_RESISTANCE = 23 ;
115+ QUANTITY_TYPE_ELECTRIC_RESISTIVITY = 24 ;
116+ QUANTITY_TYPE_ELECTRIC_SURFACE_CHARGE_DENSITY = 25 ;
117+ QUANTITY_TYPE_ENERGY = 26 ;
118+ QUANTITY_TYPE_ENTROPY = 27 ;
119+ QUANTITY_TYPE_FORCE = 28 ;
120+ QUANTITY_TYPE_FORCE_CHANGE_RATE = 29 ;
121+ QUANTITY_TYPE_FORCE_PER_LENGTH = 30 ;
122+ QUANTITY_TYPE_FREQUENCY = 31 ;
123+ QUANTITY_TYPE_HEAT_FLUX = 32 ;
124+ QUANTITY_TYPE_HEAT_TRANSFER_COEFFICIENT = 33 ;
125+ QUANTITY_TYPE_INVERSE_AREA = 34 ;
126+ QUANTITY_TYPE_INVERSE_LENGTH = 35 ;
127+ QUANTITY_TYPE_KINEMATIC_VISCOSITY = 36 ;
128+ QUANTITY_TYPE_LENGTH = 37 ;
129+ QUANTITY_TYPE_MAGNETIC_FIELD = 38 ;
130+ QUANTITY_TYPE_MASS = 39 ;
131+ QUANTITY_TYPE_MASS_CONCENTRATION = 40 ;
132+ QUANTITY_TYPE_MASS_FLOW = 41 ;
133+ QUANTITY_TYPE_MASS_FLUX = 42 ;
134+ QUANTITY_TYPE_MASS_FRACTION = 43 ;
135+ QUANTITY_TYPE_MASS_MOMENT_OF_INERTIA = 44 ;
136+ QUANTITY_TYPE_MOLARITY = 45 ;
137+ QUANTITY_TYPE_MOLAR_MASS = 46 ;
138+ QUANTITY_TYPE_PERMEABILITY = 47 ;
139+ QUANTITY_TYPE_PERMITTIVITY = 48 ;
140+ QUANTITY_TYPE_POWER = 49 ;
141+ QUANTITY_TYPE_POWER_DENSITY = 50 ;
142+ QUANTITY_TYPE_POWER_RATIO = 51 ;
143+ QUANTITY_TYPE_PRESSURE = 52 ;
144+ QUANTITY_TYPE_RATIO = 53 ;
145+ QUANTITY_TYPE_RATIO_CHANGE_RATE = 54 ;
146+ QUANTITY_TYPE_REACTIVE_ENERGY = 55 ;
147+ QUANTITY_TYPE_REACTIVE_POWER = 56 ;
148+ QUANTITY_TYPE_ROTATIONAL_ACCELERATION = 57 ;
149+ QUANTITY_TYPE_ROTATIONAL_SPEED = 58 ;
150+ QUANTITY_TYPE_ROTATIONAL_STIFFNESS = 59 ;
151+ QUANTITY_TYPE_ROTATIONAL_STIFFNESS_PER_LENGTH = 60 ;
152+ QUANTITY_TYPE_SOLID_ANGLE = 61 ;
153+ QUANTITY_TYPE_SPECIFIC_ENERGY = 62 ;
154+ QUANTITY_TYPE_SPECIFIC_ENTROPY = 63 ;
155+ QUANTITY_TYPE_SPECIFIC_VOLUME = 64 ;
156+ QUANTITY_TYPE_SPECIFIC_WEIGHT = 65 ;
157+ QUANTITY_TYPE_SPEED = 66 ;
158+ QUANTITY_TYPE_TEMPERATURE = 67 ;
159+ QUANTITY_TYPE_TEMPERATURE_CHANGE_RATE = 68 ;
160+ QUANTITY_TYPE_TEMPERATURE_DELTA = 69 ;
161+ QUANTITY_TYPE_THERMAL_CONDUCTIVITY = 70 ;
162+ QUANTITY_TYPE_THERMAL_RESISTANCE = 71 ;
163+ QUANTITY_TYPE_TIME = 72 ;
164+ QUANTITY_TYPE_TORQUE = 73 ;
165+ QUANTITY_TYPE_TORQUE_PER_LENGTH = 74 ;
166+ QUANTITY_TYPE_VOLUME = 75 ;
167+ QUANTITY_TYPE_VOLUME_CONCENTRATION = 76 ;
168+ QUANTITY_TYPE_VOLUME_FLOW = 77 ;
169+ QUANTITY_TYPE_VOLUME_PER_LENGTH = 78 ;
170+ QUANTITY_TYPE_WARPING_MOMENT_OF_INERTIA = 79 ;
171+ }
0 commit comments