TAGGED: ansys-apdl, usermat, usermat-coding
-
-
September 6, 2022 at 3:37 pmjanot.lubritzSubscriber
Hey guys!
I'm struggling with my first USERMAT code and thereby want to ask if somebody has a working .f code for a basic linear elastic material behaviour? The default USERMAT code (BISO material) works fine but when I tried to modify it into an elastic model (just for practice) the code compiles correctly but the APDL calculation does not give me any results (no displacement at all).
A working code would give me the ability to check where my mistakes are or maybe somebody knows right away what could be my problem?
Â
Thanks a lot in advance!
Â
-
September 12, 2022 at 5:56 pmDavid WeedAnsys Employee
Hi Janot,
You might want to instead use user_tbelastic.F. This can be found in the path C:\Program Files\ANSYS Inc\v2XX\ansys\customize\user.Â
-
September 14, 2022 at 10:41 amjanot.lubritzSubscriber
Hi David,
Â
thank you for your reply but I think that's not exactly what I'm looking for. The user_tbelastic.F does not look like a complete user material rather than definition of the elasticity parameters. My problem is that I did some changes to the usermat.f code to check out how the coding works but ansys does not give me any results when I work with the compiled usermat.f code. That's why I'm asking for an easier example than the BISO material law that is written in the usermat.f example.
Later on I'd like to write a completely new usermat for my project but until then I need to figure out how usermat is actually working. Would be great if somebody has some more advice or tips on how to proceed with the first changes in an usermat code and make sure that everything is working correctly.
Â
Thank you so much!
-
September 14, 2022 at 11:06 amDavid WeedAnsys Employee
You can consider using Fortran write statements in the code so that when the MAPDL solver is running, you will get feedback in the solver output file. Also, if you want the model to behave in a linear elastic fashion, you can consider setting the yield stress to a very high value, then it will not enter the portion of the code where plastic strain is calculated. I would also suggest running a one element problem so that you can easily track the output.
-
-
-
- The topic ‘USERMAT linear elastic code’ is closed to new replies.
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- Frictional No separation contact
- Timestep range set for animation export
- Script Error Code:800a000d
- 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
-
1436
-
599
-
591
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.