Get_results() - MEMBER_AXES vs. PRINCIPAL_AXES

I try to get results in direction of MEMBER_AXES:

relevant_result_type = rfem.results.ResultsType.STATIC_ANALYSIS_MEMBERS_INTERNAL_FORCES
relevant_member_axes_system = rfem.results.settings.MemberAxesSystem.MEMBER_AXES_SYSTEM_MEMBER_AXES_X_Y_Z
df_all_results_MEMBERS_INTERNAL_FORCES_MemberAxes: pd.DataFrame = rfem_app.get_results(
results_type = relevant_result_type,
member_axes_system = relevant_member_axes_system,
).data

save_df_to_csv(df_all_results_MEMBERS_INTERNAL_FORCES_MemberAxes, "df_all_results_MEMBERS_INTERNAL_FORCES_MemberAxes")

and also in direction of PRINCIPAL_AXES:

relevant_result_type = rfem.results.ResultsType.STATIC_ANALYSIS_MEMBERS_INTERNAL_FORCES
relevant_member_axes_system = rfem.results.settings.MemberAxesSystem.MEMBER_AXES_SYSTEM_PRINCIPAL_AXES_X_U_V
df_all_results_MEMBERS_INTERNAL_FORCES_PrincipalAxes: pd.DataFrame = rfem_app.get_results(
results_type = relevant_result_type,
member_axes_system = relevant_member_axes_system,
).data

save_df_to_csv(df_all_results_MEMBERS_INTERNAL_FORCES_PrincipalAxes, "df_all_results_MEMBERS_INTERNAL_FORCES_PrincipalAxes")

In both request the csv-File shows the data of MEMBER_AXES

My crossection is a unsymmetric L-shape where i see following results in GUI:

Is there a bug or did i something wrong?

My current version is RFEM 6.11.0004.

I did the call with PRINCIPAL_AXES about 30 times.

Only one time i got results in principal direction, most times it ignores and gives results in MEMBER_AXES…

Hello Mr. Entner,
I’m sorry but I can’t reconstruct the problem. I took your code and checked the export. The function for saving as csv was unknown so I made it like that:

df_all_results_MEMBERS_INTERNAL_FORCES_MemberAxes.to_csv("c:/temp/df_all_results_MEMBERS_INTERNAL_FORCES_PRINCIPALAXES.csv")

I checked the results and they were correct. Do you use the latest version of the API and the main program? You can update the api with that command:

pip install dlubal.api --upgrade

I’m happy to answer any question further available.

Hi Thomas,

now i updated to RFEM 6.11.0006 and it seems to work.

Thank you

1 Like