Jump to content

Q.Nguyen-Dai

Members
  • Content Count

    1047
  • Joined

  • Last visited

  • Days Won

    45

Everything posted by Q.Nguyen-Dai

  1. Q.Nguyen-Dai

    Modeling of core-shell system

    For CAD format, you can export to STEP, IGES or Parasolid.
  2. Q.Nguyen-Dai

    Predefined userprofile

    Normally, the executable "hmopengl.exe" is in ../hm/... not ../hw/..
  3. Q.Nguyen-Dai

    How to convert mesh into separete surfaces

    FE entities (nodes, elements,...) are NOT CAD entities, so you can not export into CAD output format (like STEP or IGES). You have to convert FE entities into CAD entities (lines, surfaces,...) for IGES/STEP exportation.
  4. Instead of using of 4xformat, I write always: puts $output_file [format "%8i %.12e %.12e %.12e" $nodeid $x $y $z]
  5. Q.Nguyen-Dai

    Hyperworks 2017 files import

    No STEP nor IGES support layer feature.
  6. Q.Nguyen-Dai

    Fixing failed elements in warpage and aspect ratio

    In fact, I used "manual correction" sometime on 2D mesh before make 3D TET mesh. Localize the "bad" area and try to simplify the geometry.
  7. Q.Nguyen-Dai

    Fixing tet collapse failed elements

    Simplify & make correction on your geometry Change (decrease) the size of TET mesh
  8. Q.Nguyen-Dai

    Fixing failed elements in warpage and aspect ratio

    Check quality of 2D before making 3D Remesh with smaller size Manual correction
  9. Q.Nguyen-Dai

    Exporting stl file from hypermesh

    Important thing to know: STL is suitable format for surface presentation only. So for solid, you got only external surface presentation, not volume.
  10. Q.Nguyen-Dai

    Run TCL script using button

    Maybe try "userpage.mac" ? Here's from my userpage.mac *createbutton(5,"NASTRAN", 5, 0, 5, GREEN,"Export to Nastran",EvalTcl,"HM2Nastran.tcl") *createbutton(5,"SAMCEF", 5, 5, 5, GREEN,"Export to Samcef ",EvalTcl,"HM2Samcef.tcl") All my scripts found in the directory defined in environment variable "TCL_INCLUDE"
  11. @Rose: this is NOT Abaqus forum!
  12. Q.Nguyen-Dai

    Script for Delete Empty

    Here's the script found on Altair site: #-------------------------------------------------------------------------------------------- #This script deletes assemblies recursively, optionally comps will be deleted # steenbock@altair.de, 20141008 # V. 01 #-------------------------------------------------------------------------------------------- proc run {} { *clearmarkall 1 *createmarkpanel assems 1 "select assems 2 delete" #delete comps or not set answer [tk_dialog .owd "Selected Assems: [hm_getmark assems 1]" "Delete Components in Assems?" "question" 0 "No" "Yes" "Cancel"] switch $answer { 0 {set delComps 0} 1 {set delComps 1} 2 {tk_messageBox -message "Misson abort!" -type ok -icon warning; return;} } # loop whole assem tree foreach ass [hm_getmark assems 1] { deleteSubAssems $ass $delComps } *clearmarkall 1 } proc deleteSubAssems {assem delComps} { set output 1 if {[hm_entityinfo exist assem $assem] == 1} { set sub_ass [hm_getentityarray assemblies $assem assemblies] # part where comps will be deleted if {$delComps != 0} { set sub_comps [hm_getentityarray assemblies $assem components] if {[llength $sub_comps] > 0} { eval *createmark comps 1 $sub_comps if {$output ==1} {puts "\t\tdelete comps: $sub_comps"} *deletemark comps 1 } } # delete assem *createmark assems 1 $assem if {$output==1} {puts "\tdelete assem id=$assem ([hm_getentityvalue assemblies $assem name 1])"} *deletemark assems 1 if {[llength $sub_ass] > 0} { foreach a $sub_ass { deleteSubAssems $a $delComps } } } } #----------------------------------------------- run
  13. Q.Nguyen-Dai

    HyperMesh to OpenFOAM

    Try another output path?
  14. Make a test with Nastran profile? A very small model and export to BDF.
  15. Q.Nguyen-Dai

    Get highest set ID number

    I think that do automatically in Hypermesh. When you create new set, the ID will be "maxID + 1"
  16. Q.Nguyen-Dai

    Thermal stress analysis

    Agreed with @GAJENDRA KUMAR NHAICHANIYA, different temperature can make stresses, but not always! If you have only ONE material and you have no Mechanical constraints, you can not have stresses due to different temperature. You have only deformation due to different temperature, but never stresses!
  17. There're a lot of free Doc/Tuto of Tcl/Tk programming on Internet.
  18. Do you know something about Tcl programming?
  19. Q.Nguyen-Dai

    Elements check

    Depending to your solver, your quality criteron would be different. But in general of 2D mesh, you can check: Jacobian Aspect For 3D mesh, you can add: skew, tet collapse,... Of course, don't forget to check: connectivity & duplicates
  20. Q.Nguyen-Dai

    Get set ID by using name

    When you have set name, you can get set ID by following command: set set_id [hm_getvalue sets name="E_1" dataname=id] When you have set ID, you can get set name by following command: set set_name [hm_getvalue sets id=2 dataname=name]
  21. Q.Nguyen-Dai

    Thermal stress analysis

    Theoretically, when you make a Thermal Analysis, you need ONLY Thermal Boundary conditions. In this case, all Mechanical Boundary Conditions are not needed.
  22. Q.Nguyen-Dai

    Thermal stress analysis

    Do you have 2 or more different materials?
×