Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
Hello,
I have 5 problems that I encounter while carrying out mesh morphing for different parts. I'll show you step by step. You can see what I mean in the pictures I shared with you below.
Question 1)
I deal with mesh morphing for complex geometries having shared topologies between their bodies. However, after obtaining cdb file, I can see some parts highly distorted on regions with shared topology lines. There is no problem for a single body in mesh morphing. In my experiments, parts containing mixed mesh also cause problems which are element distortions in the morphing process.My source mesh has shared topology property. But the target geometry does not have shared topology property. What I see is that the source mesh transfers the shared topology property to the target geometry. When I add a shared topology to the target geometry, it sometimes works.
Question 2)
I have a cube model. Here the target geometry is scaled and enlarged. When I examine the mesh I obtained from the cdb file, the new cube mesh cannot be obtained completely. There is also warping on the surfaces of the new cube mesh. To what extent does the mesh morphing process allow us to make volumetric changes?
Question 3)
Another question is that I cannot directly transfer the cdb file, which I obtained from the code, into the workbench with the external model. After transferring it to the APDL environment, I can take the new cdb file I obtained into the workbench with the external model. In the mesh morphing process, my source mesh file contains quadratic elements. However, when I put the cdb file into the APDL environment, the element type is assigned as linear. When I manipulate it in APDL environment by changing element type, I see the element as quadratic in the workbench environment. It appears as linear in terms of the number of nodes and element behaviour . Is there a solution to this problem for current Ansys versions? I am using 24R1. If it was solved in new versions of Ansys, can I use it for quadratic elements in mesh morphing.
Question 4)
In MatchPair class, are the order and size of the source_surfaces and target_surfaces list important? Is it necessary for the lists to contain an equal number of elements? I would like to receive your comments regarding this question regarding the first question. For the shared topology mesh morphing process, I used the lists I obtained by giving name selections in both spaceclaim and workbench for source_surfaces and target_surfaces to be used in MatchPair class. The problem continues with the first question. I tried to get the edges from the mesh and add them to the Match Pair list with BCPair, but it still didn't work. What is the difference between source_surfaces, target_surfaces in MatchPair class and source_zonelet, target_zonelet in BCPair class? As far as I know, the word zonelet is used for mesh. It is not used for geometry.
Question 5)
After mesh morphing, I want to improve the morphed mesh with improve_by_auto_node_move. When I look inside the class, entities cannot be selected as borders for target geometry. In addition to Question 4, I can update the mesh quality in the morphed mesh with this class. I think that an attribute to be used for target geometry can make my mesh quality better. But it is not selected. When i investigated parameters of this class. There is boundary_zonelets statement in the class.
📝 Steps to reproduce
I examined the code content of the file named "Morph a hexahedral mesh of a turbine blade to a new shape" from the Pyprimemesh examples. I looked at what could be done in the code content by referencing this code. I examined the classes and methods in the library in detail. I used the MatchPair class.
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
Package Version
------------------------------------- --------------
aiohappyeyeballs 2.4.4
aiohttp 3.11.11
aiosignal 1.3.2
alabaster 1.0.0
annotated-types 0.7.0
ansys-acp-core 0.1.0
ansys-additive-core 0.17.0
ansys-additive-widgets 0.2.1
ansys-api-acp 0.2.0
ansys-api-additive 1.4.1
ansys-api-dbu 0.2.2
ansys-api-dyna 0.3.5
ansys-api-edb 1.0.10
ansys-api-fluent 0.3.30
ansys-api-geometry 0.3.5
ansys-api-mapdl 0.5.1
ansys-api-mechanical 0.1.1
ansys-api-meshing-prime 0.1.2.dev1
ansys-api-modelcenter 0.3.1
ansys-api-platform-instancemanagement 1.1.0
ansys-api-pyensight 0.3.2
ansys-api-sherlock 0.1.22
ansys-api-systemcoupling 0.1.0
ansys-api-tools-filetransfer 0.1.1
ansys-api-workbench 0.2.0
ansys-conceptev-core 0.8
ansys-dpf-composites 0.3.2
ansys-dpf-core 0.10.1
ansys-dpf-gate 0.4.1
ansys-dpf-gatebin 0.4.1
ansys-dpf-post 0.6.0
ansys-dyna-core 0.4.4
ansys-dynamicreporting-core 0.5.0
ansys-edb-core 0.1.9
ansys-engineeringworkflow-api 0.1.0
ansys-fluent-core 0.18.2
ansys-geometry-core 0.4.3
ansys-grantami-bomanalytics 1.2.0
ansys-grantami-bomanalytics-openapi 1.1.0
ansys-grantami-jobqueue 1.1.0
ansys-grantami-recordlists 1.0.0.post1
ansys-grantami-serverapi-openapi 1.0.0
ansys-grpc-dpf 0.8.1
ansys-hps-client 0.9.1
ansys-mapdl-core 0.67.0
ansys-mapdl-reader 0.54.2
ansys-math-core 0.1.3
ansys-mechanical-core 0.10.5
ansys-mechanical-env 0.1.8
ansys-mechanical-stubs 0.1.5
ansys-meshing-prime 0.5.0.dev10
ansys-modelcenter-workflow 0.1.1
ansys-motorcad-core 0.3.0
ansys-openapi-common 1.3.0
ansys-optislang-core 0.5.1
ansys-platform-instancemanagement 1.1.2
ansys-pyensight-core 0.7.4
ansys-pythonnet 3.1.0rc4
ansys-rocky-core 0.3.1
ansys-seascape 0.2.0
ansys-sherlock-core 0.4.0
ansys-simai-core 0.2.5
ansys-sound-core 0.1.3
ansys-systemcoupling-core 0.3.0
ansys-tools-filetransfer 0.1.1
ansys-tools-local-product-launcher 0.1.1
ansys-tools-path 0.7.1
ansys-tools-visualization-interface 0.8.1
ansys-turbogrid-api 0.4.3
ansys-turbogrid-core 0.4.dev0
ansys-units 0.3.4
ansys-workbench-core 0.7.0
anyio 4.7.0
appdirs 1.4.4
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asgiref 3.8.1
astroid 3.3.8
asttokens 3.0.0
async-timeout 5.0.1
asyncssh 2.19.0
atomicwrites 1.4.1
attrs 24.2.0
autopep8 2.0.4
babel 2.16.0
backoff 2.2.1
backports.tarfile 1.2.0
bcrypt 4.2.1
beartype 0.19.0
beautifulsoup4 4.12.3
binaryornot 0.4.4
black 24.10.0
bleach 6.2.0
bokeh 3.4.3
build 1.2.2.post1
cachetools 5.5.0
certifi 2024.12.14
cffi 1.17.1
chardet 5.2.0
charset-normalizer 3.4.1
click 8.1.8
cloudpickle 3.1.0
clr-loader 0.2.6
cmocean 4.0.3
colorama 0.4.6
colorcet 3.1.0
comm 0.2.2
contourpy 1.3.1
cookiecutter 2.6.0
cryptography 44.0.0
cycler 0.12.1
dataclasses-json 0.6.7
debugpy 1.8.11
decorator 5.1.1
defusedxml 0.7.1
Deprecated 1.2.15
diff-match-patch 20241021
dill 0.3.9
Django 4.2.18
django-guardian 2.4.0
djangorestframework 3.15.2
docker 7.1.0
docstring-to-markdown 0.15
docutils 0.21.2
elementpath 4.7.0
exceptiongroup 1.2.2
executing 2.1.0
fabric 3.2.2
fastjsonschema 2.21.1
filelock 3.16.1
flake8 7.1.1
flexcache 0.3
flexparser 0.4
fonttools 4.55.3
fpdf2 2.8.2
fqdn 1.5.1
frozenlist 1.5.0
geomdl 5.3.1
google-api-core 2.24.0
google-api-python-client 2.156.0
google-auth 2.37.0
google-auth-httplib2 0.2.0
googleapis-common-protos 1.66.0
grpcio 1.67.1
grpcio-health-checking 1.48.2
grpcio-status 1.48.2
h11 0.14.0
hollerith 0.6.0
httpcore 1.0.7
httplib2 0.22.0
httpx 0.28.1
idna 3.10
imageio 2.36.1
imagesize 1.4.1
importlib-metadata 6.11.0
inflection 0.5.1
intervaltree 3.1.0
invoke 2.2.0
ipykernel 6.29.5
ipython 8.31.0
ipywidgets 8.1.5
isoduration 20.11.0
isort 5.13.2
jaraco.classes 3.4.0
jaraco.context 6.0.1
jaraco.functools 4.1.0
jedi 0.19.2
jellyfish 1.1.3
Jinja2 3.1.5
joblib 1.4.2
jsonpointer 3.0.0
jsonschema 4.23.0
jsonschema-specifications 2024.10.1
jupyter_client 8.6.3
jupyter_core 5.7.2
jupyter-events 0.11.0
jupyter_server 2.15.0
jupyter_server_proxy 4.4.0
jupyter_server_terminals 0.5.3
jupyterlab_pygments 0.3.0
jupyterlab_widgets 3.0.13
keyring 25.6.0
kiwisolver 1.4.8
linkify-it-py 2.0.3
lxml 5.3.0
Markdown 3.7
markdown-it-py 3.0.0
MarkupSafe 3.0.2
marshmallow 3.25.1
marshmallow-oneofschema 3.1.1
matplotlib 3.10.0
matplotlib-inline 0.1.7
mccabe 0.7.0
mdit-py-plugins 0.4.2
mdurl 0.1.2
meshio 5.3.5
mistune 3.1.0
more-itertools 10.5.0
msal 1.31.1
msal-extensions 1.2.0
msgpack 1.1.0
multidict 6.1.0
mypy-extensions 1.0.0
nbclient 0.10.2
nbconvert 7.16.4
nbformat 5.10.4
nest-asyncio 1.6.0
networkx 3.4.2
nh3 0.2.20
nltk 3.9.1
numpy 1.26.4
numpydoc 1.8.0
overrides 7.7.0
packaging 24.2
pandas 2.2.3
pandocfilters 1.5.1
panel 1.4.4
param 2.2.0
paramiko 3.5.0
parso 0.8.4
pathspec 0.12.1
patsy 1.0.1
pdf2image 1.17.0
pexpect 4.9.0
pickleshare 0.7.5
pillow 11.0.0
Pint 0.24.4
pip 25.0.1
pkginfo 1.12.0
platformdirs 4.3.6
plotly 5.24.1
pluggy 1.5.0
plumbum 1.9.0
pooch 1.8.2
portalocker 2.10.1
prometheus_client 0.21.1
prompt_toolkit 3.0.48
propcache 0.2.1
proto-plus 1.25.0
protobuf 3.20.3
psutil 6.1.1
ptyprocess 0.7.0
pure_eval 0.2.3
pyaedt 0.7.8
pyansys 2024.1.0
pyansys-docker 5.0.4
pyansys-tools-variableinterop 0.1.1
pyansys-tools-versioning 0.6.0
pyasn1 0.6.1
pyasn1_modules 0.4.1
pycodestyle 2.12.1
pycparser 2.22
pydantic 2.9.2
pydantic_core 2.23.4
pydocstyle 6.3.0
pyedb 0.34.3
pyflakes 3.2.0
PyGithub 2.5.0
pygltflib 1.16.3
Pygments 2.18.0
pygranta 2025.1.0
pyiges 0.3.1
PyJWT 2.10.1
pylint 3.3.3
pylint-venv 3.0.4
pyls-spyder 0.4.0
PyNaCl 1.5.0
pyparsing 3.2.0
pypiwin32 223
pypng 0.20220715.0
pyproject_hooks 1.2.0
PyQt5 5.15.11
PyQt5-Qt5 5.15.2
PyQt5_sip 12.16.1
PyQtWebEngine 5.15.7
PyQtWebEngine-Qt5 5.15.2
Pyro5 5.15
pyspnego 0.11.2
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-json-logger 3.2.1
python-lsp-black 2.0.0
python-lsp-jsonrpc 1.1.2
python-lsp-server 1.12.0
python-pptx 0.6.19
python-slugify 8.0.4
pytoolconfig 1.3.1
pytwin 0.6.0
pytz 2024.2
pyuca 1.2
pyvista 0.44.2
pyviz_comms 3.0.3
pywin32 308
pywin32-ctypes 0.2.3
pywinpty 2.0.14
PyYAML 6.0.2
pyzmq 26.2.0
QDarkStyle 3.2.3
qstylizer 0.2.4
QtAwesome 1.3.1
qtconsole 5.6.1
QtPy 2.4.2
readme_renderer 44.0
referencing 0.35.1
regex 2024.11.6
requests 2.32.3
requests-negotiate-sspi 0.5.2
requests_ntlm 1.3.0
requests-toolbelt 1.0.0
rfc3339-validator 0.1.4
rfc3986 2.0.0
rfc3986-validator 0.1.1
rich 13.9.4
rope 1.13.0
rpds-py 0.22.3
rpyc 5.3.1
rsa 4.9
Rtree 1.3.0
scikit-learn 1.6.0
scikit-rf 1.5.0
scipy 1.14.1
scooby 0.10.0
semver 3.0.2
Send2Trash 1.8.3
serpent 1.41
setuptools 57.4.0
simpervisor 1.0.0
six 1.17.0
sniffio 1.3.1
snowballstemmer 2.2.0
sortedcontainers 2.4.0
soupsieve 2.6
Sphinx 8.1.3
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
spyder 6.0.3
spyder-kernels 3.0.2
sqlparse 0.5.3
sseclient-py 1.8.0
sspilib 0.2.0
stack-data 0.6.3
statsmodels 0.14.4
superqt 0.7.0
tabulate 0.9.0
tenacity 9.0.0
terminado 0.18.1
text-unidecode 1.3
textdistance 4.6.3
threadpoolctl 3.5.0
three-merge 0.1.1
tinycss2 1.4.0
toml 0.10.2
tomli 2.2.1
tomli_w 1.2.0
tomlkit 0.13.2
tornado 6.4.2
tqdm 4.67.1
traitlets 5.14.3
trame 3.7.5
trame-client 3.5.1
trame-server 3.2.4
trame-vtk 2.8.12
trame-vuetify 2.7.2
twine 6.0.1
types-python-dateutil 2.9.0.20241206
typing_extensions 4.12.2
typing-inspect 0.9.0
tzdata 2024.2
tzlocal 5.2
uc-micro-py 1.0.3
ujson 5.10.0
uri-template 1.3.0
uritemplate 4.1.1
urllib3 1.26.20
usd-core 24.11
vtk 9.3.1
wakepy 0.10.1
watchdog 6.0.0
wcwidth 0.2.13
webcolors 24.11.1
webencodings 0.5.1
websocket-client 1.8.0
websockets 14.2
whatthepatch 1.0.7
widgetsnbextension 4.0.13
WMI 1.5.1
wrapt 1.17.0
wslink 2.2.1
XlsxWriter 3.2.0
xmlschema 3.4.3
xyzservices 2024.9.0
yapf 0.43.0
yarl 1.18.3
zipp 3.21.0