Skip to content

Commit ab50b0c

Browse files
authored
added preserve thin geometry to helpcenter (#25)
1 parent f23212a commit ab50b0c

4 files changed

Lines changed: 28 additions & 4 deletions

File tree

docs/02.simulation-setup/02.mesh/01.mesh.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The Meshing Defaults define the baseline mesh generation parameters that control
1717
| **Boundary layer first layer thickness** | First layer thickness for volumetric anisotropic layers |
1818
| **Refinement factor** | Global scaling factor for mesh refinement |
1919
| **Gap treatment strength** | Controls mesh behavior in narrow gaps |
20+
| **Preserve thin geometry** | Specifies whether thin geometry features should be resolved accurately during surface meshing|
2021

2122
---
2223

@@ -111,6 +112,16 @@ The Meshing Defaults define the baseline mesh generation parameters that control
111112
> - Critical for mesh quality in tight geometric spaces
112113
> - Helps prevent highly skewed elements in narrow regions
113114
115+
#### **Preserve thin geometry**
116+
117+
*Flag to specify whether thin geometry features should be resolved accurately during the surface meshing process.*
118+
119+
- **Default:** `False`
120+
>**Notes:**
121+
> - This setting is only effective when using Geometry AI.
122+
> - Resolves features with thickness roughly equal to `geometry_accuracy`.
123+
> - Can be overridden using **GeometryRefinement**.
124+
114125
---
115126

116127
<details>
@@ -191,6 +202,7 @@ meshing_defaults = fl.MeshingDefaults(
191202
curvature_resolution_angle=12 * u.deg,
192203
boundary_layer_growth_rate=1.2,
193204
boundary_layer_first_layer_thickness=0.01 * u.mm,
205+
preserve_thin_geometry=True
194206
)
195207
```
196208
</details>

docs/02.simulation-setup/02.mesh/03.refinements/07.geometry-refinement.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| *Option* | *Description* |
1010
|------------|-----------------|
1111
| **Geometry accuracy** | The smallest length scale to be accurately resolved by the surface mesher. |
12+
| **Preserve thin geometry** | Specifies whether to accurately resolve thin geometry features. |
1213
| **Assigned surfaces** | The surfaces to which the refinement is applied. |
1314

1415
---
@@ -26,6 +27,14 @@
2627
> - A smaller `Geometry accuracy` value will result in a finer mesh and consequently a larger cell count and longer computation time.
2728
> - Start with a larger value and decrease it iteratively to find the optimal balance between accuracy and computational cost.
2829
30+
### **Preserve thin geometry**
31+
32+
*Specifies whether thin geometry features should be accurately resolved during surface meshing.*
33+
34+
- **Default:** `false`
35+
> **Notes:**
36+
> - Resolves features with thickness roughly equal to `geometry_accuracy`.
37+
2938
### **Assigned surfaces**
3039

3140
*The list of surfaces where the geometry refinement will be applied.*
@@ -68,7 +77,8 @@ import flow360 as fl
6877
geometry_refinement = fl.GeometryRefinement(
6978
name="fine_features_refinement",
7079
faces=[geometry["wing_surface"], geometry["fuselage_surface"]],
71-
geometry_accuracy=0.001 * fl.u.m
80+
geometry_accuracy=0.001 * fl.u.m,
81+
preserve_thin_geometry=True
7282
)
7383
```
7484
</details>

docs/02.simulation-setup/02.mesh/03.refinements/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ meshing=MeshingParams(
137137
fl.GeometryRefinement(
138138
name="fine_features_refinement",
139139
faces=[wing_surface, fuselage_surface],
140-
geometry_accuracy=0.001 * fl.u.m
140+
geometry_accuracy=0.001 * fl.u.m,
141+
preserve_thin_geometry=True
141142
)
142143
]
143144
)

docs/02.simulation-setup/02.mesh/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ A section for defining the meshing settings.
2323

2424
### **[Refinements](./03.refinements/README.md)**
2525

26-
*Comprehensive local mesh control system for critical regions. Provides six refinement types.*
26+
*Comprehensive local mesh control system for critical regions. Provides seven refinement types.*
2727

2828
**Subsections:**
2929
- **[Surface Edge Refinement](./03.refinements/01.surface-edge-refinement.md)** - Controls mesh resolution near edges
3030
- **[Surface Refinement](./03.refinements/02.surface-refinement.md)** - Controls surface mesh cell size
3131
- **[Boundary Layer Refinement](./03.refinements/03.boundary-layer-refinement.md)** - Creates prismatic layers near walls
3232
- **[Passive Spacing](./03.refinements/04.passive-spacing.md)** - Controls mesh behavior without direct refinement
3333
- **[Uniform Refinement](./03.refinements/05.uniform-refinement.md)** - Creates uniform mesh spacing in a region
34-
- **[Axisymmetric Refinement](./03.refinements/06.axisymmetric-refinement.md)** - Creates structured-like mesh with cylindrical bias
34+
- **[Axisymmetric Refinement](./03.refinements/06.axisymmetric-refinement.md)** - Creates structured-like mesh with cylindrical bias
35+
- **[Geometry Refinement](./03.refinements/07.geometry-refinement.md)** - Controls mesh resolution based on geometric features

0 commit comments

Comments
 (0)