whding123 commited on
Commit
c437e3e
·
verified ·
1 Parent(s): fc729ae

Remove cfd_data_fix (merged into cfd_data) and the mesh folders angioflow_fix, angioflow_fix_batch2

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. angioflow_fix/VbMgxonVZy_aneurysm1/branch_ranking.npy +0 -3
  2. angioflow_fix/VbMgxonVZy_aneurysm1/forward_fusion_info.npz +0 -3
  3. angioflow_fix/VbMgxonVZy_aneurysm1/fusion_info_extruded.npz +0 -3
  4. angioflow_fix/VbMgxonVZy_aneurysm1/geomagic_processed.obj +0 -3
  5. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_forward_fusion_info.npz +0 -3
  6. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_fusion_params.json +0 -11
  7. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_merged_reconstruction.obj +0 -0
  8. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_reconstructed.obj +0 -0
  9. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_smoothed_reconstruction.obj +0 -0
  10. angioflow_fix/VbMgxonVZy_aneurysm1/ghd_surface.vtp +0 -0
  11. angioflow_fix/VbMgxonVZy_aneurysm1/inlet_centroids.csv +0 -0
  12. angioflow_fix/VbMgxonVZy_aneurysm1/jnl_transient +0 -24
  13. angioflow_fix/VbMgxonVZy_aneurysm1/mesh.msh +0 -3
  14. angioflow_fix/VbMgxonVZy_aneurysm1/mesh.vtu +0 -3
  15. angioflow_fix/VbMgxonVZy_aneurysm1/parabolic_vinlet_udf_full.c +0 -200
  16. angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh.obj +0 -0
  17. angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh.vtp +0 -0
  18. angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh_regularization.json +0 -194
  19. angioflow_fix/VbMgxonVZy_aneurysm1/udf_waveform_5cycles.txt +0 -0
  20. angioflow_fix/VyKbIURnoD_aneurysm1/branch_ranking.npy +0 -3
  21. angioflow_fix/VyKbIURnoD_aneurysm1/forward_fusion_info.npz +0 -3
  22. angioflow_fix/VyKbIURnoD_aneurysm1/fusion_info_extruded.npz +0 -3
  23. angioflow_fix/VyKbIURnoD_aneurysm1/geomagic_processed.obj +0 -3
  24. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_forward_fusion_info.npz +0 -3
  25. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_fusion_params.json +0 -11
  26. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_merged_reconstruction.obj +0 -0
  27. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_reconstructed.obj +0 -0
  28. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_smoothed_reconstruction.obj +0 -0
  29. angioflow_fix/VyKbIURnoD_aneurysm1/ghd_surface.vtp +0 -0
  30. angioflow_fix/VyKbIURnoD_aneurysm1/inlet_centroids.csv +0 -0
  31. angioflow_fix/VyKbIURnoD_aneurysm1/jnl_transient +0 -24
  32. angioflow_fix/VyKbIURnoD_aneurysm1/mesh.msh +0 -3
  33. angioflow_fix/VyKbIURnoD_aneurysm1/mesh.vtu +0 -3
  34. angioflow_fix/VyKbIURnoD_aneurysm1/parabolic_vinlet_udf_full.c +0 -200
  35. angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh.obj +0 -0
  36. angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh.vtp +0 -0
  37. angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh_regularization.json +0 -194
  38. angioflow_fix/VyKbIURnoD_aneurysm1/udf_waveform_5cycles.txt +0 -0
  39. angioflow_fix/W1GD4X6con_aneurysm1/branch_ranking.npy +0 -3
  40. angioflow_fix/W1GD4X6con_aneurysm1/forward_fusion_info.npz +0 -3
  41. angioflow_fix/W1GD4X6con_aneurysm1/fusion_info_extruded.npz +0 -3
  42. angioflow_fix/W1GD4X6con_aneurysm1/geomagic_processed.obj +0 -3
  43. angioflow_fix/W1GD4X6con_aneurysm1/ghd_forward_fusion_info.npz +0 -3
  44. angioflow_fix/W1GD4X6con_aneurysm1/ghd_fusion_params.json +0 -11
  45. angioflow_fix/W1GD4X6con_aneurysm1/ghd_merged_reconstruction.obj +0 -0
  46. angioflow_fix/W1GD4X6con_aneurysm1/ghd_reconstructed.obj +0 -0
  47. angioflow_fix/W1GD4X6con_aneurysm1/ghd_smoothed_reconstruction.obj +0 -0
  48. angioflow_fix/W1GD4X6con_aneurysm1/ghd_surface.vtp +0 -0
  49. angioflow_fix/W1GD4X6con_aneurysm1/inlet_centroids.csv +0 -0
  50. angioflow_fix/W1GD4X6con_aneurysm1/jnl_transient +0 -24
