ansys-api-discovery 0.6.3__tar.gz → 0.6.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-api-discovery might be problematic. Click here for more details.

Files changed (58) hide show
  1. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/PKG-INFO +13 -4
  2. ansys_api_discovery-0.6.5/ansys/api/discovery/VERSION +1 -0
  3. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
  4. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
  5. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/bearing.proto +47 -0
  6. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
  7. ansys_api_discovery-0.6.3/ansys/api/discovery/v0/conditions.proto → ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/condition.proto +5 -4
  8. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/convection.proto +43 -0
  9. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/displacement.proto +105 -0
  10. ansys_api_discovery-0.6.3/ansys/api/discovery/v0/conditionsfluid.proto → ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/flow.proto +19 -24
  11. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
  12. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/force.proto +131 -0
  13. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/gravity.proto +39 -0
  14. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/heat.proto +90 -0
  15. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/insulated.proto +34 -0
  16. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/mass.proto +49 -0
  17. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/moment.proto +67 -0
  18. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/porous.proto +116 -0
  19. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/pressure.proto +43 -0
  20. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
  21. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
  22. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
  23. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/support.proto +98 -0
  24. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/velocity.proto +58 -0
  25. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/conditions/wall.proto +209 -0
  26. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/connections/contact.proto +110 -0
  27. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
  28. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/connections/joint.proto +56 -0
  29. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/discoverymodels.proto +34 -17
  30. ansys_api_discovery-0.6.5/ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
  31. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/monitors.proto +4 -4
  32. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/solution.proto +4 -3
  33. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/unsupported.proto +10 -0
  34. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys_api_discovery.egg-info/PKG-INFO +13 -4
  35. ansys_api_discovery-0.6.5/ansys_api_discovery.egg-info/SOURCES.txt +52 -0
  36. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys_api_discovery.egg-info/requires.txt +1 -1
  37. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/pyproject.toml +1 -1
  38. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/setup.py +1 -1
  39. ansys_api_discovery-0.6.3/ansys/api/discovery/VERSION +0 -1
  40. ansys_api_discovery-0.6.3/ansys/api/discovery/v0/conditionsstructural.proto +0 -595
  41. ansys_api_discovery-0.6.3/ansys/api/discovery/v0/conditionsthermal.proto +0 -179
  42. ansys_api_discovery-0.6.3/ansys_api_discovery.egg-info/SOURCES.txt +0 -29
  43. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/LICENSE +0 -0
  44. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/README.md +0 -0
  45. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/__init__.py +0 -0
  46. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/py.typed +0 -0
  47. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/__init__.py +0 -0
  48. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/definedvariationstable.proto +0 -0
  49. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/historytrackparameters.proto +0 -0
  50. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/messaging.proto +0 -0
  51. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/results.proto +0 -0
  52. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/scriptparameters.proto +0 -0
  53. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/simulations.proto +0 -0
  54. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys/api/discovery/v0/units.proto +0 -0
  55. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys_api_discovery.egg-info/dependency_links.txt +0 -0
  56. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys_api_discovery.egg-info/entry_points.txt +0 -0
  57. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/ansys_api_discovery.egg-info/top_level.txt +0 -0
  58. {ansys_api_discovery-0.6.3 → ansys_api_discovery-0.6.5}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ansys-api-discovery
3
- Version: 0.6.3
4
- Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 07:03:19 on 09 December 2024
3
+ Version: 0.6.5
4
+ Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 13:45:01 on 12 February 2025
5
5
  Home-page: https://github.com/ansys/ansys-api-discovery
6
6
  Author: ANSYS, Inc.
7
7
  Author-email: support@ansys.com
@@ -11,7 +11,16 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: grpcio~=1.44
13
13
  Requires-Dist: protobuf<6,>=3.19
14
- Requires-Dist: ansys-api-geometry==0.4.10
14
+ Requires-Dist: ansys-api-geometry==0.4.37
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: license
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
15
24
 
16
25
  ### ansys-api-discovery gRPC Interface Package
17
26
 
