Jump to content

Pandurang

Members
  • Content count

    81
  • Joined

  • Last visited

  • Days Won

    2

Pandurang last won the day on August 31

Pandurang had the most liked content!

1 Follower

About Pandurang

  • Rank
    Advanced User

Profile Information

  • Country
    India
  • Are you University user?
    No

Recent Profile Visitors

646 profile views
  1. For 2D elems: *elementtestwarpage *elementtestlength *elementtestjacobian Regards, PD
  2. Go to View -> Click on "Command Window" You will see one command line below panels in Hm... Just type -> pwd hit enter... you will get current working directory.. please find the file there... Regards, PD
  3. change to: if {[dict exists $c_ids $conn]} {
  4. Pandurang

    interactive 2D mesh

    Hi Tinh , This info is really helpful but.. p_GetHoles p_SplitHoles p_SolidMap These are invalid commands....
  5. Pandurang

    interactive 2D mesh

    yes
  6. Hi All working on 3D flange having holes..i m trying to write script for 3D mesh of it.. process i am following is : 1. washer split for holes. 2. 2D Automesh surfaces 3. Solid map I want 2D Automesh process to be interactive so that user can adjust mesh around holes to create good washer.. How can i do this..? Regards, PD
  7. Pandurang

    Finding cylindrical faces in a 2D fe model

    try This: *features *features_advanced
  8. Pandurang

    Finding cylindrical faces in a 2D fe model

    u can try this for cylindrical faces: *createmark entity_type mark_id "by cylinder" x y z i j k r h location contained all tol
  9. Pandurang

    Select component collector by surfaces

    yes Go to HW Ref Guide..you will find "Data names" listed
  10. What is error msg ?
  11. try removing quotes around Capture.jpg try this: *jpegfilenamed Capture.jpg
  12. Pandurang

    Select component collector by surfaces

    by surface does support comps i think u can try this: set col_id [] *createmarkpanel surfs 1 "Select Surfaces" or *createmark surfs 1 displayed set surfs_id [hm_getmark surfs 1] foreach id $surfs { lappend col_id [hm_getvalue surfs id = $id dataname = collector] } puts $col_id
  13. When i used your script by changing variable values i got this error: unknown entity type found. so i wrote same code..it worked... So i compared both file...as you can see..in your code at beginning of elems .. unrecognisable error... please rectify this and try again...hope it will work
  14. Pandurang

    Sizing design variable

    Hi lmre, Try This: *createmarkpanel designvars 1 "Select DESVARs." set DesvarIDList [ hm_getmark designvars 1 ] *clearmark designvars 1 #puts $DesvarIDList #set ScaleFactor [hm_getfloat "Enter scaling factor value. Default = 1 if 0." "Entering scaling factor value"] set PlyThiManu [hm_getfloat "Enter the manufacturable ply thickness." "Entering manufacturable ply thickness"] foreach DesvarID $DesvarIDList { set DesvarName [ hm_getentityvalue designvars $DesvarID "name" 1 ] set DesvarIV [ hm_getentityvalue designvars $DesvarID "initialvalue" 0 ] set DesvarLB [ hm_getentityvalue designvars $DesvarID "lowerbound" 0 ] set DesvarUB [ hm_getentityvalue designvars $DesvarID "upperbound" 0 ] puts "Original UB value = $DesvarUB" ################## MOdification ##################################### # If the initial value (IV) is less than or equal to the manufacturable thickness (TMANUF) then the upper bound value of the design variables (UBV) has to be equal to the manufacturable thickness (TMANUF). if {$DesvarIV <= $PlyThiManu } { set DesvarUB $PlyThiManu } # If TMANUF < IV <= 2 x TMANUF then UBV = 2 x TMANUF if {$PlyThiManu < $DesvarIV & $DesvarIV <= [expr 2* $PlyThiManu]} { set DesvarUB [expr 2 * $PlyThiManu] } ###################################################################### ###################################################################### # # Muliply it by one so it'll output in fix notation # set UBValueoutput [ expr { 1*$DesvarUB } ] # #set ScaledUBValue [ expr { $ScaleFactor*$DesvarUB } ] # set ScaledUBValue [ expr { $PlyThiManu*10 } ] # set ScaledDesvarIV [ expr { $PlyThiManu*2 } ] # set ScaledDesvarLB [ expr { $PlyThiManu*0 } ] # *sizedesvarupdatewithddvalfield "$DesvarName" $ScaledUBValue $ScaledDesvarIV $ScaledDesvarLB -1 0 *sizedesvarupdatewithddvalfield "$DesvarName" $DesvarUB $DesvarIV $DesvarLB -1 0 #*sizedesvarupdatewithddvalfield "autoply" 0.025 0.0113599 0 -1 0 puts "UB Value updated = $DesvarUB" }
×