Jump to content

FabioC

Members
  • Content Count

    11
  • Joined

  • Last visited

About FabioC

  • Rank
    Beginner

Profile Information

  • Country
    United Kingdom
  • Are you University user?
    Yes

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello @kimmich, If I understand you want to call HM from command line. However this should NOT be possible with the student version. Fabio
  2. Hello, From the information you provide I can't figure out the issue. I would suggest to reinstall comparing what you did with the procedure below. Before starting the installation, copy the license file to a location that does not change (like a user directory) and set the environment variable ALTAIR_LICENSE_PATH to the location of the license file. To set an environment variable: In Windows 10, Go to Settings -> System -> About -> System Info -> Advanced System Settings. Click the Environment Variables button, and add a new User or System level environment variable with the New button. Add the variable name as ALTAIR_LICENSE_PATH, click Browse File, browse to the location that the license is stored and select it. Then launch the installation process. Hope it can help.
  3. Hello, Thank you all for your help. I changed the way I passed the two DRESP1 from DEQUATION using RESPONSE_BY_LOADSTEP (DRESP1L). This fixed the error. @Robert Lawson thanks for the thorough explanation. Regards Fabio
  4. Hello, As @tinh suggested, you need some lines at the top of your tcl file, to call HM first. Below I pasted the block I used in my tcl file, it worked for me but might be different in your case. Anyway you can find this lines in the command.tcl file created automatically when you launch Hypermesh. *begin "version 2017" *menufilterset "*" *menufilterdisable *settopologydisplaymode 0 *settopologydisplaymode 0 *settopologydisplaymode 0 *ME_CoreBehaviorAdjust "allowable_actions_policy=TC_lite" *settopologydisplaymode 0 *settopologydisplaymode 0 *elementchecksettings 6 0 0 1 1 6 0 6 0 6 6 6 0 0 0 0 0 0 0 0 0 0 0 *templatefileset "C:/Program Files/Altair/2017/templates/feoutput/optistruct/optistruct" *enablemacromenu 1 #Import geometry. ...
  5. Hi @PrasannaK, Thanks for answering. I have attached the *.fem file. Also a constraint on the volume fraction is added in this model. Regards box.fem
  6. Hello, I am trying to run a single-objective topology optimsation (min compliance) with a user-defined constraint, which is a combination of compliance and eigenfrequency. I did as follow: 1. Created two loadsteps. Linear static and normal modes. 2. Created two responses (DRESP1): compliance and first eigenfrequency, each one associated to the corresponding loadstep. 3. Defined a DEQUATION for the user-defined constriant. 4. Created a new response (type = function) pointing to the dequation and edited the associated responses before creating it. 5. Created a DCONSTRAINT for the response at point 4. 6 Created an objective for compliance. When I launch the optimisation I receive the error message below. *** ERROR # 557 *** DRESP2 3 is not referenced from within a structural eigenvalue SUBCASE. This type of response must be specified from within a structural eigenvalue SUBCASE. This error occurs in DESSUB 3. I have found a couple of similar posts on the forum but still unable to fix it. Could anyone provide some hints to solve this error please? Thank you
  7. Thank you @Hyperman. Late reply, but solved it!
  8. Dear users, I am running a modal analysis in Optistruct for a simple 2D plate in order to validate some Matlab scripts. I use CQUAD4 elements (PSHELL 2D property) in HM. Results from OS are consistent if I compare them with a 6-DOF per node element in Matlab. Now, I would like to compare the same case for membrane elements (2-DOF per node) but I am not able to find a way to model a membrane in HM. Any suggestion about a different element? Thank you Regards Fabio
  9. Dear users I am aware this is an old post, but this is the most relevant conversation I have found about my problem and I would like to share my solution with those who will have the same doubt in the future. My problem is to re-analyse a model assigning the element densities (from file .*sh) generated after topology optimisation. The reason for the re-analysis is explained by the fact that some boundary conditions change and I need to apply the new conditions on the optimised structure. Obviously the mesh does not change. OSSmooth is not a viable solution in my case. What I have done is. 1) Run topology optimisation, introducing an OptiControl on the MINDENS parameter (for example MINDENS=0.1). 2) Save the .*sh file which relates the elements ID to the density value. 3) Modify the *.hm and *.fem file updating the boundary conditions as I needed. 4) Then from OptiStruct I selected restart-->reanalysis and at this point I use the updated *.fem file and the *.sh file previously saved. I also set a density threshold < MINDENS. If you check the Optistruct run options you will find that imposing a threshold < MINDENS makes sure that Optistruct restarts from the density values in the *.sh file. This work fine for me. I do not know if there is a clever solution to this specific problem. Anyway, hope this can help. Regards
  10. Thanks for your answer! I have performed the optimization with the following line: optistruct_14.0_win64 macro.fem -license=OPT instead of using -analysis Regards
  11. Good morning I use Optistruct for topology optimization. Since I need to do everything automatically, I have created a Tcl script which gives me back the *.hm and *.fem files. I have tested the script manually and it works! The next step is to use a batch file to run the optimization. In the batch file I use the following commands: hmbatch -b -tcl osmacro.tcl (this line to run the Tcl macro) optistruct_14.0_win64 macro.fem -analysis (this line to run the analysis) It runs the analysis, I get the *.h3d file. But I am not able to understand how to run the optimization. Could you please help me? Thanks Fabio
×
×
  • Create New...