ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
419 stars 117 forks source link

Change support for /EXPAND as EXPAND has been added as a APDL command. #3165

Open mikerife opened 3 weeks ago

mikerife commented 3 weeks ago

Description of the feature

The EXPAND command has been added to MAPDL recently. PyMAPDL and its converter supports the existing /EXPAND as EXPAND. So the current PyMAPDL 'expand' needs to be changed to 'slashexpand' and 'expand' changed to match EXPAND.

https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/ans_cmd/Hlp_C_EXPAND_sl.html https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/ans_cmd/Hlp_C_EXPAND.html

Steps for implementing the feature

Uh, do that developer thing you do.

Useful links and references

https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/ans_cmd/Hlp_C_EXPAND_sl.html https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/ans_cmd/Hlp_C_EXPAND.html

germa89 commented 3 weeks ago

Hi @mikerife

Which version was added?

mikerife commented 3 weeks ago

Hi @germa89 sorry - I thought it was. But they have been in MAPDL since at least v6.0. Looks like there has been some back-and-forth between EXPAND, /EXPAND, and /CYCEXPAND on limitations and which is better to use with specific models (cyclic symmetric). Looks like /CYCEXPAND is not supported by PyMAPDL either. But not listed as a non-supported command.