ansys / ansys/pyfluent

string assignment in meshing workflow

Open
#4,970 1 comment 0 reactions 1 assignee Claimed by @prmukherj View on GitHub
enhancement
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

Description

### 📝 Description of the feature

settings that are applied using strings are still present in meshing workflow, listed below:

1.
```
fault_tolerant.create_volume_mesh_ftm.quality_method.allowed_values()
['Orthogonal', 'Enhanced Orthogonal']
```
2.
```
>>> fault_tolerant.describe_geometry_and_flow.flow_type.allowed_values()
['External flow around object', 'Internal flow through the object', 'Both external and internal flow', 'Skin assemblies by wrap']
```
3.
```
>>> fault_tolerant.capping.selection_type.allowed_values()
['label', 'zone']
```
4.
```
>>> fault_tolerant.identify_construction_surfaces.selection_type.allowed_values()
['object', 'label', 'zone']
```
5.
```
>>> fault_tolerant.extract_edge_features.extract_method_type.allowed_values()
['Feature Angle', 'Intersection Loops', 'Sharp Angle']
```
6.
```
>>> fault_tolerant.create_porous_regions.location.allowed_values()
['Node Selection', 'Position Selection']

```
7.
```
>>> fault_tolerant.update_region_settings.filter_category.allowed_values()
['All Regions', 'Identified Regions', 'Object Based Regions']

```

8.
```
>>> watertight.add_local_sizing_wtm.boi_execution.allowed_values()
['Face Size', 'Body Size', 'Body Of Influence', 'Face Of Influence', 'Curvature', 'Proximity']
```

9.
```
>>> watertight.describe_geometry.setup_type.allowed_values()
['fluid', 'fluid_solid_voids', 'solid']
```
10.

```
>>> watertight.capping.zone_type.allowed_values()
['velocity-inlet', 'pressure-outlet', 'pressure-inlet', 'pressure-far-field', 'mass-flow-inlet', 'mass-flow-outlet', 'outflow', 'symmetry', 'wall']

```

11.

```
>>> watertight.add_boundary_layers.offset_method_type.allowed_values()
['aspect-ratio', 'last-ratio', 'uniform', 'smooth-transition']
```

12.
```
>>> watertight.create_volume_mesh_wtm.volume_mesh_preferences.quality_method.allowed_values()
['Orthogonal', 'Enhanced Orthogonal', 'Skewness'

```

13.

```
>>> watertight.create_volume_mesh_wtm.volume_fill.allowed_values()
['polyhedra', 'poly-hexcore', 'hexcore', 'tetrahedral']
```
14. boolean strings for invoke_share_topology;
```
>>> watertight.describe_geometry.invoke_share_topology()
'True'
>>> watertight.describe_geometry.invoke_share_topology = True
>>> watertight.describe_geometry.invoke_share_topology()
'True'
>>> watertight.describe_geometry.invoke_share_topology.allowed_values()
['Yes', 'No']
```

15.
```
>>> watertight.apply_share_topology.surface_mesh_preferences.auto_surface_remesh()
'auto'
>>> watertight.apply_share_topology.surface_mesh_preferences.auto_surface_remesh='123'
>>> watertight.apply_share_topology.surface_mesh_preferences.auto_surface_remesh()
'123'
>>> watertight.apply_share_topology.surface_mesh_preferences.auto_surface_remesh=False
>>> watertight.apply_share_topology.surface_mesh_preferences.auto_surface_remesh()
'False'
```
### 💡 Steps for implementing the feature

_No response_

### 🔗 Useful links and references

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.