@@ -0,0 +1,40 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.assignments.boltassignment;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+ import "ansys/api/discovery/v0/engineeringdata/boltdata.proto";
8
+
9
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Assignments";
10
+
11
+ service BoltAssignment
12
+ {
13
+ //BoltAssignment condition methods
14
+ rpc CreateBoltAssignment(BoltAssignmentCreationRequest) returns (BoltAssignmentCreationResponse);
15
+ }
16
+
17
+ //BoltAssignment
18
+ message BoltAssignmentCreationRequest{
19
+ ScopedCreationData creation_data = 1;
20
+ BoltAssignmentProperties bolt_assignment_properties = 2;
21
+ }
22
+
23
+ message BoltAssignmentCreationResponse{
24
+ CreationResponse condition_response = 1;
25
+ BoltAssignmentDefinition condition_data = 2;
26
+ }
27
+
28
+ //BoltAssignment condition definitions
29
+ message BoltAssignmentProperties {
30
+ ansys.api.discovery.v0.engineeringdata.boltdata.BoltDataDefinition definition = 1;
31
+ }
32
+
33
+ message BoltAssignmentDefinition {
34
+ ansys.api.dbu.v0.EntityIdentifier id = 1;
35
+ ansys.api.dbu.v0.EntityIdentifier parent_id = 2;
36
+ string label = 3;
37
+ repeated string locations = 4;
38
+ bool suppressed = 5;
39
+ BoltAssignmentProperties bolt = 6;
40
+ }
@@ -0,0 +1,52 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.acceleration;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service Acceleration
11
+ {
12
+ //Acceleration condition methods
13
+ rpc CreateAcceleration(AccelerationCreationRequest) returns (AccelerationCreationResponse);
14
+
15
+ rpc ChangeAccelerationLocation(ChangeLocationRequest) returns(ChangeResponse);
16
+
17
+ rpc ChangeAccelerationOrientation(ChangeDirectionRequest) returns(ChangeResponse);
18
+
19
+ rpc ChangeAccelerationDX(ChangeQuantityRequest) returns (ChangeResponse);
20
+ rpc ChangeAccelerationDY(ChangeQuantityRequest) returns (ChangeResponse);
21
+ rpc ChangeAccelerationDZ(ChangeQuantityRequest) returns (ChangeResponse);
22
+ rpc ChangeAccelerationTranslationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
23
+
24
+ rpc ChangeAccelerationIsFixedDX(ChangeBooleanRequest) returns (ChangeResponse);
25
+ rpc ChangeAccelerationIsFixedDY(ChangeBooleanRequest) returns (ChangeResponse);
26
+ rpc ChangeAccelerationIsFixedDZ(ChangeBooleanRequest) returns (ChangeResponse);
27
+ }
28
+
29
+ //Acceleration
30
+ message AccelerationCreationRequest{
31
+ ScopedCreationData creation_data = 1;
32
+ AccelerationProperties acceleration_properties = 2;
33
+ }
34
+
35
+ message AccelerationCreationResponse{
36
+ CreationResponse condition_response = 1;
37
+ AccelerationDefinition condition_data = 2;
38
+ }
39
+
40
+ // Acceleration condition definitions
41
+ message AccelerationProperties {
42
+ VectorOfOptionalQuantities acceleration = 1;
43
+ }
44
+
45
+ message AccelerationDefinition {
46
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
47
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
48
+ string label = 3;
49
+ repeated string locations = 4;
50
+ bool suppressed = 5;
51
+ AccelerationProperties acceleration = 6;
52
+ }
@@ -0,0 +1,47 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.bearing;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service Bearing
11
+ {
12
+ //Bearing condition methods
13
+ rpc CreateBearing(BearingCreationRequest) returns (BearingCreationResponse);
14
+
15
+ rpc ChangeBearingLocation(ChangeLocationRequest) returns(ChangeResponse);
16
+
17
+ rpc ChangeBearingRadialForce(ChangeQuantityRequest) returns (ChangeResponse);
18
+ rpc ChangeBearingThrustForce(ChangeQuantityRequest) returns (ChangeResponse);
19
+ rpc ChangeBearingAngle(ChangeQuantityRequest) returns (ChangeResponse);
20
+ }
21
+
22
+ //Bearing
23
+ message BearingCreationRequest{
24
+ ScopedCreationData creation_data = 1;
25
+ BearingProperties bearing_properties = 2;
26
+ }
27
+
28
+ message BearingCreationResponse{
29
+ CreationResponse condition_response = 1;
30
+ BearingDefinition condition_data = 2;
31
+ }
32
+
33
+ // Bearing condition definitions
34
+ message BearingProperties {
35
+ Quantity radial_force = 1;
36
+ Quantity thrust_force = 2;
37
+ Quantity angle = 3;
38
+ }
39
+
40
+ message BearingDefinition {
41
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
42
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
43
+ string label = 3;
44
+ repeated string locations = 4;
45
+ bool suppressed = 5;
46
+ BearingProperties bearing = 6;
47
+ }
@@ -0,0 +1,94 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.boltpreload;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service BoltPreload
11
+ {
12
+ //Bolt prestress condition methods
13
+ rpc CreateBoltPreloadClampForce(BoltPreloadClampForceCreationRequest) returns (BoltPreloadCreationResponse);
14
+ rpc CreateBoltPreloadGripLength(BoltPreloadGripLengthCreationRequest) returns (BoltPreloadCreationResponse);
15
+ rpc CreateBoltPreloadTorque(BoltPreloadTorqueCreationRequest) returns (BoltPreloadCreationResponse);
16
+
17
+ rpc ChangeBoltPreloadSide1Location(ChangeLocationExtendedRequest) returns(ChangeResponse);
18
+ rpc ChangeBoltPreloadSide2Location(ChangeLocationRequest) returns(ChangeResponse);
19
+
20
+ rpc ChangeBoltPreloadSpecification(ChangeBoltPreloadSpecificationRequest) returns(ChangeResponse);
21
+
22
+ rpc ChangeBoltPreloadClampForce(ChangeQuantityRequest) returns (ChangeResponse);
23
+ rpc ChangeBoltPreloadGripLength(ChangeQuantityRequest) returns (ChangeResponse);
24
+ rpc ChangeBoltPreloadTorque(ChangeQuantityRequest) returns (ChangeResponse);
25
+
26
+ rpc ChangeBoltPreloadTorqueCoefficient(ChangeQuantityRequest) returns (ChangeResponse);
27
+ rpc ChangeBoltPreloadSpecifyBoltDiameter(ChangeBooleanRequest) returns (ChangeResponse);
28
+ rpc ChangeBoltPreloadShankDiameter(ChangeQuantityRequest) returns (ChangeResponse);
29
+ }
30
+
31
+ //Creation
32
+ message BoltPreloadClampForceCreationRequest{
33
+ DoubleSidedScopedCreationData creation_data = 1;
34
+ BoltPreloadClampForceProperties clamp_force_properties = 2;
35
+ }
36
+
37
+ message BoltPreloadGripLengthCreationRequest{
38
+ DoubleSidedScopedCreationData creation_data = 1;
39
+ BoltPreloadGripLengthProperties grip_length_properties = 2;
40
+ }
41
+
42
+ message BoltPreloadTorqueCreationRequest{
43
+ DoubleSidedScopedCreationData creation_data = 1;
44
+ BoltPreloadTorqueProperties torque_properties = 2;
45
+ }
46
+
47
+ message BoltPreloadCreationResponse{
48
+ CreationResponse condition_response = 1;
49
+ BoltPreloadDefinition condition_data = 2;
50
+ }
51
+
52
+ //Other requests
53
+
54
+ message ChangeBoltPreloadSpecificationRequest{
55
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
56
+ BoltPreloadSpecification specification = 2;
57
+ }
58
+
59
+ // Enumerations
60
+
61
+ enum BoltPreloadSpecification {
62
+ CLAMPFORCE = 0;
63
+ GRIPLENGTH = 1;
64
+ TORQUE = 2;
65
+ }
66
+
67
+ // Condition definitions
68
+
69
+ message BoltPreloadClampForceProperties {
70
+ Quantity clamp_force = 1;
71
+ }
72
+
73
+ message BoltPreloadGripLengthProperties {
74
+ Quantity grip_length = 1;
75
+ }
76
+
77
+ message BoltPreloadTorqueProperties {
78
+ Quantity torque = 1;
79
+ double torque_coefficient = 2;
80
+ OptionalQuantity boltdiameter = 3;
81
+ }
82
+
83
+ message BoltPreloadDefinition {
84
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
85
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
86
+ string label = 3;
87
+ repeated string side1_locations = 4;
88
+ repeated string side2_locations = 5;
89
+ bool suppressed = 6;
90
+ BoltPreloadSpecification specification = 7;
91
+ BoltPreloadClampForceProperties clamp_force_properties = 8;
92
+ BoltPreloadGripLengthProperties grip_length_properties = 9;
93
+ BoltPreloadTorqueProperties torque_properties = 10;
94
+ }
@@ -2,11 +2,12 @@
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions;
4
4
 
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
5
6
  import "ansys/api/discovery/v0/discoverymodels.proto";
