Jump to content

Bachelor22

Members
  • Content Count

    60
  • Joined

  • Last visited

About Bachelor22

  • Rank
    Advanced User

Profile Information

  • Country
    Germany
  • Are you University user?
    Yes

Recent Profile Visitors

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

  1. Okay, thanks a lot! One last question I got: I run a topology optimization using a stress constraint of 40,000 MPa. I got the message, that all constraints are satisfied but doing a FE-reanalysis the maximum stress is above 40,000 MPa. How can this be explained? Did I put the density threshhold too high?
  2. Thanks a lot for this answer, this really helped me a lot! Do you know if it's possible to set a mesh-independency filter?
  3. Hey guys, I got a question on topology optimization again. I want to set a Stress Constraint for my optimization, how can I estimate a reasonable value for this constraint to avoid getting an infeasible design? Besides, how do I know which of my constraints is hurt when this error is occurring? Kind regards Simon
  4. Hello Rahul, thanks for your quick reply and the documents provided. I understand how the penalization is working and that the stiffness matrix of the structure is depending of a pseudo element density. I still don't get how this density is calculated. What is this variable depending on? And when does the density take a value of 0, for void, and when for 1, for solid material? Could you help me out with this question? Kind regards and thanks in advance, Simon
  5. Hey guys, I want to calculate the mass of my model using a tcl-script. Is there a simple command to do this? (I haven't found one yet.) If this is not the case, do you know another way how to solve this problem? Kind regards Simon
  6. Hey guys, I have a question on the theory of the SIMP Method used in OptiStruct to perform a Topology Optimization. I got that the stiffness matrix of a material is varied depending on its "density" and that using the penalization factor p, we are aiming for design with only 0 and 1 values in the end. For me it's still unclear, how OptiStruct is calculating these density values. How does the solver know where I have an element with density 0, 1 or something in between? Kind regards and thanks in advance Simon
  7. Hey guys, I got a question concerning the following model. I want to move all the elements, which are surrounding the holes, into a component. Do you know a command how to mark them? Thanks in advance, Simon
  8. Thank you, this already helps me a lot! But somehow, the line *createmark elems 2 "less than value" collector.material.\$E $Grenzwert 0 marks all the elements of the model. Is the variable $E the youngs modulus and does it have to be declared before using the command? And what's the meaning of the 0 at the end of the line? Or in general: What do I have to put in here: collector.material.\$E The real collector names or can I leave it as it is?
  9. Hey guys, I'm trying to write a script which deletes elements of a model, that have a young's modulus under a certain value ("Grenzwert"). Running the following Code, this is working as it is supposed to for the first 5 iterations. Afterwards the number of elements deleted stays the same all the time. The problem is, that there are still elements with a youngs modulus lower than 100. Do you know what's the problem here? Some annotations which may help to understand the code: lStressValue_1 = list containing the young's modulus of every element delete_id = element id which should be deleted # Suchen aller Werte unter Grenzwert set delete_id "" set delete_index {} set Grenzwert 100 set y -1 set Element "" # y gibt den Index des Felded unter Grenzwert an wird zu einer Liste zusammengefügt foreach Element $lStressValue_1 { incr y if {[expr $Element < $Grenzwert]} { lappend delete_index "$y" } } # Die Element-Ids aus der Liste der lIDs mit den Elementen unter Grundwert herauslesen foreach Element_C $delete_index { append delete_id "[lindex $lID_1 $Element_C] " } *createmark elements 1 {*}$delete_id *deletemark elements 1 Kind regards, Simon
  10. Hey guys, is there a way to create a label in the utility menu? I only find command to create buttons etc., but no command for labels. Can you help me out somehow? Kind regards Simon
  11. Hey guys, I'm trying to customize the output of a load step. Trying to run again the relevant parts of the command file, an error is occurring in this line. *startnotehistorystate {Updated string array} *setvalue loadsteps id=1 STATUS=2 4873={ } ROW=0 *endnotehistorystate {Updated string array} I'm pretty sure the empty brackets are the reason for the error, but I don't know how to get around them. Could you help me out with this problem? Kind regards Simon Attached you'll find my code. The relevant part starts after line 254. SKO_2.tcl
  12. Not the answer I was hoping for, but thank you anyway!
  13. Is there some way to get around this problem?
  14. Hey guys, after I have finished my work on a model, I start a new session in HyperMesh and want to delete the .fem-File from the previous model. This is not working, and a message appears saying that the .fem-file is still open in HyperMesh. If the command "file delete" is used, an error is occurring which says "permission denied". Do you know how I can solve this problem and delete the .fem-File without closing HyperMesh totally? Kind regards Simon
  15. Hey guys, I want to create several materials, properties and components automatically. The desired IDs of all the materials, properties and components are saved in an external file and then written into a variable. Each of these values should create an own material, an own property and an own component. For creating the first material, everything works fine. But when the second material should be created, an error is occurring. Do you have an idea how this problem can be fixed? Kind regards Simon Attached, you can find the file with the IDs (these are the values in column 1 saved into the variable "field1") and the .tcl-script I'm talking about. SKO_3.tcl SKO.strs
×
×
  • Create New...