We provide hints and tips to help you get started with the basic program RFEM.
Home Support & Learning Learning Videos FAQ 004484 | How can I display the stresses of a surface via RF‑COM?
FAQ 004484 | How can I display the stresses of a surface via RF‑COM?
Video
First Steps with RFEM
Question
How can I display the stresses of a surface via RF‑COM?Answer
The stresses of a surface can be displayed via the COM interface. First, you need the interface for the model (IModel) and then the interface for the calculation (ICalculation2). Using this interface, you can get the interface for the results (IResults2):
Sub stresses_surfaces_example()Dim iApp As RFEM5.ApplicationDim iModel As RFEM5.modelSet iModel = GetObject(, "RFEM5.Model")
On Error GoTo E
If Not iModel Is Nothing Then ' get interface from model Set iApp = iModel.GetApplication iApp.LockLicense ' get interface from calculation Dim iCalc As RFEM5.ICalculation2 Set iCalc = iModel.GetCalculation ' get interface from results from loadcase 1 Dim iRes As RFEM5.IResults2 Set iRes = iCalc.GetResultsInFeNodes(LoadCaseType, 1) ' get equivalent stresses Dim str_equ() As RFEM5.SurfaceEquivalentStresses str_equ = iRes.GetSurfaceEquivalentStresses(1, AtNo, VonMisesHypothesis) End If
E:If Err.Number <> 0 Then MsgBox Err.Number & " " & Err.descriptionEnd If
If Not iApp Is Nothing Then iApp.UnlockLicenseEnd If
The GetSurfaceEquivalentStresses function requires the specification of the calculation hypothesis. In this case, the results of the von Mises stress are displayed. Please note that the COM interface uses SI units so the stress is transferred in N/m².
Keywords
Dlubal FAQ COM Mises Stresses IResults ICalculation Frequently Asked Question FAQ about Dlubal Question and Answer about Dlubal
Links
Contact us
Do you have any questions about our products or need advice on selecting the products needed for your projects?
Contact us via our free e-mail, chat, or forum support or find various suggested solutions and useful tips on our FAQ page.
Recommended Events
Eurocode 5 | Timber structures according to EN 1995-1-1
Online Training 03/17/2021 8:30 AM - 12:30 PM CET
Eurocode 3 | Steel structures according to DIN EN 1993-1-1
Online Training 03/18/2021 8:30 AM - 12:30 PM CET
Eurocode 3 | Steel structures according to DIN EN 1993-1-1
Online Training 05/06/2021 8:30 AM - 12:30 PM
Eurocode 2 | Concrete structures according to DIN EN 1992-1-1
Online Training 05/11/2021 8:30 AM - 12:30 PM
Eurocode 5 | Timber structures according to DIN EN 1995-1-1
Online Training 05/20/2021 8:30 AM - 12:30 PM
RFEM | Structural dynamics and earthquake design according to EC 8
Online Training 06/02/2021 8:30 AM - 12:30 PM
Videos
Models to Download
Knowledge Base Articles

Cross-Model Updating and Adjusting Structural Data Using COM Interface
For some structures, it is necessary to design them in different configurations.
Screenshots
Product Features Articles
New
Increased Calculation Performance by Reducing the Nodal Degrees of Freedom
The number of degrees of freedom in a node is no longer a global calculation parameter in RFEM (6 degrees of freedom for each mesh node in 3D models, 7 degrees of freedom for the warping torsion analysis). Thus, each node is generally considered with a different number of degrees of freedom, which leads to a variable number of equations in the calculation.
This modification speeds up the calculation, especially for models where a significant reduction of the system could be achieved (e.g. trusses and membrane structures).
Frequently Asked Questions (FAQ)
- How can I edit the list of parameters by using the COM interface?
- How can I use the "Connect Lines or Members" function via the COM interface?
- How can I read out the resultant of a section via the COM interface?
- I am using the COM interface and Grasshopper for the calculation of complex structures. For this task, I need to create NURBS lines. Could you explain how to set NURBS? For example what kind of data should be provided for Knots?
- How can I create a user-defined coordinate system via the COM interface and then assign it to a nodal support?
- What are the StandardID and AnnexID of various National Annexes for the processing using the COM interface?
- Is it possible to create visibilities using the COM interface?
- How can I select objects via the COM interface?
- How can I modify the FE mesh settings via the COM interface?
- I have the following problem when programming in VBA with RFEM lines: "No assignment to data field possible." What can I do?
Customer Projects