-
-
October 26, 2021 at 9:42 amlschulerSubscriber
Hello,
I am trying to define my own finite element type using the subroutine USERELEM. I can see in the example written in the subroutine that the function ElemShpFn is called to obtain the shape functions, their derivatives and other information. What are the input arguments of this function? Can I use it to obtain shape functions of other elements that the ones used in the example?
Thank you
November 2, 2021 at 7:32 amSurya PrakashAnsys Employee
Can you share the example that you are referring to as an image?
Regards Surya
November 2, 2021 at 10:16 amlschulerSubscriber
Here is the part of the code corresponding to the call to the shape functions. I am guessing that the first input is the order of the element (1 linear, 2 quadratic) because KeyOpt(1)=0 corresponds to linear quads elements and KeyOpt(1)=1 to quadratic cubes elements. The two following inputs are the integration point number, the desired output (1 for the shape functions, 2 for their derivatives, 3 for the integration weight). Is that right?
Thank you Louis
Viewing 2 reply threads- The topic ‘Evaluate shape functions in USERELEM’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- At least one body has been found to have only 1 element in at least 2 directions
- How to apply Compression-only Support?
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- Frictional No separation contact
- Script Error Code:800a000d
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
Top Contributors-
1492
-
599
-
591
-
591
-
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.
-