angioflow_fix/VbMgxonVZy_aneurysm1/branch_ranking.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:edf57b3e7cc4d837db7a3b400e84ffa2cc07b6adc347edef9feabbc11c5183cb
3
- size 144
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5c1f2cd68fa72bb3ba657ce86e51a0c2bc8df4005281416615a8a4e02f1bd59
3
- size 5554
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/fusion_info_extruded.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e20696b9f621588c936e468f164ee212d66c9da51d7c2a95b8ce3981e44552ed
3
- size 7282
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/geomagic_processed.obj DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6a4603360e8329936133cc93779cddc54993cdd3b776a5c55027f9c7dee1ef2a
3
- size 16479320
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9107323e092d31c4e7cfc674e7b966f5d2056f6396eb8643d41ee407e8b1c8f3
3
- size 6370
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_fusion_params.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "flaw_opening_min_size": 5,
3
- "init_step": 1,
4
- "max_cl_length": null,
5
- "ring_downsample_ratio": 1,
6
- "smooth_n_rings": 5,
7
- "smooth_n_iter": 10,
8
- "extrude_outlets": true,
9
- "extrude_inlet": true,
10
- "min_torsion": true
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_merged_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_reconstructed.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_smoothed_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/ghd_surface.vtp DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/inlet_centroids.csv DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/jnl_transient DELETED
@@ -1,24 +0,0 @@
1
- /file/read-case mesh.msh
2
- /mesh/scale 0.001 0.001 0.001
3
- /define/models/unsteady-2nd-order? yes
4
- /define/models/viscous/laminar yes
5
- /define/materials/change-create air blood yes constant 1050 no no yes carreau shear-rate-dependent 3.313 0.3568 0.056 0.00345 no no no yes
6
- /define/boundary-conditions/zone-type 4 velocity-inlet
7
- /define/boundary-conditions/zone-type 5 pressure-outlet
8
- /define/user-defined/use-built-in-compiler? yes
9
- /define/user-defined/compiled-functions compile libudf yes parabolic_vinlet_udf_full.c "" ""
10
- /define/user-defined/compiled-functions load libudf
11
- /define/boundary-conditions/set/velocity-inlet surface4 () vmag yes yes udf inlet_x_velocity_transient::libudf quit
12
- /solve/set/p-v-coupling 24
13
- /solve/set/p-v-controls 2000000 0.5 0.5
14
- /solve/monitors/residual/convergence-criteria 0.0001 0.0001 0.0001 0.0001
15
- /solve/initialize/compute-defaults velocity-inlet surface4
16
- /solve/initialize/initialize-flow
17
- /file/transient-export/ensight-gold-transient ensight_files () * () absolute-pressure dynamic-pressure x-velocity y-velocity z-velocity wall-shear x-wall-shear y-wall-shear z-wall-shear dx-velocity-dx dy-velocity-dy dz-velocity-dz dx-velocity-dy dy-velocity-dx dx-velocity-dz dz-velocity-dx dy-velocity-dz dz-velocity-dy dp-dx dp-dy dp-dz dp-dt viscosity-lam x-coordinate y-coordinate z-coordinate quit no yes export-1 time-step 10 yes
18
- /file/autosave/data-frequency 10
19
- /solve/set/time-step 0.001
20
- /solve/dual-time-iterate 1600 100
21
- /file/write-case mesh_new.cas yes
22
- /file/write-data mesh_new.dat yes
23
- exit
24
- yes
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/mesh.msh DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7f7bb32fd0ba5f78f4510fad758d7555053aa2b3c46475e0bf4d1062c9ff39a
3
- size 230451899
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/mesh.vtu DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8ea7e9f79cac5fb49b75d18277f62ffb0165fc3d2fbcf5c6fa81fc81fa7118e
3
- size 50633572
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/parabolic_vinlet_udf_full.c DELETED
@@ -1,200 +0,0 @@
1
- /*
2
- vprofile_transient_parabolic.c
3
- UDF for specifying steady-state velocity profile boundary condition
4
-
5
- AUTHOR Wenhao Ding
6
- DATE 22.03.2024
7
-
8
- Instruction:
9
- define VINREF, the maximum velocity at the center
10
- define FIXED_TIME_STEP and make sure MAX_PCD_SIZE is larger than int(total_time/FIXED_TIME_STEP)
11
- define filename (txt for the waveform, this txt file must be in the same directory as this script)
12
- */
13
-
14
- #include "udf.h"
15
- #include <math.h>
16
- #include <stdio.h>
17
-
18
- #define PI 3.14159265358979323846
19
- #define VINREF 1.3158 /* ref inlet v */
20
- #define VIN 0 /* ref inlet v */
21
- #define MAX_PCD_SIZE 400001 /* Least PCD number the waveform file has cannot exceed point number in txt 574578 41160*/
22
- #define MAX_LOG_SIZE 600
23
- #define FIXED_TIME_STEP 0.00001 /* Fixed time step during transient simulation*/
24
- #define MAX_POINTS 6000 /* Maximum point number on the inlet*/
25
- #define ND_ND 3
26
- /* static double* Q_array[MAX_PCD_SIZE]; */
27
-
28
-
29
- typedef struct {
30
- double x;
31
- double y;
32
- double z;
33
- } Vector3D;
34
-
35
- double dot_product(Vector3D v1, Vector3D v2) {
36
- return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
37
- }
38
-
39
- Vector3D cross_product(Vector3D v1, Vector3D v2) {
40
- Vector3D cross_v;
41
-
42
- cross_v.x = v1.y * v2.z - v1.z * v2.y;
43
- cross_v.y = v1.z * v2.x - v1.x * v2.z;
44
- cross_v.z = v1.x * v2.y - v1.y * v2.x;
45
-
46
- return cross_v;
47
- }
48
-
49
- double get_norm(Vector3D result) {
50
- return sqrt(pow(result.x, 2) + pow(result.y, 2) + pow(result.z, 2));
51
- }
52
-
53
- double getDegAngle(Vector3D v1, Vector3D v2) {
54
- Vector3D v_cross = cross_product(v1, v2);
55
- double radian_angle = atan2(get_norm(v_cross), dot_product(v1, v2));
56
- if (v_cross.z < 0) {
57
- radian_angle = 2 * PI - radian_angle;
58
- }
59
- return radian_angle;
60
- }
61
-
62
-
63
-
64
- DEFINE_PROFILE(inlet_x_velocity_transient, thread, position)
65
- {
66
- /*Domain* d;*/
67
- /*d = Get_Domain(1);*/
68
- /*Thread* tr = Lookup_Thread(d, 5);*/
69
- real x[ND_ND]; /* ND_ND=3 for 3D */
70
- real curr_x, curr_y, curr_z;
71
- face_t f;
72
- /* real current_time; */
73
- FILE* rfile; /* declare a FILE pointer */
74
- rfile = fopen("udf_waveform_5cycles.txt", "r+");
75
- double Q_array[MAX_PCD_SIZE];
76
- int i = 0;
77
- for (i = 0; i < MAX_PCD_SIZE; i++) {
78
- fscanf(rfile, "%lf", &Q_array[i]); /* that supposes one value per line */
79
- }fclose(rfile);
80
- /* load from csv file */
81
- double centroids[MAX_POINTS][ND_ND];
82
- int num_points_inlet = 0;
83
- FILE* file;
84
- char line[256];
85
- file = fopen("inlet_centroids.csv", "r");
86
- if (file == NULL)
87
- {
88
- Message("Error: Cannot open file %s\n", "inlet_centroids.csv");
89
- return;
90
- }
91
- fgets(line, sizeof(line), file);
92
- num_points_inlet = 0;
93
- while (fgets(line, sizeof(line), file) && num_points_inlet < MAX_POINTS)
94
- {
95
- sscanf(line, "%lf,%lf,%lf", &centroids[num_points_inlet][0], &centroids[num_points_inlet][1], &centroids[num_points_inlet][2]);
96
- num_points_inlet++;
97
- }
98
- fclose(file);
99
- /* record average coordinates on the inlet (center) */
100
- double center_x = 0.0, center_y = 0.0, center_z = 0.0;
101
- for (i = 0; i < num_points_inlet; i++)
102
- {
103
- center_x += centroids[i][0];
104
- center_y += centroids[i][1];
105
- center_z += centroids[i][2];
106
- }
107
-
108
- if (num_points_inlet > 0)
109
- {
110
- center_x /= num_points_inlet;
111
- center_y /= num_points_inlet;
112
- center_z /= num_points_inlet;
113
- }
114
- /*Message("Average centroid coordinates: x=%lf, y=%lf, z=%lf\n", center_x, center_y, center_z);*/
115
- /* get 12 clock tick */
116
- double tick_x = 0.0, tick_y = 0.0, tick_z = 0.0;
117
- double tick_radius = 0.0;
118
- double tick_radius_record = 0.0;
119
- for (i = 0; i < num_points_inlet; i++)
120
- {
121
- tick_radius = sqrt(pow((centroids[i][0] - center_x), 2) + pow((centroids[i][1] - center_y), 2) + pow((centroids[i][2] - center_z), 2));
122
- if (tick_radius > tick_radius_record) {
123
- tick_x = x[0];
124
- tick_y = x[1];
125
- tick_z = x[2];
126
- }
127
- tick_radius_record = tick_radius;
128
- }
129
-
130
- /* start spinning and record maximum radius for every sector */
131
- int num_sector = 30;
132
- double angle = 0.0;
133
- int id_sector = 0;
134
- double current_radius = 0.0;
135
- /* tick & tock vector for cross and dot production */
136
- Vector3D v_tick;
137
- v_tick.x = tick_x - center_x;
138
- v_tick.y = tick_y - center_y;
139
- v_tick.z = tick_z - center_z;
140
- Vector3D v_tock;
141
- double radius_list[num_sector];
142
- for (i = 0; i < num_sector; ++i) {
143
- radius_list[i] = 0.0;
144
- }
145
- /* loop and fill radius_list */
146
- for (i = 0; i < num_points_inlet; i++)
147
- {
148
- v_tock.x = centroids[i][0] - center_x;
149
- v_tock.y = centroids[i][1] - center_y;
150
- v_tock.z = centroids[i][2] - center_z;
151
- angle = getDegAngle(v_tick, v_tock);
152
- id_sector = floor((angle + PI) / (2 * PI / num_sector));
153
- if (id_sector < 0) {
154
- id_sector = 0;
155
- }
156
- if (id_sector >= num_sector) {
157
- id_sector = num_sector - 1;
158
- }
159
- current_radius = sqrt(pow(v_tock.x, 2) + pow(v_tock.y, 2) + pow(v_tock.z, 2));
160
- if (current_radius > radius_list[id_sector]) {
161
- radius_list[id_sector] = current_radius;
162
- }
163
- }
164
-
165
- /* clean radius list and check (sometimes there are no nodes in the sector) */
166
- for (i = 0; i < num_sector; ++i) {
167
- if (radius_list[i] == 0.0) {
168
- radius_list[i] = tick_radius_record;
169
- }
170
- }
171
-
172
- /* assign parabolic profile */
173
- begin_f_loop(f, thread)
174
- {
175
- F_CENTROID(x, f, thread);
176
- /* current_time = CURRENT_TIME */
177
- int current_time_id = (int)floor(CURRENT_TIME / FIXED_TIME_STEP);
178
- double current_Q_ratio = Q_array[current_time_id];
179
- curr_x = x[0]; /* x[0] is x coordinate */
180
- curr_y = x[1]; /* x[1] is y coordinate */
181
- curr_z = x[2]; /* x[2] is z coordinate */
182
-
183
- v_tock.x = x[0] - center_x;
184
- v_tock.y = x[1] - center_y;
185
- v_tock.z = x[2] - center_z;
186
- angle = getDegAngle(v_tick, v_tock);
187
- id_sector = floor((angle + PI) / (2 * PI / num_sector));
188
- if (id_sector < 0) {
189
- id_sector = 0;
190
- }
191
- if (id_sector >= num_sector) {
192
- id_sector = num_sector - 1;
193
- }
194
- current_radius = radius_list[id_sector];
195
-
196
- /* write inlet velocity profile - need to centre the x,y,z coords and divide by Rref^2 */
197
- F_PROFILE(f, thread, position) = current_Q_ratio * VINREF * (1 + VIN) * (1 - (pow((curr_x - center_x), 2) + pow((curr_y - center_y), 2) + pow((curr_z - center_z), 2)) / (current_radius * current_radius));
198
- }
199
- end_f_loop(f, thread)
200
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh.vtp DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh_regularization.json DELETED
@@ -1,194 +0,0 @@
1
- {
2
- "input": "/media/yaplab2/wd8tb/wenhao/angioflow/cfd/angioflow_fix/VbMgxonVZy_aneurysm1/ghd_smoothed_reconstruction.obj",
3
- "tolerance": 0.25,
4
- "mode": "dome_normalized",
5
- "dome_sac_mm": 6.100635161778703,
6
- "stopping": "relaxed",
7
- "snap_levels": [
8
- -1.0,
9
- -0.5,
10
- -0.25,
11
- 0.0,
12
- 0.25
13
- ],
14
- "assessment": {
15
- "needs_regularization": true,
16
- "worst_target_excess_sd": 1.4728782397338716,
17
- "tolerance_sd": -1.0,
18
- "signed_excess_sd": {
19
- "0.38": 1.4728782397338716,
20
- "0.47": 0.8569247796676103,
21
- "0.58": 0.3549275633212668,
22
- "0.72": 0.02365676927697215,
23
- "0.9": -0.20869661304518908,
24
- "1.1": -0.36555099714230327,
25
- "1.35": -0.4794468203487245
26
- },
27
- "verdict": "rougher_than_reference",
28
- "guard_scale": null,
29
- "guard_below_band": null,
30
- "target_scales": [
31
- 0.38,
32
- 0.47,
33
- 0.58,
34
- 0.72,
35
- 0.9,
36
- 1.1,
37
- 1.35
38
- ],
39
- "measured_at_edge": 0.13602009439404106,
40
- "edge_after_measurement_remesh": 0.1122127351220293,
41
- "remesher": "auto",
42
- "n_seeds": 4000,
43
- "elapsed_s": 87.7,
44
- "sac_span_mm": 6.100635161778703,
45
- "alpha": 1.0080917538768053,
46
- "stopping": "relaxed",
47
- "reference_sac_mm": 6.15,
48
- "target_scales_used": [
49
- 0.38,
50
- 0.47,
51
- 0.58,
52
- 0.72,
53
- 0.9,
54
- 1.1,
55
- 1.35
56
- ],
57
- "target_scales_dropped": {
58
- "0.3": "0.298 mm real: below the 0.30 mm resolution floor",
59
- "1.65": "1.637 mm real: above the 1.60 mm calibre ceiling"
60
- },
61
- "scales_in_real_mm": {
62
- "0.38": 0.3769498148741312,
63
- "0.47": 0.4662274026074781,
64
- "0.58": 0.5753444542815687,
65
- "0.72": 0.7142207018667749,
66
- "0.9": 0.8927758773334687,
67
- "1.1": 1.0911705167409063,
68
- "1.35": 1.339163816000203
69
- }
70
- },
71
- "forward": {
72
- "status": "converged",
73
- "converged": true,
74
- "guard_scale_below_reference_at_input": false,
75
- "smoother": "mcf",
76
- "remesher": "auto",
77
- "sigma_step_mm": 0.08,
78
- "tolerance_sd": 0.25,
79
- "time_budget_s": null,
80
- "overshoot_limit_sd": -3.0,
81
- "guard_tolerance_sd": 1000000.0,
82
- "target_scales": [
83
- 0.38,
84
- 0.47,
85
- 0.58,
86
- 0.72,
87
- 0.9,
88
- 1.1,
89
- 1.35
90
- ],
91
- "guard_scale": null,
92
- "rounds": 2,
93
- "total_sigma_mm": 0.1131370849898476,
94
- "target_edge": 0.13602009439404106,
95
- "export_edge": 0.1330681115117383,
96
- "metrics_measured_at_edge": 0.13602009439404106,
97
- "n_vertices_in": 4398,
98
- "n_vertices_out": 58607,
99
- "n_seeds_used": 4000,
100
- "elapsed_s": 286.56,
101
- "edge_out": 0.10723257815475745,
102
- "quality_out": 0.9853305004334999,
103
- "smoothing_displacement_mm": 0.053639460141318346,
104
- "surface_deviation_vs_original_max_mm": 0.06130068761993199,
105
- "surface_deviation_vs_original_mean_mm": 0.0025633040331445403,
106
- "patch_truncation_fraction": {
107
- "0.38": 0.0,
108
- "0.47": 0.0,
109
- "0.58": 0.0,
110
- "0.72": 0.0,
111
- "0.9": 0.0,
112
- "1.1": 0.0,
113
- "1.35": 0.0
114
- },
115
- "signed_excess_before": {
116
- "0.38": 1.4728782397338716,
117
- "0.47": 0.8569247796676103,
118
- "0.58": 0.3549275633212668,
119
- "0.72": 0.02365676927697215,
120
- "0.9": -0.20869661304518908,
121
- "1.1": -0.36555099714230327,
122
- "1.35": -0.4794468203487245
123
- },
124
- "signed_excess_after": {
125
- "0.38": -0.6097154149343187,
126
- "0.47": -0.5904019542733746,
127
- "0.58": -0.556590834128628,
128
- "0.72": -0.498628276241753,
129
- "0.9": -0.4889418793653347,
130
- "1.1": -0.5025523668618388,
131
- "1.35": -0.5415512482551077
132
- },
133
- "below_band_after": {
134
- "0.38": 0.0,
135
- "0.47": 0.0,
136
- "0.58": 0.0,
137
- "0.72": 0.0,
138
- "0.9": 0.0,
139
- "1.1": 0.01276913765366155,
140
- "1.35": 0.08459766472590309
141
- },
142
- "input_inspection": {
143
- "n_vertices": 4398,
144
- "n_faces": 8704,
145
- "bbox_diagonal": 33.78267662085837,
146
- "watertight": false,
147
- "n_components": 1,
148
- "n_degenerate_faces": 0,
149
- "edge_mean": 0.42592930828000103,
150
- "edge_cv": 0.4979531224503949,
151
- "n_boundary_vertices": 96,
152
- "warnings": []
153
- },
154
- "reference_cases": 323,
155
- "sac_span_mm": 6.100635161778703,
156
- "alpha": 1.0080917538768053,
157
- "stopping": "relaxed",
158
- "reference_sac_mm": 6.15,
159
- "target_scales_used": [
160
- 0.38,
161
- 0.47,
162
- 0.58,
163
- 0.72,
164
- 0.9,
165
- 1.1,
166
- 1.35
167
- ],
168
- "target_scales_dropped": {
169
- "0.3": "0.298 mm real: below the 0.30 mm resolution floor",
170
- "1.65": "1.637 mm real: above the 1.60 mm calibre ceiling"
171
- },
172
- "scales_in_real_mm": {
173
- "0.38": 0.3769498148741312,
174
- "0.47": 0.4662274026074781,
175
- "0.58": 0.5753444542815687,
176
- "0.72": 0.7142207018667749,
177
- "0.9": 0.8927758773334687,
178
- "1.1": 1.0911705167409063,
179
- "1.35": 1.339163816000203
180
- },
181
- "surface_deviation_vs_original_max_mm_real": 0.06080863907892187,
182
- "surface_deviation_vs_original_mean_mm_real": 0.0025427288967367063,
183
- "smoothing_displacement_mm_real": 0.05320890676373234,
184
- "total_sigma_mm_real": 0.11222895590084712,
185
- "edge_out_real": 0.10637184337871482
186
- },
187
- "cap_shift_mm": [
188
- 0.08960363679677848,
189
- 0.1498238951631755
190
- ],
191
- "action": "regularized",
192
- "surface_used": "/media/yaplab2/wd8tb/wenhao/angioflow/cfd/angioflow_fix/VbMgxonVZy_aneurysm1/reg_mesh.vtp",
193
- "reason": "roughness above reference (worst target excess +1.47 SD); regularizer status converged"
194
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VbMgxonVZy_aneurysm1/udf_waveform_5cycles.txt DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/branch_ranking.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:edf57b3e7cc4d837db7a3b400e84ffa2cc07b6adc347edef9feabbc11c5183cb
3
- size 144
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca3df70d6103694318c9c003ccc75f82ff5ba4318f3ee2e62c44176459924746
3
- size 5178
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/fusion_info_extruded.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:14069d1388d05f8bf895cdfec3e46a1c5aafd9757a24b03bd7a235dbd82cd31f
3
- size 7290
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/geomagic_processed.obj DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:73400b01dde66ccbdb9e0177cbf64eed83a5a3504ed7902e2ce57441ce301338
3
- size 19031123
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:34e2d48487a70eee7ef9adf337379c47484b120b36dfe45fb7b82edf3ffc72b0
3
- size 6138
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_fusion_params.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "flaw_opening_min_size": 5,
3
- "init_step": 1,
4
- "max_cl_length": null,
5
- "ring_downsample_ratio": 1,
6
- "smooth_n_rings": 5,
7
- "smooth_n_iter": 10,
8
- "extrude_outlets": true,
9
- "extrude_inlet": true,
10
- "min_torsion": true
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_merged_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_reconstructed.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_smoothed_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/ghd_surface.vtp DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/inlet_centroids.csv DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/jnl_transient DELETED
@@ -1,24 +0,0 @@
1
- /file/read-case mesh.msh
2
- /mesh/scale 0.001 0.001 0.001
3
- /define/models/unsteady-2nd-order? yes
4
- /define/models/viscous/laminar yes
5
- /define/materials/change-create air blood yes constant 1050 no no yes carreau shear-rate-dependent 3.313 0.3568 0.056 0.00345 no no no yes
6
- /define/boundary-conditions/zone-type 4 velocity-inlet
7
- /define/boundary-conditions/zone-type 5 pressure-outlet
8
- /define/user-defined/use-built-in-compiler? yes
9
- /define/user-defined/compiled-functions compile libudf yes parabolic_vinlet_udf_full.c "" ""
10
- /define/user-defined/compiled-functions load libudf
11
- /define/boundary-conditions/set/velocity-inlet surface4 () vmag yes yes udf inlet_x_velocity_transient::libudf quit
12
- /solve/set/p-v-coupling 24
13
- /solve/set/p-v-controls 2000000 0.5 0.5
14
- /solve/monitors/residual/convergence-criteria 0.0001 0.0001 0.0001 0.0001
15
- /solve/initialize/compute-defaults velocity-inlet surface4
16
- /solve/initialize/initialize-flow
17
- /file/transient-export/ensight-gold-transient ensight_files () * () absolute-pressure dynamic-pressure x-velocity y-velocity z-velocity wall-shear x-wall-shear y-wall-shear z-wall-shear dx-velocity-dx dy-velocity-dy dz-velocity-dz dx-velocity-dy dy-velocity-dx dx-velocity-dz dz-velocity-dx dy-velocity-dz dz-velocity-dy dp-dx dp-dy dp-dz dp-dt viscosity-lam x-coordinate y-coordinate z-coordinate quit no yes export-1 time-step 10 yes
18
- /file/autosave/data-frequency 10
19
- /solve/set/time-step 0.001
20
- /solve/dual-time-iterate 1600 100
21
- /file/write-case mesh_new.cas yes
22
- /file/write-data mesh_new.dat yes
23
- exit
24
- yes
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/mesh.msh DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b07fe393466bf48c0793a02ed02d32ee079145b3787ca515b9554e25090671ea
3
- size 211146121
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/mesh.vtu DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d6236d62a3daa6af8cb573786c7df3683a77f0c5b9a9890a18b56a13238b23a
3
- size 46448740
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/parabolic_vinlet_udf_full.c DELETED
@@ -1,200 +0,0 @@
1
- /*
2
- vprofile_transient_parabolic.c
3
- UDF for specifying steady-state velocity profile boundary condition
4
-
5
- AUTHOR Wenhao Ding
6
- DATE 22.03.2024
7
-
8
- Instruction:
9
- define VINREF, the maximum velocity at the center
10
- define FIXED_TIME_STEP and make sure MAX_PCD_SIZE is larger than int(total_time/FIXED_TIME_STEP)
11
- define filename (txt for the waveform, this txt file must be in the same directory as this script)
12
- */
13
-
14
- #include "udf.h"
15
- #include <math.h>
16
- #include <stdio.h>
17
-
18
- #define PI 3.14159265358979323846
19
- #define VINREF 1.3158 /* ref inlet v */
20
- #define VIN 0 /* ref inlet v */
21
- #define MAX_PCD_SIZE 400001 /* Least PCD number the waveform file has cannot exceed point number in txt 574578 41160*/
22
- #define MAX_LOG_SIZE 600
23
- #define FIXED_TIME_STEP 0.00001 /* Fixed time step during transient simulation*/
24
- #define MAX_POINTS 6000 /* Maximum point number on the inlet*/
25
- #define ND_ND 3
26
- /* static double* Q_array[MAX_PCD_SIZE]; */
27
-
28
-
29
- typedef struct {
30
- double x;
31
- double y;
32
- double z;
33
- } Vector3D;
34
-
35
- double dot_product(Vector3D v1, Vector3D v2) {
36
- return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
37
- }
38
-
39
- Vector3D cross_product(Vector3D v1, Vector3D v2) {
40
- Vector3D cross_v;
41
-
42
- cross_v.x = v1.y * v2.z - v1.z * v2.y;
43
- cross_v.y = v1.z * v2.x - v1.x * v2.z;
44
- cross_v.z = v1.x * v2.y - v1.y * v2.x;
45
-
46
- return cross_v;
47
- }
48
-
49
- double get_norm(Vector3D result) {
50
- return sqrt(pow(result.x, 2) + pow(result.y, 2) + pow(result.z, 2));
51
- }
52
-
53
- double getDegAngle(Vector3D v1, Vector3D v2) {
54
- Vector3D v_cross = cross_product(v1, v2);
55
- double radian_angle = atan2(get_norm(v_cross), dot_product(v1, v2));
56
- if (v_cross.z < 0) {
57
- radian_angle = 2 * PI - radian_angle;
58
- }
59
- return radian_angle;
60
- }
61
-
62
-
63
-
64
- DEFINE_PROFILE(inlet_x_velocity_transient, thread, position)
65
- {
66
- /*Domain* d;*/
67
- /*d = Get_Domain(1);*/
68
- /*Thread* tr = Lookup_Thread(d, 5);*/
69
- real x[ND_ND]; /* ND_ND=3 for 3D */
70
- real curr_x, curr_y, curr_z;
71
- face_t f;
72
- /* real current_time; */
73
- FILE* rfile; /* declare a FILE pointer */
74
- rfile = fopen("udf_waveform_5cycles.txt", "r+");
75
- double Q_array[MAX_PCD_SIZE];
76
- int i = 0;
77
- for (i = 0; i < MAX_PCD_SIZE; i++) {
78
- fscanf(rfile, "%lf", &Q_array[i]); /* that supposes one value per line */
79
- }fclose(rfile);
80
- /* load from csv file */
81
- double centroids[MAX_POINTS][ND_ND];
82
- int num_points_inlet = 0;
83
- FILE* file;
84
- char line[256];
85
- file = fopen("inlet_centroids.csv", "r");
86
- if (file == NULL)
87
- {
88
- Message("Error: Cannot open file %s\n", "inlet_centroids.csv");
89
- return;
90
- }
91
- fgets(line, sizeof(line), file);
92
- num_points_inlet = 0;
93
- while (fgets(line, sizeof(line), file) && num_points_inlet < MAX_POINTS)
94
- {
95
- sscanf(line, "%lf,%lf,%lf", &centroids[num_points_inlet][0], &centroids[num_points_inlet][1], &centroids[num_points_inlet][2]);
96
- num_points_inlet++;
97
- }
98
- fclose(file);
99
- /* record average coordinates on the inlet (center) */
100
- double center_x = 0.0, center_y = 0.0, center_z = 0.0;
101
- for (i = 0; i < num_points_inlet; i++)
102
- {
103
- center_x += centroids[i][0];
104
- center_y += centroids[i][1];
105
- center_z += centroids[i][2];
106
- }
107
-
108
- if (num_points_inlet > 0)
109
- {
110
- center_x /= num_points_inlet;
111
- center_y /= num_points_inlet;
112
- center_z /= num_points_inlet;
113
- }
114
- /*Message("Average centroid coordinates: x=%lf, y=%lf, z=%lf\n", center_x, center_y, center_z);*/
115
- /* get 12 clock tick */
116
- double tick_x = 0.0, tick_y = 0.0, tick_z = 0.0;
117
- double tick_radius = 0.0;
118
- double tick_radius_record = 0.0;
119
- for (i = 0; i < num_points_inlet; i++)
120
- {
121
- tick_radius = sqrt(pow((centroids[i][0] - center_x), 2) + pow((centroids[i][1] - center_y), 2) + pow((centroids[i][2] - center_z), 2));
122
- if (tick_radius > tick_radius_record) {
123
- tick_x = x[0];
124
- tick_y = x[1];
125
- tick_z = x[2];
126
- }
127
- tick_radius_record = tick_radius;
128
- }
129
-
130
- /* start spinning and record maximum radius for every sector */
131
- int num_sector = 30;
132
- double angle = 0.0;
133
- int id_sector = 0;
134
- double current_radius = 0.0;
135
- /* tick & tock vector for cross and dot production */
136
- Vector3D v_tick;
137
- v_tick.x = tick_x - center_x;
138
- v_tick.y = tick_y - center_y;
139
- v_tick.z = tick_z - center_z;
140
- Vector3D v_tock;
141
- double radius_list[num_sector];
142
- for (i = 0; i < num_sector; ++i) {
143
- radius_list[i] = 0.0;
144
- }
145
- /* loop and fill radius_list */
146
- for (i = 0; i < num_points_inlet; i++)
147
- {
148
- v_tock.x = centroids[i][0] - center_x;
149
- v_tock.y = centroids[i][1] - center_y;
150
- v_tock.z = centroids[i][2] - center_z;
151
- angle = getDegAngle(v_tick, v_tock);
152
- id_sector = floor((angle + PI) / (2 * PI / num_sector));
153
- if (id_sector < 0) {
154
- id_sector = 0;
155
- }
156
- if (id_sector >= num_sector) {
157
- id_sector = num_sector - 1;
158
- }
159
- current_radius = sqrt(pow(v_tock.x, 2) + pow(v_tock.y, 2) + pow(v_tock.z, 2));
160
- if (current_radius > radius_list[id_sector]) {
161
- radius_list[id_sector] = current_radius;
162
- }
163
- }
164
-
165
- /* clean radius list and check (sometimes there are no nodes in the sector) */
166
- for (i = 0; i < num_sector; ++i) {
167
- if (radius_list[i] == 0.0) {
168
- radius_list[i] = tick_radius_record;
169
- }
170
- }
171
-
172
- /* assign parabolic profile */
173
- begin_f_loop(f, thread)
174
- {
175
- F_CENTROID(x, f, thread);
176
- /* current_time = CURRENT_TIME */
177
- int current_time_id = (int)floor(CURRENT_TIME / FIXED_TIME_STEP);
178
- double current_Q_ratio = Q_array[current_time_id];
179
- curr_x = x[0]; /* x[0] is x coordinate */
180
- curr_y = x[1]; /* x[1] is y coordinate */
181
- curr_z = x[2]; /* x[2] is z coordinate */
182
-
183
- v_tock.x = x[0] - center_x;
184
- v_tock.y = x[1] - center_y;
185
- v_tock.z = x[2] - center_z;
186
- angle = getDegAngle(v_tick, v_tock);
187
- id_sector = floor((angle + PI) / (2 * PI / num_sector));
188
- if (id_sector < 0) {
189
- id_sector = 0;
190
- }
191
- if (id_sector >= num_sector) {
192
- id_sector = num_sector - 1;
193
- }
194
- current_radius = radius_list[id_sector];
195
-
196
- /* write inlet velocity profile - need to centre the x,y,z coords and divide by Rref^2 */
197
- F_PROFILE(f, thread, position) = current_Q_ratio * VINREF * (1 + VIN) * (1 - (pow((curr_x - center_x), 2) + pow((curr_y - center_y), 2) + pow((curr_z - center_z), 2)) / (current_radius * current_radius));
198
- }
199
- end_f_loop(f, thread)
200
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh.vtp DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh_regularization.json DELETED
@@ -1,194 +0,0 @@
1
- {
2
- "input": "/media/yaplab2/wd8tb/wenhao/angioflow/cfd/angioflow_fix/VyKbIURnoD_aneurysm1/ghd_smoothed_reconstruction.obj",
3
- "tolerance": 0.25,
4
- "mode": "dome_normalized",
5
- "dome_sac_mm": 8.491574401105545,
6
- "stopping": "relaxed",
7
- "snap_levels": [
8
- -1.0,
9
- -0.5,
10
- -0.25,
11
- 0.0,
12
- 0.25
13
- ],
14
- "assessment": {
15
- "needs_regularization": true,
16
- "worst_target_excess_sd": 2.714910970639313,
17
- "tolerance_sd": -1.0,
18
- "signed_excess_sd": {
19
- "0.3": 2.714910970639313,
20
- "0.38": 2.018037437259873,
21
- "0.47": 1.4800591173270503,
22
- "0.58": 1.0202181211389785,
23
- "0.72": 0.6788783207714024,
24
- "0.9": 0.4060114853825217,
25
- "1.1": 0.21154787577521605
26
- },
27
- "verdict": "rougher_than_reference",
28
- "guard_scale": null,
29
- "guard_below_band": null,
30
- "target_scales": [
31
- 0.3,
32
- 0.38,
33
- 0.47,
34
- 0.58,
35
- 0.72,
36
- 0.9,
37
- 1.1
38
- ],
39
- "measured_at_edge": 0.13602009439404106,
40
- "edge_after_measurement_remesh": 0.11225088035572318,
41
- "remesher": "auto",
42
- "n_seeds": 4000,
43
- "elapsed_s": 34.0,
44
- "sac_span_mm": 8.491574401105545,
45
- "alpha": 0.7242473196960169,
46
- "stopping": "relaxed",
47
- "reference_sac_mm": 6.15,
48
- "target_scales_used": [
49
- 0.3,
50
- 0.38,
51
- 0.47,
52
- 0.58,
53
- 0.72,
54
- 0.9,
55
- 1.1
56
- ],
57
- "target_scales_dropped": {
58
- "1.35": "1.864 mm real: above the 1.60 mm calibre ceiling",
59
- "1.65": "2.278 mm real: above the 1.60 mm calibre ceiling"
60
- },
61
- "scales_in_real_mm": {
62
- "0.3": 0.41422314151734363,
63
- "0.38": 0.5246826459219686,
64
- "0.47": 0.6489495883771716,
65
- "0.58": 0.8008314069335309,
66
- "0.72": 0.9941355396416247,
67
- "0.9": 1.2426694245520309,
68
- "1.1": 1.5188181855635934
69
- }
70
- },
71
- "forward": {
72
- "status": "converged",
73
- "converged": true,
74
- "guard_scale_below_reference_at_input": false,
75
- "smoother": "mcf",
76
- "remesher": "auto",
77
- "sigma_step_mm": 0.08,
78
- "tolerance_sd": 0.25,
79
- "time_budget_s": null,
80
- "overshoot_limit_sd": -3.0,
81
- "guard_tolerance_sd": 1000000.0,
82
- "target_scales": [
83
- 0.3,
84
- 0.38,
85
- 0.47,
86
- 0.58,
87
- 0.72,
88
- 0.9,
89
- 1.1
90
- ],
91
- "guard_scale": null,
92
- "rounds": 3,
93
- "total_sigma_mm": 0.13856406460551018,
94
- "target_edge": 0.13602009439404106,
95
- "export_edge": 0.09560064619987423,
96
- "metrics_measured_at_edge": 0.13602009439404106,
97
- "n_vertices_in": 4080,
98
- "n_vertices_out": 60949,
99
- "n_seeds_used": 4000,
100
- "elapsed_s": 173.75,
101
- "edge_out": 0.07581283365877366,
102
- "quality_out": 0.9820395364749507,
103
- "smoothing_displacement_mm": 0.04090644226812702,
104
- "surface_deviation_vs_original_max_mm": 0.054067277155795124,
105
- "surface_deviation_vs_original_mean_mm": 0.004046687348426681,
106
- "patch_truncation_fraction": {
107
- "0.3": 0.0,
108
- "0.38": 0.0,
109
- "0.47": 0.0,
110
- "0.58": 0.0,
111
- "0.72": 0.0,
112
- "0.9": 0.0,
113
- "1.1": 0.0
114
- },
115
- "signed_excess_before": {
116
- "0.3": 2.714910970639313,
117
- "0.38": 2.018037437259873,
118
- "0.47": 1.4800591173270503,
119
- "0.58": 1.0202181211389785,
120
- "0.72": 0.6788783207714024,
121
- "0.9": 0.4060114853825217,
122
- "1.1": 0.21154787577521605
123
- },
124
- "signed_excess_after": {
125
- "0.3": -0.511323114215351,
126
- "0.38": -0.29813799766923194,
127
- "0.47": -0.051634183390755005,
128
- "0.58": 0.09020605908013274,
129
- "0.72": 0.16411852909519534,
130
- "0.9": 0.14685599710872674,
131
- "1.1": 0.07091448839711938
132
- },
133
- "below_band_after": {
134
- "0.3": 0.0,
135
- "0.38": 0.0,
136
- "0.47": 0.0,
137
- "0.58": 0.0,
138
- "0.72": 0.0,
139
- "0.9": 0.0,
140
- "1.1": 0.0
141
- },
142
- "input_inspection": {
143
- "n_vertices": 4080,
144
- "n_faces": 8087,
145
- "bbox_diagonal": 21.115143636140687,
146
- "watertight": false,
147
- "n_components": 1,
148
- "n_degenerate_faces": 0,
149
- "edge_mean": 0.3130341720300407,
150
- "edge_cv": 0.5044077678968825,
151
- "n_boundary_vertices": 73,
152
- "warnings": []
153
- },
154
- "reference_cases": 323,
155
- "sac_span_mm": 8.491574401105545,
156
- "alpha": 0.7242473196960169,
157
- "stopping": "relaxed",
158
- "reference_sac_mm": 6.15,
159
- "target_scales_used": [
160
- 0.3,
161
- 0.38,
162
- 0.47,
163
- 0.58,
164
- 0.72,
165
- 0.9,
166
- 1.1
167
- ],
168
- "target_scales_dropped": {
169
- "1.35": "1.864 mm real: above the 1.60 mm calibre ceiling",
170
- "1.65": "2.278 mm real: above the 1.60 mm calibre ceiling"
171
- },
172
- "scales_in_real_mm": {
173
- "0.3": 0.41422314151734363,
174
- "0.38": 0.5246826459219686,
175
- "0.47": 0.6489495883771716,
176
- "0.58": 0.8008314069335309,
177
- "0.72": 0.9941355396416247,
178
- "0.9": 1.2426694245520309,
179
- "1.1": 1.5188181855635934
180
- },
181
- "surface_deviation_vs_original_max_mm_real": 0.07465305798920788,
182
- "surface_deviation_vs_original_mean_mm_real": 0.005587438487345963,
183
- "smoothing_displacement_mm_real": 0.05648131674867142,
184
- "total_sigma_mm_real": 0.19132147380768863,
185
- "edge_out_real": 0.10467810041823011
186
- },
187
- "cap_shift_mm": [
188
- 0.09705279061445618,
189
- 0.1622399275909303
190
- ],
191
- "action": "regularized",
192
- "surface_used": "/media/yaplab2/wd8tb/wenhao/angioflow/cfd/angioflow_fix/VyKbIURnoD_aneurysm1/reg_mesh.vtp",
193
- "reason": "roughness above reference (worst target excess +2.71 SD); regularizer status converged"
194
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/VyKbIURnoD_aneurysm1/udf_waveform_5cycles.txt DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/branch_ranking.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:edf57b3e7cc4d837db7a3b400e84ffa2cc07b6adc347edef9feabbc11c5183cb
3
- size 144
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a6e8149b9fa043dda984caed5a959b94838733962b54ba3da44400f294b8c80
3
- size 5784
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/fusion_info_extruded.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f089ac98ce3652eebe815079f1212756293dd651087e7e61b907740a9283874
3
- size 7378
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/geomagic_processed.obj DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:68513a333549de1d4afbee938cdfdad7a845144a6451cd02167b1e3e7441eb59
3
- size 19999620
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_forward_fusion_info.npz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:87d3f50fdd78d9048981d63613935276655b8833d4a56319043fdb41f1f2021b
3
- size 6322
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_fusion_params.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "flaw_opening_min_size": 5,
3
- "init_step": 1,
4
- "max_cl_length": null,
5
- "ring_downsample_ratio": 1,
6
- "smooth_n_rings": 5,
7
- "smooth_n_iter": 10,
8
- "extrude_outlets": true,
9
- "extrude_inlet": true,
10
- "min_torsion": true
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_merged_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_reconstructed.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_smoothed_reconstruction.obj DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/ghd_surface.vtp DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/inlet_centroids.csv DELETED
The diff for this file is too large to render. See raw diff
 
angioflow_fix/W1GD4X6con_aneurysm1/jnl_transient DELETED
@@ -1,24 +0,0 @@
1
- /file/read-case mesh.msh
2
- /mesh/scale 0.001 0.001 0.001
3
- /define/models/unsteady-2nd-order? yes
4
- /define/models/viscous/laminar yes
5
- /define/materials/change-create air blood yes constant 1050 no no yes carreau shear-rate-dependent 3.313 0.3568 0.056 0.00345 no no no yes
6
- /define/boundary-conditions/zone-type 4 velocity-inlet
7
- /define/boundary-conditions/zone-type 5 pressure-outlet
8
- /define/user-defined/use-built-in-compiler? yes
9
- /define/user-defined/compiled-functions compile libudf yes parabolic_vinlet_udf_full.c "" ""
10
- /define/user-defined/compiled-functions load libudf
11
- /define/boundary-conditions/set/velocity-inlet surface4 () vmag yes yes udf inlet_x_velocity_transient::libudf quit
12
- /solve/set/p-v-coupling 24
13
- /solve/set/p-v-controls 2000000 0.5 0.5
14
- /solve/monitors/residual/convergence-criteria 0.0001 0.0001 0.0001 0.0001
15
- /solve/initialize/compute-defaults velocity-inlet surface4
16
- /solve/initialize/initialize-flow
17
- /file/transient-export/ensight-gold-transient ensight_files () * () absolute-pressure dynamic-pressure x-velocity y-velocity z-velocity wall-shear x-wall-shear y-wall-shear z-wall-shear dx-velocity-dx dy-velocity-dy dz-velocity-dz dx-velocity-dy dy-velocity-dx dx-velocity-dz dz-velocity-dx dy-velocity-dz dz-velocity-dy dp-dx dp-dy dp-dz dp-dt viscosity-lam x-coordinate y-coordinate z-coordinate quit no yes export-1 time-step 10 yes
18
- /file/autosave/data-frequency 10
19
- /solve/set/time-step 0.001
20
- /solve/dual-time-iterate 1600 100
21
- /file/write-case mesh_new.cas yes
22
- /file/write-data mesh_new.dat yes
23
- exit
24
- yes