6
7
 
7
8
  option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
8
9
 
9
- service Conditions
10
+ service Condition
10
11
  {
11
12
  //General condition methods
12
13
  rpc DeleteCondition(DeleteConditionRequest) returns (ChangeResponse);
@@ -18,15 +19,15 @@ service Conditions
18
19
 
19
20
  //General Requests
20
21
  message DeleteConditionRequest{
21
- string object_id = 1;
22
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
22
23
  }
23
24
 
24
25
  message ChangeConditionSuppressionStateRequest{
25
- string object_id = 1;
26
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
26
27
  bool is_suppressed = 2;
27
28
  }
28
29
 
29
30
  message ChangeConditionNameRequest{
30
- string object_id = 1;
31
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
31
32
  string new_name = 2;
32
33
  }
@@ -0,0 +1,43 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.convection;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service Convection
11
+ {
12
+ rpc CreateConvection(ConvectionCreationRequest) returns (ConvectionCreationResponse);
13
+
14
+ rpc ChangeConvectionLocation(ChangeLocationRequest) returns(ChangeResponse);
15
+
16
+ rpc ChangeConvectionCoefficientMagnitude(ChangeQuantityRequest) returns(ChangeResponse);
17
+
18
+ rpc ChangeConvectionTemperatureMagnitude(ChangeQuantityRequest) returns(ChangeResponse);
19
+ }
20
+
21
+ //Requests and responses
22
+ message ConvectionCreationRequest{
23
+ ScopedCreationData creation_data = 1;
24
+ Quantity coefficient = 2;
25
+ Quantity temperature = 3;
26
+
27
+ }
28
+
29
+ message ConvectionCreationResponse{
30
+ CreationResponse condition_response = 1;
31
+ ConvectionDefinition condition_data = 2;
32
+ }
33
+
34
+ //Definitions
35
+ message ConvectionDefinition {
36
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
37
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
38
+ string label = 3;
39
+ repeated string locations = 4;
40
+ bool suppressed = 5;
41
+ Quantity coefficient = 6;
42
+ Quantity temperature = 7;
43
+ }
@@ -0,0 +1,105 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.displacement;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service Displacement
11
+ {
12
+ //Displacement condition methods
13
+ rpc CreateDisplacementTranslation(DisplacementTranslationCreationRequest) returns (DisplacementCreationResponse);
14
+ rpc CreateDisplacementRotation(DisplacementRotationCreationRequest) returns (DisplacementCreationResponse);
15
+ rpc CreateDisplacementCombined(DisplacementCombinedCreationRequest) returns (DisplacementCreationResponse);
16
+
17
+ rpc ChangeDisplacementLocation(ChangeLocationRequest) returns(ChangeResponse);
18
+
19
+ rpc ChangeDisplacementSpecification(ChangeDisplacementSpecificationRequest) returns(ChangeResponse);
20
+ rpc ChangeDisplacementOrientation(ChangeDirectionRequest) returns(ChangeResponse);
21
+
22
+ rpc ChangeDisplacementDX(ChangeQuantityRequest) returns (ChangeResponse);
23
+ rpc ChangeDisplacementDY(ChangeQuantityRequest) returns (ChangeResponse);
24
+ rpc ChangeDisplacementDZ(ChangeQuantityRequest) returns (ChangeResponse);
25
+ rpc ChangeDisplacementTranslationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
26
+
27
+ rpc ChangeDisplacementRX(ChangeQuantityRequest) returns (ChangeResponse);
28
+ rpc ChangeDisplacementRY(ChangeQuantityRequest) returns (ChangeResponse);
29
+ rpc ChangeDisplacementRZ(ChangeQuantityRequest) returns (ChangeResponse);
30
+ rpc ChangeDisplacementRotationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
31
+
32
+ rpc ChangeDisplacementIsFixedDX(ChangeBooleanRequest) returns (ChangeResponse);
33
+ rpc ChangeDisplacementIsFixedDY(ChangeBooleanRequest) returns (ChangeResponse);
34
+ rpc ChangeDisplacementIsFixedDZ(ChangeBooleanRequest) returns (ChangeResponse);
35
+
36
+ rpc ChangeDisplacementIsFixedRX(ChangeBooleanRequest) returns (ChangeResponse);
37
+ rpc ChangeDisplacementIsFixedRY(ChangeBooleanRequest) returns (ChangeResponse);
38
+ rpc ChangeDisplacementIsFixedRZ(ChangeBooleanRequest) returns (ChangeResponse);
39
+
40
+ rpc ChangeDisplacementUseRemotePointEnabled(ChangeBooleanRequest) returns (ChangeResponse);
41
+ rpc ChangeDisplacementDistributedRemotePositionX(ChangeQuantityRequest) returns (ChangeResponse);
42
+ rpc ChangeDisplacementDistributedRemotePositionY(ChangeQuantityRequest) returns (ChangeResponse);
43
+ rpc ChangeDisplacementDistributedRemotePositionZ(ChangeQuantityRequest) returns (ChangeResponse);
44
+ }
45
+
46
+ // Displacement
47
+ message DisplacementTranslationCreationRequest{
48
+ ScopedCreationData creation_data = 1;
49
+ DisplacementTranslationProperties displacement_properties = 2;
50
+ }
51
+
52
+ message DisplacementRotationCreationRequest{
53
+ ScopedCreationData creation_data = 1;
54
+ DisplacementRotationProperties displacement_properties = 2;
55
+ }
56
+
57
+ message DisplacementCombinedCreationRequest{
58
+ ScopedCreationData creation_data = 1;
59
+ DisplacementCombinedProperties displacement_properties = 2;
60
+ }
61
+
62
+ message DisplacementCreationResponse{
63
+ CreationResponse condition_response = 1;
64
+ DisplacementDefinition condition_data = 2;
65
+ }
66
+
67
+ message ChangeDisplacementSpecificationRequest{
68
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
69
+ DisplacementSpecification displacement_specification = 2;
70
+ }
71
+
72
+ // Displacement enumerations
73
+
74
+ enum DisplacementSpecification {
75
+ TRANSLATION = 0;
76
+ ROTATION = 1;
77
+ COMBINED = 2;
78
+ }
79
+
80
+ // Displacement condition definitions
81
+
82
+ message DisplacementTranslationProperties {
83
+ VectorOfOptionalQuantities displacement = 1;
84
+ OptionalVector remote_point = 2;
85
+ }
86
+
87
+ message DisplacementRotationProperties {
88
+ VectorOfOptionalQuantities rotation = 1;
89
+ OptionalVector remote_point = 2;
90
+ }
91
+
92
+ message DisplacementCombinedProperties {
93
+ VectorOfOptionalQuantities displacement = 1;
94
+ VectorOfOptionalQuantities rotation = 2;
95
+ OptionalVector remote_point = 3;
96
+ }
97
+
98
+ message DisplacementDefinition {
99
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
100
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
101
+ string label = 3;
102
+ repeated string locations = 4;
103
+ bool suppressed = 5;
104
+ DisplacementCombinedProperties displacement = 6;
105
+ }
@@ -1,12 +1,13 @@
1
1
  // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
2
  syntax = "proto3";
3
- package ansys.api.discovery.v0.conditions.conditionsfluid;
3
+ package ansys.api.discovery.v0.conditions.flow;
4
4
 
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
5
6
  import "ansys/api/discovery/v0/discoverymodels.proto";
6
7
 
7
- option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions.ConditionsFluid";
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
8
9
 
9
- service ConditionsFluid
10
+ service Flow
10
11
  {
11
12
  //Fluid flow methods
12
13
  rpc CreateFlowVelocityInlet(FlowVelocityInletCreationRequest) returns (FlowVelocityInletCreationResponse);
@@ -116,12 +117,12 @@ message FlowMassFlowOutletCreationResponse{
116
117
  }
117
118
 
118
119
  message ChangeFlowSpecificationRequest{
119
- string object_id = 1;
120
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
120
121
  FlowSpecificationDefinition specification = 2;
121
122
  }
122
123
 
123
124
  message ChangeFlowDirectionRequest{
124
- string object_id = 1;
125
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
125
126
  FlowDirectionDefinition direction = 2;
126
127
  bool reset_to_default_subtype = 3;
127
128
  }
@@ -186,8 +187,8 @@ message FlowThermalProperties
186
187
  // Fluid conditions definitions
187
188
 
188
189
  message FlowVelocityInletDefinition {
189
- string id = 1;
190
- string parent_id = 2;
190
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
191
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
191
192
  string label = 3;
192
193
  repeated string locations = 4;
193
194
  bool suppressed = 5;
@@ -195,8 +196,8 @@ message FlowVelocityInletDefinition {
195
196
  }
196
197
 
197
198
  message FlowVelocityOutletDefinition {
198
- string id = 1;
199
- string parent_id = 2;
199
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
200
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
200
201
  string label = 3;
201
202
  repeated string locations = 4;
202
203
  bool suppressed = 5;
@@ -204,8 +205,8 @@ message FlowVelocityOutletDefinition {
204
205
  }
205
206
 
206
207
  message FlowPressureInletDefinition {
207
- string id = 1;
208
- string parent_id = 2;
208
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
209
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
209
210
  string label = 3;
210
211
  repeated string locations = 4;
211
212
  bool suppressed = 5;
@@ -213,8 +214,8 @@ message FlowPressureInletDefinition {
213
214
  }
214
215
 
215
216
  message FlowPressureOutletDefinition {
216
- string id = 1;
217
- string parent_id = 2;
217
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
218
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
218
219
  string label = 3;
219
220
  repeated string locations = 4;
220
221
  bool suppressed = 5;
@@ -222,8 +223,8 @@ message FlowPressureOutletDefinition {
222
223
  }
223
224
 
224
225
  message FlowMassFlowInletDefinition {
225
- string id = 1;
226
- string parent_id = 2;
226
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
227
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
227
228
  string label = 3;
228
229
  repeated string locations = 4;
229
230
  bool suppressed = 5;
@@ -231,16 +232,10 @@ message FlowMassFlowInletDefinition {
231
232
  }
232
233
 
233
234
  message FlowMassFlowOutletDefinition {
234
- string id = 1;
235
- string parent_id = 2;
235
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
236
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
236
237
  string label = 3;
237
238
  repeated string locations = 4;
238
239
  bool suppressed = 5;
239
240
  MassFlowOutletProperties mass_flow_outlet = 6;
240
- }
241
-
242
-
243
-
244
- // Wall condition definitions
245
- // Porous condition definition
246
- // Fan condition definition
241
+ }
@@ -0,0 +1,13 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.fluidinitialtemperature;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service FluidInitialTemperature
11
+ {
12
+ rpc ChangeTemperatureMagnitude(ChangeQuantityRequest) returns(ChangeResponse);
13
+ }