-
-
February 18, 2021 at 4:11 pmVolker_SlowikSubscriberI am using the user routines UserMat and UserMAtTh for material modelling. Out of the routine, I want to access user state variables for an element other than the current one (other than the one the user routine has been called for). I expected that this can be done by the provided subroutine (API) get_ElmData (kchar, elemId, kMatRecPt, ncomp, vect). However, this subroutine seems to work only for the current element, not for other elements. The element number elemId specified as input for the subroutine is ignored. The output contains always data for the integration points of the current element. Does someone have an idea how to access user state variables of other elements? n
-
April 2, 2021 at 7:39 pmDavid WeedAnsys EmployeenI spoke to one of our developers and they indicated that there are no routines to get data from other elements from inside a UPF. This capability is not supported but some customers have implemented methods to do it (one potential route would be storing and retrieving data from external files, but note that doing so is not a standard or supported feature of ANSYS software).n
-
April 3, 2021 at 5:35 amVolker_SlowikSubscriberThank you for responding to my question. Very clear answer.n
-
August 2, 2022 at 1:04 ammyu25Subscriber
Hi,Â
I am facing one similar problem as you, I would like to retrieve the plastic strain as output inside the "vect", the label for plastic strain is EPPL, since ANSYS has no idea what user stored, there should have another label for plastic strain. How do I know the label and how to define it?
Â
if you have time, we can discuss via email (myu25@uiowa.edu)
Â
regards
Â
-
-
Viewing 2 reply threads
- The topic ‘How to access solution data from a user material subroutine (UserMat or UserMatTh)?’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Calculate heating of an assembly for a given ambient temperature?
- Press hardening characterization
- ACP PRE problem
- Explicit Dynamics Material properties
- Documentation of the kinetics of the reaction of methylamine with NO
- Temperature-dependent viscosity model used in FLUENT flow analysis
- Material Designer, Different warp and weft shares in woven RVE
- orthotropic material proprierties give me “missing” data, what could it be?
- Get ultimate strength value from simulation
Top Contributors
-
1416
-
599
-
591
-
565
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.