Skip to content

Commit 1f4a5e2

Browse files
authored
Define 3d microstructure simulation messages (#29)
1 parent d4abacb commit 1f4a5e2

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

ansys/api/additive/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.0-dev0
1+
1.6.0-dev1

ansys/api/additive/v0/additive_domain.proto

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,45 @@ message VoxelMeshInput {
247247
float voxel_size = 3;
248248
}
249249

250+
250251
message VoxelMeshResult {
251252
string voxel_file = 1; // name of voxel file on server
252253
}
253254

255+
message InitialMicrostructureInput {
256+
uint32 number_of_random_nuclei = 1;
257+
double x_dimension = 2;
258+
double y_dimension = 3;
259+
double z_dimension = 4;
260+
}
261+
262+
message Microstructure3DInput {
263+
double x_dimension = 1;
264+
double y_dimension = 2;
265+
double z_dimension = 3;
266+
optional bytes initial_grain_data = 4;
267+
optional bytes initial_euler_angle_data = 5;
268+
optional double x_origin = 16;
269+
optional double y_origin = 17;
270+
optional double z_origin = 18;
271+
optional double deposit_layer_thickness = 19;
272+
optional uint32 num_deposit_layers = 20;
273+
optional uint32 first_deposit_layer = 21;
274+
optional double thermal_domain_depth = 22;
275+
optional double x_thermal_domain_grid_spacing = 23;
276+
optional double y_thermal_domain_grid_spacing = 24;
277+
optional double z_thermal_domain_grid_spacing = 25;
278+
optional bool use_transient_bulk_nucleation = 26;
279+
optional double max_bulk_nucleation_density = 27;
280+
optional bool run_initial_microstructure = 28;
281+
optional InitialMicrostructureInput initial_microstructure_input = 29;
282+
optional MachineSettings machine = 30;
283+
optional AdditiveMaterial material = 31;
284+
optional double use_provided_initial_microstructure_data = 32;
285+
optional string thermal_data_file_type = 33;
286+
}
287+
288+
message Microstructure3DResult {
289+
bytes three_d_vtk = 1;
290+
MicrostructureResult two_d_result = 2;
291+
}

ansys/api/additive/v0/additive_simulation.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ message SimulationResponse {
2323
MicrostructureResult microstructure_result = 14;
2424
ThermalHistoryResult thermal_history_result = 15;
2525
ThermalStrainResult thermal_strain_result = 16;
26+
Microstructure3DResult microstructure_3d_result = 17;
2627
}
2728
}
2829

0 commit comments

Comments
 (0)