-
-
November 27, 2024 at 2:31 pm786959915Subscriber
I think the main function of the user-defined state subroutine is to output the bulk modulus in the first update, and the new pressure value and energy in the second update, i.e. the corresponding iflag=0 and iflag=1 parts, is this understood correctly?
Also, I have some questions about the initialization of some parameters in the user subroutine. For example, if I initialize the temperature tmp=293K, the temperature changes after running the subroutine, and if I call this subroutine later, does the temperature change to 293K? -
December 2, 2024 at 11:58 pmPedram SamadianAnsys Employee
Hi,
You are right. As per LS-DYNA Keyword User’s Manual Vol. I Appendix II (LS-DYNA Keyword Manual), with a defined *EOS_USER_DEFINED card for a part, LS-DYNA first calls the EOS to calculate the bulk modulus and then calls it to update the pressure and internal energy.
About your second question, in LS-DYNA, variables like temperature are usually part of the state that are updated and passed through calls to the subroutine. This means the value of temperature at the end of a previous step will be carried into subsequent calls to the subroutine unless you overwrite it. The subroutine does not automatically reset the temperature to 293 K unless you explicitly reinitialize it in your code (i.e. you hardcode it in the code).
I hope this information answers your questions.
Thanks,
Pedram
Â
Â
-
December 5, 2024 at 7:43 am786959915Subscriber
Thank you very much for your reply
-
- You must be logged in to reply to this topic.
- LS-DYNA Installation Issues with Student Workbench 2024 R2
- LS-Dyna CESE SMP d vs MPP d solver
- CESE solver – Ignition mechanism
- Cross-coupled stiffness elements in LS-DYNA
- Mathematical model generation stuck at 10%
- About combine different unconnected body into one part
- CONTROL_REFERENCE_CONFIGURATION
- Tiebreak using Segment set for contact b/w 20 noded Hexahedral elements
- shape memory alloy material in LS-DYNA
- CESE combustion model
-
1236
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.