Jump to content

Merula

Members
  • Content Count

    156
  • Joined

  • Last visited

  • Days Won

    9

Merula last won the day on April 21

Merula had the most liked content!

6 Followers

About Merula

  • Rank
    Expert User

Profile Information

  • Gender
    Male
  • Country
    Germany
  • Interests
    Topology, Thermal Simulation, Optimization
  • Are you University user?
    Yes

Recent Profile Visitors

3027 profile views
  1. You have a list of vectors but you want to translate it into one direction. The problem is that the variables are only valid within the for loop... try this set vector [*vectorcreate_twonode 1 2] set vx1 [ hm_getentityvalue vectors $vector "xcomp" 0 ] set vy1 [ hm_getentityvalue vectors $vector "ycomp" 0 ] set vz1 [ hm_getentityvalue vectors $vector "zcomp" 0 ] *createmark nodes 1 1 *duplicatemark nodes 1 25 set r [hm_entitymaxid nodes 1] *createvector 1 $vx1 $vy1 $vz1 *translatemark nodes 1 1 10 I changed the $x and $y that it works for me... also the createmark command after that... Hope this helps
  2. Thank you very much for this. I will try to impliment this on my model and see where it goes from there.
  3. @Hyperman Thanks for the reply. I can see the logic, but how does it help when the solution is not connected to the "SPC"... meaning the center of the model around which everything moves... A little background: I try to model something like this: https://www.volocopter.com And the solution to put mass everywhere where the motors are is not a valid solution for the frame Thanks again for your replies. Merula
  4. Hi, I was trying to do a Topology Optimization (min(comp) with a constrained volume frac). As a loadstep I wanted to use an intertia relief analysis. The model consists of first order quad elements (meshsize =1 ) in a plate of 200 x 200 and the thick ness is 1 mm. The center of the plate is at x=y=z=0. The load case is like the following: Now, I created the inertia relief card in ControlCards - PARAM and set it to -2 .... so I do not need to constrain the model and all should run well. The optimization steps are shown below. Top left is the initial model which seems completely off to me... it has only mass at the loading points and that makes no sense does it? I though, that it could be the low volume frac constraint I used (which is 0.15) ... I increased it to 0.5 and got the second result. Seems a lot better... Next I introduced some min and max member constraints. Min Member: 5, max Member 10. As it tuned out, the model does not really converge into a 1/0 design.. so I tried a few things (which all failed): OptControl - Discrete=2, TopDisc = Yes ... decreased the force magnitude ... all with no effect. Finally with all those changes I also changed the Inertia Relief Parameter to -1 and created a Support1 constraint in the middle of the model... this also resulted in the same design as it can be seen below. I finally made a Optimization with the inertia relief parameter set to 0... which is a constrained optimization, as the support1 constraint actually is a spc constraint and the movement ist blocked. The design looks a lot different. So my questions are: What am I doing wrong setting this up ? Is there an important point I am missing here? Can somebody who did something similar assist me here? Thanks in advance and best regards! Merula
  5. Just to complete this, in case anyone is trying to look it up: its -u<ProfileName> without a space... so for example: -uOptiStruct or -uAnsys SubProfiles is done with -a .... so for example: -uAbaqus -aStandard3d That will save some time :-) All the best to you guys!
  6. Is there a way to change the default user profile to "Optistruct" for example? I looked into the hwsettings.xml but could not find an entry which would change the option with which user profile hypermesh starts... Thanks and best regards Merula
  7. As I see it, there is no easy tcl command like *createmark to solve your issue as the wholes are not of the same shape (like all cylindrical holes could be easily selected with a "by cylinder"). Well, all the elements, you want to select share one property: They are at the boundaries of your element set and they for a closed loop. So to select the elements you want, you have to do the following: - read in all the elements which are there - identify all elements with node ids, that are only referenced once in the entire element set (those are the boundary elements) - identify all closed loops within that element set You can do it with any programming language you like. Files to be processed are: the .fem file for getting the elements and nodes as well as the _des.h3d for getting the element densities. If there is an easy solution for this, I would be greatly interested if someone could share the findings. The above process takes a while (but on the other hand is applicable for 2d and 3d as well) All the best, Merula
  8. I just looked into implementing this. One problem I had is this: When I have to define the shell element to be the element to define how much the beam gets pushed out, I would have to map the diameters to the shell elements (for different diameters). Is there a way to consider the 1D diameter? Thanks in advance and best regards Merula
  9. Just a note ... this command is deprecated I guess, it still works but a problem occured when dealing with large amoung of ids ...to assign to a set.. this way it works! *createmark elems 2 "by collector" 1 *entitysetcreate ELEMS elems 2 *setvalue sets id=2 cardimage="SET_ELEM" *setvalue sets id=2 STATUS=0 5422=LIST set ids [hm_getmark elems 2] eval *setvalue sets id=2 ids={elems $ids} the step with set ids ... is critical.
  10. Good question... I suggest he wants to do it with a location... so all beams with a distance lower than x ...
  11. Did you execute the first two lines? User Profile Optistruct? maybe just copy it into the tcl command console (at the bottom of the window) Hope this helps Merula
  12. You just know everything tinh :-D Exactly what I was looking for the other day! Thanks!
×
×
  • Create New...