-
-
July 10, 2019 at 5:41 pm
ansysuser
SubscriberHello,
I am attempting to design a custom element for a project I am working on. I am looking through the API UserElem.f and in the routine it declares the external ElemGetMat and says that the user may be modified. Here is what it says:
EXTERNAL ElemGetMat ! this routine may be user-programmed
...
--- ElemGetMat, which can also be modified if desired.
But I cannot find ElemGetMat to modify it. This is not in the same customize/user folder where UserElem.f is found, and a search of all the subfolders in the ANSYS director turns up nothing. So how can I access ElemGetMat?
Thanks
-
July 10, 2019 at 7:24 pm
Sandeep Medikonda
Ansys EmployeeWhat version of ANSYS are you using?
The help says the following about this routine:
When calling the subroutine, input the associated material data via the standard method. There is no need to access this subroutine, only to call it.
-
July 10, 2019 at 8:18 pm
ansysuser
SubscriberHello SandeepMedikonda,
I am using 2019 R1. Above I copied and pasted what it says in the template file "UserElem.f" Here I will be more specific.
It says this on line 215:
EXTERNAL ElemGetMat ! this routine may be user-programmed
On line 363 it says:
c --- ElemGetMat, which can also be modified if desired.
So yes, this appears to contradict the documentation that you cited above. Can you confirm which one is correct?
Thanks.
-
July 10, 2019 at 8:58 pm
Sandeep Medikonda
Ansys EmployeeThe developer might have forgotten to remove the comment.
I will confirm this but would recommend going with the help for now.
-
July 10, 2019 at 9:04 pm
ansysuser
SubscriberThank you, SandeepMedikonda. I appreciate your time.
-
July 18, 2019 at 4:12 pm
ansysuser
SubscriberI marked SandeepMedikonda's last response as the answer, even though I have not heard back. I assume someone forgot to edit out the statements that the user can alter ElemGetMat in UserElem.f
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- Colors and Mesh Display
- User manual
- material damping and modal analysis
-
3648
-
2512
-
1739
-
1226
-
578
© 2023 Copyright ANSYS, Inc. All rights reserved.