Jump to content

Finnepinnen

Members
  • Content Count

    2
  • Joined

  • Last visited

About Finnepinnen

  • Rank
    Newbie

Profile Information

  • Country
    Sweden
  • Are you University user?
    Yes
  1. Hi I'm trying to use HyperStudy to configure postures of an idustrial robot and subsequently calculate the eigenfrequencies of the structure. I have a HyperMesh model with all the robot axis divided into components and tcl scripting files which can rotate the components when I run it in HyperMesh. My problem that I face now is how do I call a TCL-script that rotates the components and therefore also the mesh with respect to an input parameter and subsequently Optistruct proceeds with its calcuations? Or is there a more convenient way to solve this problem? Best regards
  2. Hi dear support Forum! I want to automate the process of converting *.fem to *.h3d files for the FlexBody option in MotionView. In tutorials the FlexPrep interface in MotionView is presented, which is ok but not feasible for large quantities of files. Therefore I want to automate the flexprep step, which also should be possible according to: https://altairhyperworks.com/hwhelp/Altair/2017/help/mv/mv.htm?flexprep_mv.htm From the help section I've interpreted the command line to be: "C:/Program Files/Altair/2017/io/translators/bin/win64/flexprep" "C:/Temp/mbd/Body1.fem" "C:/Temp/mbd/Body1.h3d" CB +17079+17080 10 -STRESS -STRAIN Which is identical to what the user interface in MotionView calls in the file: C:\Program Files\Altair\2017\utility\mbd\custom_wizards\flexpreptk.tcl The conversion works perfectly in MotionView: ****************************************************************************** ** ** ** Altair Flexible Body Preprocessor ** ** ** ** ** ** Flexible Body Modal Synthesis and Data Translation Software ** ** from Altair Engineering, Inc. ** ** ** ****************************************************************************** ** Executable flexprep 2017.2.0.16 ** Time of Build 17:27:47 ** Date of Build Jul 25 2017 ** Copyright (c) 1996-2017 Altair Engineering, Inc. All Rights Reserved. Contains trade secrets of Altair Engineering, Inc. Copyright notice does not imply publication. Decompilation or disassembly of this software is strictly prohibited. ****************************************************************************** **INVOKING <CRAIG-BAMPTON MODES> PROCEDURE** (ORTHOGONALIZED FIXED-INTERFACE EIGEN AND CONSTRAINT MODES) RUNNING FLEXPREP USING OPTISTRUCT ... ****************************************************************************** ** Time of build : 15:07:05 ** Date of build : 06/16/17 ** Time of build : 15:17:26 ** Date of build : 06/16/17 ** Time of build : 15:08:18 ** Date of build : 06/16/17 Total Translation Warnings and Errors: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings: 0 Errors: 0 ************************************************************************ ** ** ** ** ** OptiStruct 2017.2 ** ** ** ** Advanced Engineering Analysis, Design and ** ** Optimization Software from Altair Engineering, Inc. ** ** ** ** ** ** Windows 10 (Build 9200) DESKTOP-4115EKL ** ** 4 CPU: Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz ** ** 3804 MB RAM, 9346 MB swap ** ** ** ** Build tag: 0872785_9433172_Ce64RBW8UH14M:131848-2 4000 ** ************************************************************************ ** COPYRIGHT (C) 1996-2017 Altair Engineering, Inc. ** ** All Rights Reserved. Copyright notice does not imply publication. ** ** Contains trade secrets of Altair Engineering, Inc. ** ** Decompilation or disassembly of this software strictly prohibited. ** ************************************************************************ *** OptiStruct defaults set from: install config file: C:\Program Files\Altair\2017\/hwsolvers/optistruct.cfg. Much more mumbu jumbo down here..... But when I run the line in command prompt I get the following error: ****************************************************************************** ** ** ** Altair Flexible Body Preprocessor ** ** ** ** ** ** Flexible Body Modal Synthesis and Data Translation Software ** ** from Altair Engineering, Inc. ** ** ** ****************************************************************************** ** Executable flexprep 2017.2.0.16 ** Time of Build 17:27:47 ** Date of Build Jul 25 2017 ** Copyright (c) 1996-2017 Altair Engineering, Inc. All Rights Reserved. Contains trade secrets of Altair Engineering, Inc. Copyright notice does not imply publication. Decompilation or disassembly of this software is strictly prohibited. ****************************************************************************** **INVOKING <CRAIG-BAMPTON MODES> PROCEDURE** (ORTHOGONALIZED FIXED-INTERFACE EIGEN AND CONSTRAINT MODES) RUNNING FLEXPREP USING OPTISTRUCT ... ****************************************************************************** 'optistruct.bat' is not recognized as an internal or external command, operable program or batch file. '"optistruct.bat"' is not recognized as an internal or external command, operable program or batch file. Total Translation Warnings and Errors: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings: 0 Errors: 0 Therefore I changed the working directory in the command prompt to the location of the optistruct.bat, but that yielded this error and the optistruct part doesn't start: ****************************************************************************** ** ** ** Altair Flexible Body Preprocessor ** ** ** ** ** ** Flexible Body Modal Synthesis and Data Translation Software ** ** from Altair Engineering, Inc. ** ** ** ****************************************************************************** ** Executable flexprep 2017.2.0.16 ** Time of Build 17:27:47 ** Date of Build Jul 25 2017 ** Copyright (c) 1996-2017 Altair Engineering, Inc. All Rights Reserved. Contains trade secrets of Altair Engineering, Inc. Copyright notice does not imply publication. Decompilation or disassembly of this software is strictly prohibited. ****************************************************************************** **INVOKING <CRAIG-BAMPTON MODES> PROCEDURE** (ORTHOGONALIZED FIXED-INTERFACE EIGEN AND CONSTRAINT MODES) RUNNING FLEXPREP USING OPTISTRUCT ... ****************************************************************************** Total Translation Warnings and Errors: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings: 0 Errors: 0 There must be some sort of environment variables missing for flexprep to run perfectly. Hence the question: Is there a workaround? Thank you in advance and best regards!
×
×
  • Create New...