-
-
October 26, 2021 at 9:42 am
lschuler
SubscriberHello,
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 Prakash
Ansys Employee
Can you share the example that you are referring to as an image?
Regards Surya
November 2, 2021 at 10:16 amlschuler
Subscriber
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 discussionsTop Contributors-
3427
-
1057
-
1051
-
896
-
887
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.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY