Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikerife opened this issue Jun 11, 2024 · 7 comments
Open

Comments

@mikerife
Copy link

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
Copy link
Collaborator

germa89 commented Jun 12, 2024

Hi @mikerife

Which version was added?

@mikerife
Copy link
Author

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.

@germa89
Copy link
Collaborator

germa89 commented Jul 15, 2024

Revisiting this again.

So we have:

So I can either add /EXPAND, but I will need an MAPDL code so I can see if it works on PyMAPDL in the way we expect to. Or just add it to the list of non supported commands.

If you @mikerife send me any full example with /EXPAND, I can see if we can added. Otherwise, it should go to non-supported.

@mikerife
Copy link
Author

Hi @germa89
Here is a simple example. It probably should be on the non-supported list. Maybe pydpf is a better place to implement these expansion commands...?
mike

EM56.zip

@germa89
Copy link
Collaborator

germa89 commented Jul 16, 2024

Pinging @rafacanton @PProfizi for feedback.

@PProfizi
Copy link
Contributor

PProfizi commented Jul 17, 2024

Hi @germa89, hi @mikerife, does any of these examples look like what /EXPAND does?
https://dpf.docs.pyansys.com/version/dev/examples/11-cyclic-symmetry/index.html

Edit: ah sorry, that may be more akin to CYCEXPAND capabilities?
Expanding results on multi-sectors models is possible with PyDPF though, if that is what /EXPAND does.

@mikerife
Copy link
Author

Hi @PProfizi
Yeah I think the cyclic expansion in DPF is over-kill compared to /expand. /expand is just a graphics tool; it does not change the mapdl database. Just shows copies of the mesh/result in a way to show the expanded symmetry.

Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants