close


Commenting LS-DYNA Keyword Blocks


A clever way to comment out blocks of keyword can be easily achieved using the *COMMENT keyword.

Example: In the following example, the keyword *MAT_ELASTIC and all cards until the next keyword is commented out by simply adding a *COMMENT in front of it.


*MAT_ELASTIC
1, 1.0e-9, 210.00, 0.3
*SOME_OTHER_KEYWORD
....
....

to


*COMMENT*MAT_ELASTIC
1, 10e-9, 210.00, 0.3
*SOME_OTHER_KEYWORD
....
....

Leave a Reply

Your email address will not be published. Required fields are marked *


*