LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

Unable to run command line : elgenerate solid voxel

    • Veronique Bouvette
      Subscriber

      I'm encountering some issues while trying to automate certain manipulations across different .k files. Here's the method I've developed to achieve my goal:

      1. Import the STL files.
      2. Use element generation to create voxel contours from the STL files.
      3. Mesh tetrahedra within the voxel boundaries.

      I'm currently stuck at the voxel elements generation step. While the manual process works well, I'm facing difficulties when trying to automate it using command lines. Specifically, the elgenerate command doesn't seem to accept the element generation.

      ----

      elgenerate solid voxel parts 1 88000265pa bysize 1 1 1 outlineonly cubevoxel obbbound
      elgenerate accept

      ---

      When executing these commands through the command line, the process stops at the visualization and voxel generation step. The expected outcome, which is creating a new part, isn't happening.

      Could someone please assist me in resolving this issue?

      Issue with Command Line Execution: No Part Generation:

      This is the expected next step by 'elgenerate accept' which creates a new part (not happening when using the command lines...):

      Edit: I found out that it dosent't show the "Build rendering data" message when it is not working... there is really something not being completed even with the same command lines

    • Reno Genest
      Ansys Employee

      Hello Veronique,

      When you do the manual operations by clicking buttons, LS-PrePost will record the commands in the lspost.cfile. You can open this file in a text editor to see the commands used.

      Let me know if this works or not.

       

      Reno.

      • Veronique Bouvette
        Subscriber

        Thank you for your response! It is, in fact, the line from the recording file. After numerous attempts, I randomly found out that it works fine if I first complete one voxelization manually. Considering I have a bunch of voxelizations to do, I do the first one manually and then I proceed with .cfile for the remaining ones. My process is not completely automatic as I intended it to be, but it is the only way working for me.

    • Reno Genest
      Ansys Employee

      Hello Veronique,

      It is good that you found a workaround. It is also weird that you have to do the first one manually. Which version of LS-PrePost are you using? Have you tried with the latest LSPP? You can download it here:

      https://ftp.lstc.com/anonymous/outgoing/lsprepost/4.11/

      Also, if you can send here on the forum the complete sequence of commands you are executing, maybe we can help troubleshoot.

       

      Reno.

      • Veronique Bouvette
        Subscriber

        I am using 4.11.3 and I tired with different version too! The behaviour was the same. 

        Thank You

Viewing 2 reply threads
  • You must be logged in to reply to this topic.