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

principal_nodal_stress(rnum) etc API suggestion #52

Closed
1990chs opened this issue Jun 30, 2021 · 9 comments
Closed

principal_nodal_stress(rnum) etc API suggestion #52

1990chs opened this issue Jun 30, 2021 · 9 comments

Comments

@1990chs
Copy link
Contributor

1990chs commented Jun 30, 2021

principal_nodal_stress(rnum) this API can't assign the nodes numbers. It needs update.
I have check the API document and I found some API can't assign nodes numbers or component.
The list is follow.

principal_nodal_stress(rnum)
element_stress(rnum, principal=False, in_element_coord_sys=False, **kwargs)
nodal_acceleration(rnum, in_nodal_coord_sys=False)
nodal_boundary_conditions(rnum)
nodal_input_force(rnum)
nodal_reaction_forces(rnum)
nodal_time_history(solution_type='NSL', in_nodal_coord_sys=False)
nodal_velocity(rnum, in_nodal_coord_sys=False)

class ansys.mapdl.reader.cyclic_reader.CyclicResult(filename)
nodal_displacement(rnum, phase=0, full_rotor=False, as_complex=False)
nodal_elastic_strain(rnum, phase=0, as_complex=False, full_rotor=False)
nodal_plastic_strain(rnum, phase=0, as_complex=False, full_rotor=False)
nodal_solution(rnum, phase=0, full_rotor=False, as_complex=False)
nodal_stress(rnum, phase=0, as_complex=False, full_rotor=False)
nodal_thermal_strain(rnum, phase=0, as_complex=False, full_rotor=False)
nodal_temperature(rnum, full_rotor=False)```
@1990chs 1990chs changed the title principal_nodal_stress(rnum) ect API suggestion principal_nodal_stress(rnum) etc API suggestion Jun 30, 2021
@akaszynski
Copy link
Collaborator

Thanks for posting this @1990chs.

We just had a baby, so it might take me longer than I'd like to patch this bug. I should have something by Monday next week.

@1990chs
Copy link
Contributor Author

1990chs commented Jul 1, 2021

Congratulation. It is OK

@1990chs
Copy link
Contributor Author

1990chs commented Jul 1, 2021

I try to edit the rst.py as follow, do I modify is correct?
image
image

@akaszynski
Copy link
Collaborator

If you fork and then create a PR, I'll be able to review your work and make suggestions.

@1990chs
Copy link
Contributor Author

1990chs commented Jul 2, 2021

What's the PR? I am not a professional programmer.

@akaszynski
Copy link
Collaborator

It's ok, I'm not either :)

PR is a pull request. There's tons of examples on forking a repo and making a pull request. Once you figure it out the first time it's not too bad.

@1990chs
Copy link
Contributor Author

1990chs commented Jul 4, 2021

Thinks,yesterday I try to use vs code to push codes to my github .but not successed . Today I use git bash to push and successed. I have ask a pull request about principal_nodal_stress() API

@jgd10
Copy link
Contributor

jgd10 commented Jan 26, 2022

This appears to have been fixed by #56 ? If so is there anything else needed or can we close the issue?

@jgd10
Copy link
Contributor

jgd10 commented Jan 26, 2022

Since this appears to be fixed I'll close this for now and we can reopen if something was missed!

@jgd10 jgd10 closed this as completed Jan 26, 2022
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