Jump to content

Q.Nguyen-Dai

Members
  • Content Count

    1274
  • Joined

  • Last visited

  • Days Won

    52

Reputation Activity

  1. Seçkin13 liked a post in a topic by Q.Nguyen-Dai in how to get thickness of elements as a list?   
    No thickness information within element dataname.
    You have to look for the property of element.
     
  2. chris.h liked a post in a topic by Q.Nguyen-Dai in Create temp node on top of existing node   
    Translate => nodes => select the existing node => duplicate => Got temp node at the same location as existing node.
     
  3. Crashphys liked a post in a topic by Q.Nguyen-Dai in Poor Run Time Despite using SPMD   
    @Crashphys: Parallel run (SMP or SPMD) is for big analysis. When you use this method for small (18, 19sec in your case) analysis, there's NO sense. Try with a bigger analysis, about 4~5h of CPU.
     
  4. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hi,
    I think I found it.
    In file .../br/common/operations/createentity.tcl
     
    Please open it and go to line 70:
    if { $types == "Assemblies" && $view == "assemhierarchy" } {
     
     
    Please change it to be same as hm2017:
    if { $types == "Assemblies" } {
     
     
    In hm2019 the line indicates that only assemblyview will show menu items Assembly, Component, Multibody
  5. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hi Mr. @Q.Nguyen-Dai
     
    I seem to find it in hm2017
    I don't have hm2019, could you please zip folder <install_dir>/hm/scripts/br  and post here.
     
  6. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Yes, I do.
    I will try hooking the menu. Just need a little time to find where it is.
  7. tinh liked a post in a topic by Q.Nguyen-Dai in HyperMesh 2019 Assembly View   
    Hi @tinh, it works ! Thank you!  
     

  8. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hello
     
    I modify some things
    Please copy these modified files and overwrite the old ones
     
    If something's wrong, simply backup original files and let me know issuesReports_modified.zip
  9. tinh liked a post in a topic by Q.Nguyen-Dai in HyperMesh 2019 Assembly View   
    Yes, this is an "idiot" feature of version 2019
  10. Livil Lyle liked a post in a topic by Q.Nguyen-Dai in Volume measurment In Hypermesh   
    @Joel Rodarte: use command  "hm_getvolumeofsolid" 

  11. Rahul R liked a post in a topic by Q.Nguyen-Dai in Volume measurment In Hypermesh   
    @Joel Rodarte: use command  "hm_getvolumeofsolid" 

  12. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Display mesh as user-define   
    Yes, you choose white color for your component and show it "By Comp".
    About mesh line color, you can change by "O" (option) => "colors' => mesh line 
     
  13. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Display mesh as user-define   
    Do you want show 3D mesh like this picture?

    or like this ?

  14. Pandurang liked a post in a topic by Q.Nguyen-Dai in keep mesh option using script   
    "*deleteelementsmode"  is "Deprecated Commands"

    So it's better to use:
    *setoption delete_elements_mode=<value> The remesh setting for topology revision. 0 - Keep mesh 1 - Delete mesh 2 - Remesh 3 - Advanced remesh 4 - 2D + 3D (tetra) remesh  
  15. Duc_Hoang liked a post in a topic by Q.Nguyen-Dai in Temperature mapping.   
    Try method "linear interpolation"

     
    "nodes" => fine mesh
    "file" => temperature field from txt file in form :
    X-coordinate Y-coordinate Z-coordinate Temperature
     
     
  16. Q.Nguyen-Dai liked a post in a topic by tinh in Right-click context menu : could be customized?   
    Hi
    Widget pathname of that menu is 
    .model._pw._fbr.content.frmTreeArea.frmTree._m  
    But from v14, it doesn't come in a static way (depends on what you click on) so if you add a menu item then it will be cleared before pop up.
     
    To hook an item just before the menu pops up, thanks to Tk mechanism providing <<MenuSelect>> event. This is a way I used in menuexportdeck script:
     
    proc ::nexpd::p_Initialize {} { set BindScript [bind Menu <<MenuSelect>>] if {![string match *::nexpd::p_HookMenu* $BindScript]} { bind Menu <<MenuSelect>> {+after idle [list ::nexpd::p_HookMenu %W]} } } proc ::nexpd::p_HookMenu {menuName} { if {![winfo exists $menuName]} return if {[string equal Menu [winfo class $menuName]]} { if {[string match .model*.frmTreeArea.frmTree.* $menuName]} { set menuParent [winfo parent $menuName] while {![string equal TreeCtrl [winfo class $menuParent]]} { set menuName $menuParent set menuParent [winfo parent $menuName] if {![string equal Menu [winfo class $menuName]]} return } set Hooked 0 set Count [$menuName index end] for {set i 0} {$i<=$Count} {incr i} { if {[lsearch -exact {cascade command} [$menuName type $i]]!=-1&&[string equal "Export Deck" [$menuName entrycget $i -label]]} { set Hooked 1 break } } set Selection [$menuParent selection get] if {[llength $Selection]} { if {!$Hooked} { if {![winfo exists $menuName.exportdeck]} { menu $menuName.exportdeck -tearoff 0 -activebackground [$menuName cget -activebackground] \ -activeforeground [$menuName cget -activeforeground] \ -background [$menuName cget -background] \ -foreground [$menuName cget -foreground] $menuName.exportdeck add command -label "Only Selected" -command [list ::nexpd::p_ExportSelection $menuParent $Selection 0] $menuName.exportdeck add command -label "With References" -command [list ::nexpd::p_ExportSelection $menuParent $Selection 7] $menuName.exportdeck add command -label "Save Geometry" -command [list ::nexpd::p_ExportSelection $menuParent $Selection -1] } $menuName insert 0 cascade -label "Export Deck" -menu $menuName.exportdeck } else { if {[string equal disabled [$menuName entrycget "Export Deck" -label]]} { $menuName entryconfigure "Export Deck" -state normal } } } else { if {$Hooked} { if {![string equal disabled [$menuName entrycget "Export Deck" -label]]} { $menuName entryconfigure "Export Deck" -state disabled } } } } } }  
     
     
  17. Q.Nguyen-Dai liked a post in a topic by tinh in Right-click context menu : could be customized?   
    Hi
    I have an example here
    I will give the code later because it is in my pc
    https://forum.altair.com/topic/16835-update-hypermesh-extensions/?tab=comments#comment-30266

  18. ep2398 liked a post in a topic by Q.Nguyen-Dai in Can I convert LS-Dyna Results into H3D file to use in HyperLife?   
    LS-DYNA solver, as Optistruct also,... are unitless. User should warranty unit consistent.
    So to fit the unit system of HyperLife, maybe you need do all changes for LS-DYNA input.
  19. durukanbdilek liked a post in a topic by Q.Nguyen-Dai in dublicate node   
    You need to do "equivalence" of nodes.
  20. SergioV liked a post in a topic by Q.Nguyen-Dai in Meshing failed   
    @SergioV: You have 445 elements with aspect ratio > 20! So please make correction of your 2D mesh before filling 3D.
     
  21. Mat_80 liked a post in a topic by Q.Nguyen-Dai in The tension is too high   
    This's local stress due to RBE2. If it's too high for you, you need add a plate below the tube.

  22. lostarmour liked a post in a topic by Q.Nguyen-Dai in Mesh error in STL format   
    Sorry, I don't know CADFEKO. But I can confirm you that your STL is valid & readable 
  23. tinh liked a post in a topic by Q.Nguyen-Dai in Can't mesh a bone properly   
    Here's HM model:    Cuneiforme_1_PP_D.hm
  24. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Import Material Database   
    Organize yourself material information (within XLS/CSV) and write a TCL script to read it and create material for Hypermesh.
     
  25. Joel Rodarte liked a post in a topic by Q.Nguyen-Dai in Elemental System, Global System, Analysis System   
    Beam forces are presented always within Elemental system. No sense to show them in Global system.
×
×
  • Create New...