Jump to content

Q.Nguyen-Dai

Members
  • Content Count

    1348
  • Joined

  • Last visited

  • Days Won

    55

Reputation Activity

  1. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Hex mesh of irregular shaped bodies   
    I tested alot with SimSolid. It's nice tool for designer, but NOT for FEA Engineer
     
  2. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in HEXA MESH   
    When you see the message "non mappable ..." it means that I can not do mapping hexa mesh. Sometimes I can do split more to get, but sometimes it's not possible. It's not geometrical error. Just the software can not do mapping mesh to get hexa mesh and it's mathematical.
  3. luis.rodriguez liked a post in a topic by Q.Nguyen-Dai in Solids vertices change at the time of splitting with surfaces or planes   
    Yes, I have got the same issue for some time. Here're my tries:
    Check the geometrical tolerance (pres O) Try to isolate the volume which causes the issue by splitting solids Try to work with surfaces instead of solid
  4. tinh liked a post in a topic by Q.Nguyen-Dai in Querying Assemblies and Components in Linux   
    Here's my test to get ID list of all comps:
    > ./cmd2.sh 21 22 23 24 31 32 33 34 35 36 37 38 3 4 1 2 5 39 42 44 46 47 File cmd2.sh:
    #!/bin/bash HM="/opt/hw/2019.1/altair/scripts/hm" OPTS="-nocommand -nouserprofiledialog -batch -nobg" TCL="-tcl test2.tcl" export ALTAIR_LICENSE_PATH="6200@YOUR-LICENSE-SERVER" $HM $OPTS $TCL 2>/dev/null FIle test2.tcl:
    *templatefileset "/opt/hw/2019.1/altair/templates/feoutput/nastran/general" *readfile "/FULL/PATH/samcef_validation_hw2019.hm" *createmark comps 1 "all" set comp_list [hm_getmark comps 1] puts "$comp_list" HTH,
     
     
  5. puneet.shahare liked a post in a topic by Q.Nguyen-Dai in *** SYSTEM ERROR *** Signal 11 :: SIGTERM   
    Do you get results files?
  6. Roshan Shiveshwar liked a post in a topic by Q.Nguyen-Dai in Query Young's Modulus, Poisson's ratio in Ansys profile   
    Which "Card image" do you use for your material?  If you use "MATERIAL", you can try:
     
    hm_getvalue mat id=1 dataname=MP_EX_VAL2  
  7. Livil Lyle liked a post in a topic by Q.Nguyen-Dai in how to get thickness of elements as a list?   
    If element thickness was assigned via component, not directly by element, this command returns nothing. In this case you have to call "hm_getthickness component"
     
  8. Seçkin13 liked a post in a topic by Q.Nguyen-Dai in How can i set *createmarkpanel command to gui?   
    Try to put your commands in a proc & call this proc via -command ?
    Remember : the valid command is "*create....." not "create...."
  9. 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.
     
  10. 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.
     
  11. 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.
     
  12. 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
  13. 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.
     
  14. 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.
  15. tinh liked a post in a topic by Q.Nguyen-Dai in HyperMesh 2019 Assembly View   
    Hi @tinh, it works ! Thank you!  
     

  16. 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
  17. 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
  18. Livil Lyle liked a post in a topic by Q.Nguyen-Dai in Volume measurment In Hypermesh   
    @Joel Rodarte: use command  "hm_getvolumeofsolid" 

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

  20. 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 
     
  21. 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 ?

  22. 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  
  23. 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
     
     
  24. 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 } } } } } }  
     
     
  25. 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

×
×
  • Create New...