Generating Position and Gradients for Loaded Configuration
- Start with the NLFE Body in a No-Load configuration and apply Force/Motion to load the NLFE Body as needed.
-
Include the MotionSolve Save command to save the states of the model into an
XML file (herein referred as “saved state XML”) after the Simulate command. A
Template that writes into the solver command section can be used in MotionView.
-
Click on Default Analysis in the Model Browser and then select the Scripted
Simulation check box from the Entity Editor - Analysis.
-
Solve the model. Select the Run offline option in the
Run settings and click the Run button.
-
Once the run is complete.
- Right-click in the empty space in the Model Browser and select Python Script.
- Browse to the python script “NLFE_generate_loaded_csv.py” available in the installation (install_location/hwdesktop/utility/mbd/nlfe).
-
The script will prompt you to open the saved state XML file and also
provide a CSV file name to save the position and gradients
information.
-
Once the CSV file is saved, import it into the Position &
Gradients table available in the NLFE Body Connectivity section
of the Entity Editor.
Upon importing the loaded configuration, the display of the NLFE Body in graphics area would change. The NLFE Body loaded configuration gets the prominent display with solid implicit graphics while the no load configuration will be shown in a wireframe featured mode.