-
Notifications
You must be signed in to change notification settings - Fork 14
Description
📝 Description of the example
Is it posiible to use the PeriodicControl function to create periodic boundary and present the whole process of periodic volumetric meshing?
📁 Files needed for running the example
In my code, I write it in this form and it meets some problems on
"""
Failed to recover periodic surfaces. No matching periodic face pair found. Check the inputs.
Error Locations: [[-41.9901, -23.0997, -15.0621], [-41.9901, -23.0997, -15.0621]]
"""
import os
import tempfile
from ansys.meshing.prime.autogen.periodiccontrolstructs import PeriodicControlParams
print(model)
mesh_util.create_zones_from_labels("*")
periodicBld_control = model.control_data.create_periodic_control()
periodicBld_control.set_suggested_name("periodBLDBBBB")
periodicBld_control.set_params(
PeriodicControlParams(model=model,
center=[0,0,0], axis=[0,0,1], angle=60)),
periodSurfaceScope = prime.ScopeDefinition(
model=model,
entity_type=prime.ScopeEntity.FACEZONELETS,
evaluation_type=prime.ScopeEvaluationType.LABELS,
label_expression="period2"
)
The output of the original model:
Part Summary:
Part Name: scdmbionic_1
Part ID: 2
66 Topo Edges
22 Topo Faces
1 Topo Volumes
0 Edge Zones
Edge Zone Name(s) : []
0 Face Zones
Face Zone Name(s) : []
1 Volume Zones
Volume Zone Name(s) : [flu_bld]
10 Label(s)
Names: [period1, period2, row_1_bld_le, row_1_bld_ps, row_1_bld_ss, row_1_bld_te, row_1_hub, row_1_inflow, row_1_outflow, row_1_shroud]
Bounding box (-119.45 -198.496 -120.119)
(139.489 59.1677 24.3873)
After creating labels:
0 Edge Zones
Edge Zone Name(s) : []
10 Face Zones
Face Zone Name(s) : [period1, period2, row_1_bld_le, row_1_bld_ps, row_1_bld_ss, row_1_bld_te, row_1_hub, row_1_inflow, row_1_outflow, row_1_shroud]
1 Volume Zones
Volume Zone Name(s) : [flu_bld]
10 Label(s)
Names: [period1, period2, row_1_bld_le, row_1_bld_ps, row_1_bld_ss, row_1_bld_te, row_1_hub, row_1_inflow, row_1_outflow, row_1_shroud]
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
v251
🐍 Which Python version are you using?
3.10
📦 Installed packages
about-time==4.2.1
aiohappyeyeballs==2.6.1
aiohttp==3.13.1
aiosignal==1.4.0
alive-progress==3.1.5
annotated-types==0.6.0
ansys-acp-core==0.1b1
ansys-additive-core==0.17.2
ansys-api-acp==0.1.0.dev8
ansys-api-additive==1.4.1
ansys-api-dbu==0.3.28
ansys-api-dyna==0.3.6
ansys-api-edb==1.0.1
ansys-api-fluent==0.3.36
ansys-api-geometry==0.4.83
ansys-api-mapdl==0.5.1
ansys-api-mechanical==0.1.1
ansys-api-meshing-prime==0.1.4
ansys-api-modelcenter==0.3.1
ansys-api-platform-instancemanagement==1.1.0
ansys-api-pyensight==0.4.0
ansys-api-sherlock==0.1.27
ansys-api-systemcoupling==0.1.0
ansys-api-tools-filetransfer==0.1.0
ansys-api-workbench==0.2.0
ansys-dpf-composites==0.4.1
ansys-dpf-core==0.12.0
ansys-dpf-post==0.8.0
ansys-dyna-core==0.4.15
ansys-dynamicreporting-core==0.6.0
ansys-edb-core==0.1.4
ansys-engineeringworkflow-api==0.1.0
ansys-fluent-core==0.35.0
ansys-fluent-parametric==0.11.dev0
ansys-fluent-visualization==0.22.1
ansys-geometry-core==0.12.0
ansys-grantami-bomanalytics==2.0.0
ansys-grantami-bomanalytics-openapi==2.0.0
ansys-grantami-recordlists==1.1.0
ansys-grantami-serverapi-openapi==2.0.0
ansys-hps-client==0.8.0
ansys-mapdl-core==0.68.1
ansys-mapdl-reader==0.53.0
ansys-math-core==0.1.5
ansys-mechanical-core==0.10.9
ansys-mechanical-env==0.1.5
ansys-meshing-prime==0.10.0.dev2
ansys-modelcenter-workflow==0.1.1
ansys-motorcad-core==0.4.3
ansys-openapi-common==1.5.1
ansys-optislang-core==0.6.3
ansys-platform-instancemanagement==1.1.2
ansys-pyensight-core==0.8.1
ansys-pythonnet==3.1.0rc3
ansys-rocky-core==0.1.0
ansys-seascape==0.2.0
ansys-sherlock-core==0.6.0
ansys-simai-core==0.1.5
ansys-systemcoupling-core==0.4.1
ansys-tools-filetransfer==0.1.0
ansys-tools-local-product-launcher==0.1.0
ansys-tools-path==0.5.2
ansys-tools-visualization-interface==1.0.0a0
ansys-turbogrid-api==0.4.0
ansys-turbogrid-core==0.4.0
ansys-units==0.8.1
ansys-workbench-core @ file:///D:/pyAnsys/ansys_workbench_core-0.9.0-py3-none-any.whl
anyio==4.3.0
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asgiref==3.8.1
asttokens==2.4.1
async-lru==2.0.4
async-timeout==5.0.1
attrs==23.2.0
autopep8==2.1.0
Babel==2.15.0
backoff==2.2.1
backports.entry-points-selectable==1.3.0
backports.tarfile==1.1.1
bcrypt==4.1.3
beartype==0.17.2
beautifulsoup4==4.12.3
bleach==6.1.0
bokeh==3.4.1
build==1.2.1
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
choreographer==1.1.2
click==8.1.7
clr-loader==0.2.6
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
cryptography==42.0.7
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.18
dill==0.3.8
Django==5.0.6
docker==7.1.0
docutils==0.21.2
elementpath==4.4.0
exceptiongroup==1.2.1
executing==2.0.1
fabric==3.2.2
fastjsonschema==2.19.1
filelock==3.14.0
fonttools==4.51.0
fpdf2==2.7.8
fqdn==1.5.1
frozenlist==1.8.0
geomdl==5.3.1
google-api-core==2.19.0
google-api-python-client==2.128.0
google-auth==2.29.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.63.0
grapheme==0.6.0
grpcio==1.63.0
grpcio-health-checking==1.48.2
grpcio-status==1.48.2
h11==0.14.0
h5py==3.15.1
httpcore==1.0.5
httplib2==0.22.0
httpx==0.27.0
idna==3.7
importlib_metadata==7.1.0
iniconfig==2.3.0
invoke==2.2.0
ipykernel==6.29.4
ipython==8.24.0
ipywidgets==8.1.2
isoduration==20.11.0
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.1
jedi==0.19.1
Jinja2==3.1.4
joblib==1.4.2
json5==0.9.25
jsonpointer==2.4
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.14.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.8
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.1
jupyterlab_widgets==3.0.10
kaleido==1.1.0
keyring==25.2.0
kiwisolver==1.4.5
linkify-it-py==2.0.3
logistro==2.0.0
lxml==4.9.4
Markdown==3.6
markdown-it-py==3.0.0
MarkupSafe==2.1.5
marshmallow==3.21.2
marshmallow-oneofschema==3.1.1
matplotlib==3.8.4
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.0
mdurl==0.1.2
mistune==3.0.2
more-itertools==10.2.0
msgpack==1.1.2
multidict==6.7.0
narwhals==2.9.0
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
nest-asyncio==1.6.0
nh3==0.2.17
nltk==3.9.2
notebook==7.1.3
notebook_shim==0.2.4
numpy==1.26.4
orjson==3.11.3
overrides==7.7.0
packaging==24.0
pandas==1.5.3
pandocfilters==1.5.1
panel==1.4.2
param==2.1.0
paramiko==3.4.0
parso==0.8.4
pillow==10.3.0
Pint==0.23
pkginfo==1.10.0
platformdirs==3.11.0
plotly==6.3.1
pluggy==1.6.0
plumbum==1.8.3
pooch==1.8.1
prometheus_client==0.20.0
prompt-toolkit==3.0.43
propcache==0.4.1
proto-plus==1.23.0
protobuf==3.20.3
psutil==5.9.8
pure-eval==0.2.2
pyaedt==0.8.9
pyansys==2024.2.0b2
pyansys-tools-report==0.8.2
pyansys-tools-variableinterop==0.1.1
pyansys-tools-versioning==0.5.0
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycodestyle==2.11.1
pycparser==2.22
pydantic==2.7.1
pydantic_core==2.18.2
pyedb==0.8.0
Pygments==2.18.0
pygranta==2024.1.0
pyiges==0.3.1
PyJWT==2.8.0
PyNaCl==1.5.0
pyparsing==3.1.2
pypiwin32==223
pypng==0.20220715.0
pyproject_hooks==1.1.0
Pyro5==5.15
PySide6==6.10.0
PySide6_Addons==6.10.0
PySide6_Essentials==6.10.0
pyspnego==0.10.2
pytest==8.4.2
pytest-timeout==2.4.0
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pytomlpp==1.0.13
pytwin==0.6.0
pytz==2024.1
pyvista==0.46.3
pyvistaqt==0.11.3
pyviz_comms==3.0.6
pywin32==306
pywin32-ctypes==0.2.2
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==26.0.3
qtconsole==5.5.2
QtPy==2.4.1
readme_renderer==43.0
referencing==0.35.1
regex==2025.10.22
requests==2.31.0
requests-negotiate-sspi==0.5.2
requests-ntlm==1.2.0
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.18.1
rpyc==6.0.0
rsa==4.9
scikit-learn==1.4.2
scipy==1.13.0
scooby==0.10.0
semver==3.0.2
Send2Trash==1.8.3
serpent==1.41
shiboken6==6.10.0
simplejson==3.20.2
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
sqlparse==0.5.0
sseclient-py==1.8.0
sspilib==0.1.0
stack-data==0.6.3
tabulate==0.9.0
tenacity==8.3.0
terminado==0.18.1
threadpoolctl==3.5.0
tinycss2==1.3.0
toml==0.10.2
tomli==2.0.1
tornado==6.4
tqdm==4.66.4
traitlets==5.14.3
trame==3.12.0
trame-client==3.11.2
trame-common==1.0.1
trame-jupyter-extension==2.1.4
trame-router==2.3.0
trame-server==3.6.3
trame-vtk==2.10.0
trame-vuetify==3.1.0
twine==5.0.0
types-python-dateutil==2.9.0.20240316
typing_extensions==4.11.0
tzdata==2024.1
uc-micro-py==1.0.3
uri-template==1.3.0
uritemplate==4.1.1
urllib3==1.26.18
vtk==9.5.2
wakepy==0.7.2
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.8.0
websockets==15.0.1
widgetsnbextension==4.0.10
WMI==1.5.1
wrapt==1.16.0
wslink==2.4.0
xmlschema==2.5.1
xyzservices==2024.4.0
yarl==1.22.0
zipp==3.18.1