Skip to main content

composite:ls_dyna_keyword_parser

Version: 0.0.0

Description​

Reads a specific keyword from an k-file. The parser reads the name of the options from the comments (standard by LSPP) if available. If the comment lines are not available, then the option name is just the index (0-based). It supports keywords which have a structure like below. Kewords such as *ELEMENT_SHELL_OFFSET or *SET_NODE_LIST_TITLE are not supported.

*DATABASE_EXTENT_BINARY neiphneipsmaxintstrflgsigflgepsflgrltflgengflg0165111100 neiph neips maxint strflg sigflg epsflg rltflg engflg 0 16 5 11 1 1 0 0 cmpflg ieverp beamip dcomp shge stssz n3thdt ialemat 1 0 0 0 0 0 0 0 $ nintsld pkp_sen sclp hydro msscl therm intout nodout 0 0 0 0 2 0

Inputs​

InputNameExpected type(s)Description
Pin 0
Required
keywordstringThe keyword of interest. For instance '*DATABASE_EXTENT_BINARY'.
Pin 4
Required
data_sourcesdata_sourcesLS Dyna input file (*.k) as data source. Use LsDynaInputFile as key to add a k-file to the DataSources object.

Outputs​

OutputNameExpected type(s)Description
Pin 0keyword_optionsstringJSON string with all the options. For instance {"neiph": 0, "neips": 16, ...}

Configurations​

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting​

Category: composite

Plugin: composite

Scripting name: ls_dyna_keyword_parser

Full name: composite.ls_dyna_keyword_parser

Internal name: composite::ls_dyna_keyword_parser

License: None

Changelog​

  • Version 0.0.0: Initial release.