Dynas+
OAS-03LS-DYNA and related toolsLS-DYNA tools and Oasys

Customization via JavaScript

Become familiar with the JavaScript language and learn to write and use JavaScripts for Oasys PRIMER and Oasys D3PLOT.

Learning objectives

  • Get started with JavaScript automation solutions for PRIMER and D3PLOT, and know how to write and debug a script.
  • Be able to use the Oasys-specific JavaScript extensions and handle user interactions.
  • Know how to set up custom menus and process complex PRIMER data.

Target audience

Engineers wishing to develop their own features in Oasys PRIMER and D3PLOT (pre- & post-processing, integrated applications).

Prerequisites

Working knowledge of LS-DYNA and Oasys (prior attendance of BASE-01 or 03 and OAS-01 recommended) Basic software development skills (knowledge of the JavaScript language is not required but is an advantage)

Detailed programme

01Introduction
  • Purpose of this course
  • Software concerned
  • What is JavaScript?
  • Example of use
02PRIMER – JavaScript – Part 1
  • Basic concepts
03D3PLOT – JavaScript
  • Running an existing JavaScript
  • Displaying data
  • Writing and debugging a script
  • Writing a JavaScript to calculate new data
04PRIMER – JavaScript – Part 2
  • Guide to the main JavaScript capabilities
  • Using the Oasys JavaScript extension in PRIMER
  • Accessing, creating and modifying keywords
  • Reading and writing external files
  • Interaction with PRIMER – clicking and selecting
  • GUI: using standard windows
  • Using the command line
  • Common errors and solutions
05PRIMER – JavaScript – Part 3
  • Using sets
  • Functions within a script
  • Creating custom menus
  • Miscellaneous

The key points of the course will be accompanied by practical exercises.

Request a quote for this course

All courses