Skip to content

QUESTION: Clarification on Excessive Results for Member Internal Forces Retrieval #343

Open
@Jeroen124

Description

@Jeroen124

I am currently working on optimizing data retrieval from RFEM models using the Python API, particularly focusing on member internal forces. However, I've encountered an issue where the number of results retrieved seems excessively high for a simple model scenario. Specifically, for a single beam, I am receiving 16 entries for a specific member query and 31 entries when querying all members. This seems counterintuitive, especially considering the model's simplicity.

Here's the code I am using for a simple cantilever:

from RFEM.LoadCasesAndCombinations.loadCasesAndCombinations import LoadCasesAndCombinations
from RFEM.LoadCasesAndCombinations.loadCase import LoadCase
from RFEM.Results.resultTables import ResultTables
from RFEM.BasicObjects.material import Material
from RFEM.BasicObjects.member import Member
from RFEM.BasicObjects.node import Node
from RFEM.BasicObjects.section import Section
from RFEM.TypesForNodes.nodalSupport import NodalSupport
from RFEM.Loads.nodalLoad import NodalLoad
from RFEM.LoadCasesAndCombinations.loadCombination import LoadCombination

from RFEM.LoadCasesAndCombinations.staticAnalysisSettings import StaticAnalysisSettings
from RFEM.enums import (
    AnalysisType,
    CaseObjectType,
    ImperfectionDirection,
    ImperfectionType,
    MemberImperfectionDefinitionType,
    MemberImperfectionType,
    SetType,
    NodalSupportType,
    NodalLoadDirection,
    ActionCategoryType
)


Model(new_model=True, model_name="Test", delete_all=True)
Model.clientModel.service.begin_modification("new")

# Making the model as simple as possible
LoadCasesAndCombinations(
    {
        "activate_combination_wizard_and_classification": False,
        "activate_combination_wizard": False,
        "result_combinations_active": False,
        "result_combinations_parentheses_active": False,
        "result_combinations_consider_sub_results": False,
        "combination_name_according_to_action_category": False,
    }
)


Material(1, 'S235')
Section(1, 'IPE 200')

Node(1, 0.0, 0.0, 0.0)
Node(2, 1, 0.0, 0.0)

Member(1, 1, 2, 0.0, 1, 1)

NodalSupport(1, '1', NodalSupportType.FIXED)

StaticAnalysisSettings.GeometricallyLinear(1, "Linear")

LoadCase.StaticAnalysis(1, 'Self-Weight',analysis_settings_no=1,self_weight=[True, 0.0, 0.0, 1.0])
NodalLoad(1, 1, '1', NodalLoadDirection.LOAD_DIRECTION_GLOBAL_Z_OR_USER_DEFINED_W, 1*1000)

LoadCombination(
    no=1,
    analysis_type=AnalysisType.ANALYSIS_TYPE_STATIC,
    name='Loadcomb1',
    consider_imperfection=False,
    combination_items=[[1, 1, 0, False]],
)

# Calculate
Calculate_all()

Model.clientModel.service.finish_modification()

# =============================================================================
# Results
# =============================================================================
AllMemberResults =ResultTables.MembersInternalForces(
    loading_type=CaseObjectType.E_OBJECT_TYPE_LOAD_COMBINATION, loading_no=1, object_no=0
)

SpecificMemberResults =ResultTables.MembersInternalForces(
    loading_type=CaseObjectType.E_OBJECT_TYPE_LOAD_COMBINATION, loading_no=1, object_no=1
)

print(len(AllMemberResults))
print(len(SpecificMemberResults))

Given the model consists of a single beam, I expected the results to be more streamlined – perhaps detailed results at the nodes and an overall summary for the member itself, rather than 16 or 31 distinct entries.

Could you please provide insight into:

Why the number of results entries is so high for a single member?
Is there a way to interpret these results more effectively, or a method to streamline the data retrieval to focus on key outputs?
Are there best practices or documentation available that guide the handling of results data, especially for simple models?
Any guidance or references to documentation would be greatly appreciated as I navigate optimizing my workflow with the RFEM Python API.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions