Dear Community,
I am currently struggling with defining creep and shrinkage properties via the RFEM 6 API, and I have encountered a few issues that I hope you can clarify:
- Time‑dependent properties appear in both the Material and Cross‑Section modules. Should both be used, or does one override the other?
- In the Material module, I can activate creep and shrinkage , but I cannot find any parameters for time development or relative humidity. Are these properties controlled elsewhere, or are they not accessible through the API?
- In the Cross‑Section module, most inputs are available , but when I run the script and check the model afterwards, the defined time value is still set to zero. Is this a known issue, or am I missing a required step in the API workflow?
Heres a snipped of the code
# Steel pile geometry
b = 0.5 # Pile width [m]
# Quality
C_Q = "C30/37"
# Relative humidity
RH = 0.90
n_s = 100
t_max = 365*50
with rfem.Application() as rfem_app:
rfem_app.close_all_models(save_changes=False)
rfem_app.create_model(name="Påle_1")
rfem_app.delete_all_objects()
base_data: rfem.BaseData = rfem_app.get_base_data()
material: rfem.structure_core.Material = rfem.structure_core.Material(
no=1,
time_dependent_properties_creep_enabled=True,
time_dependent_properties_shrinkage_enabled=True,
name=C_Q,
)
cross_section: rfem.structure_core.CrossSection = rfem.structure_core.CrossSection(
no=1,
material=1,
type=rfem.structure_core.CrossSection.TYPE_PARAMETRIC_MASSIVE_I,
parametrization_type=rfem.structure_core.CrossSection.PARAMETRIZATION_TYPE_PARAMETRIC_MASSIVE_I__MASSIVE_SQUARE__SQ_M1,
b = b,
rotation_angle=angle,
advanced_time_dependent_properties_of_concrete_enabled=True,
creep_enabled=True,
shrinkage_enabled=True,
relative_humidity=RH,
function_data_function_type=rfem.structure_core.CrossSection.FUNCTION_DATA_FUNCTION_TYPE_SHRINKAGE_STRAIN_CA,
function_data_number_of_steps=n_s,
function_data_maximum_age_of_concrete=t_max,
)
rfem_app.create_object(material)
rfem_app.create_object(cross_section)
Thanks in advance