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

transform static loads from element faces to nodes? #812

Open
jaredmagnusson opened this issue Dec 9, 2024 · 4 comments
Open

transform static loads from element faces to nodes? #812

jaredmagnusson opened this issue Dec 9, 2024 · 4 comments

Comments

@jaredmagnusson
Copy link

Hello,
I'm looking to convert pressures known at element nodes and faces into forces at the nodes (FEA tool I'm using wants nodal values). Getting forces is straightforward at the face centroids (pressure*Area), but robustly getting a "nodal area" is more difficult across different element types and orders. Preferably, I'd like that interpolation to account for and conserve energy using something like weighted areas (shape functions?).

I saw this functionality in v1.1.0 in pyNastran/bdf/cards/loads/static_loads.py for the PLOAD4 card, a method called transform_load. It didn't take into account area weightings (simply divided the total load by number of nodes), but otherwise looked good. Somewhere in either v1.2.0 or 1.3.0 that functionality went away.

What do you think the best approach would be to perform that kind of operation now? I see a more general transform_load now in the loads.py file, but it only works between 2 existing CID, so I don't think that'd work with an element face center. If there's a better way go about this let me know.

@SteveDoyle2
Copy link
Owner

SteveDoyle2 commented Dec 10, 2024 via email

@jaredmagnusson
Copy link
Author

Ok thank you. Where's the force to pressure code located?

@SteveDoyle2
Copy link
Owner

SteveDoyle2 commented Dec 11, 2024 via email

@jaredmagnusson
Copy link
Author

Thank you

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

2 participants