TAGGED: command-line, ls-prepost
-
-
April 16, 2024 at 2:37 amveronique.bouvette.1Subscriber
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:
- Import the STL files.
- Use element generation to create voxel contours from the STL files.
- 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
-
April 19, 2024 at 1:10 amReno GenestAnsys 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.
-
April 19, 2024 at 7:00 pmveronique.bouvette.1Subscriber
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.
-
-
April 19, 2024 at 7:33 pmReno GenestAnsys 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.
-
April 19, 2024 at 7:42 pmveronique.bouvette.1Subscriber
I am using 4.11.3 and I tired with different version too! The behaviour was the same.Â
Thank You
-
-
- The topic ‘Unable to run command line : elgenerate solid voxel’ is closed to new replies.
- LS-DYNA Installation Issues with Student Workbench 2024 R2
- LS-Dyna CESE SMP d vs MPP d solver
- CESE solver – Ignition mechanism
- Cross-coupled stiffness elements in LS-DYNA
- About combine different unconnected body into one part
- Mathematical model generation stuck at 10%
- CONTROL_REFERENCE_CONFIGURATION
- Tiebreak using Segment set for contact b/w 20 noded Hexahedral elements
- shape memory alloy material in LS-DYNA
- CESE combustion model
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.