Jump to content

Vikas Kumar

Members
  • Content Count

    93
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Vikas Kumar

  1. Hi VIpin, But in this method how to check which is assigned node and which one is referenced node. It is returning both. Regards, Vikas Kumar
  2. Hi Livil, Can we get system "reference and displacement" node by using tcl\tk script. It's very urgent. @Livil Lyle @tinh Best Regards, Vikas Kumar
  3. Thanks livil, This is helpful. I never tried in reverse as you have mentioned. And how we can review system as shown in image. If we know system id. @Livil Lyle please suggest. I tried below code but it is not helpful. *createmark systems 1 "all" set sysID [hm_getmark systems 1] *clearmarkall 1 foreach sys $sysID { *createmark systems 1 "by id" $sysID *showentitybymark 1 1 2 *reviewentity systems "by id" $sys 3 1 0 hm_redraw tk_messageBox -message "see is it ok" *resetreview } Best Regards, Vikas Kumar
  4. Hi all, I wants to get system which is attached to "CELAS2" element. or Node we can get which is attached to "CELAS2" element. From here How we can identify that system is also attached to that node. Is there any way to know node id from which a system is attached or can we identify whether a system is attached to a "CELAS2" element. I am using this code to get node id of "origin" but it is showing zero. # With system id set x [hm_getvalue systems id=52 dataname=originnodeid] ; # returning 0 # With system collector showing 0 attribute set x [hm_getvalue systemcols id=1 dataname=attributesmax] ; we can get node id by using Xref entities in HM for reference i am keeping image:- @tinh or @Livil Lyle help asap. Best Regards, Vikas Kumar
  5. Hi all, I am knowing the collector id which contains SPC or SPCD constraints. When i am enabling that load collector it will display load constraint along with DOF assigned to that load as shown in below fig. I need to get those DOF. Manually we can get it by using review option of constraints, But i need data. @tinh please let me know the soln.
  6. Hi Sandeep, It won't work if temperature load is applied on a "set" which contains node. In this case how temperature will be applied is like, Will create one load collector which contains load type temperature and that load will carry set as mentioned in below image. In that case temperature will be applied indirectly to nodes. And, in this scenario we can not check by above method. @sandeepballiwar and @tinh pls reply if any other solution is there. Best Regards, Vikas Kumar
  7. Hi @tinh Reverse mark means what ?? Are you saying about clearmark ? Regards, Vikas Kumar
  8. Hi All, I wrote a tcl\tk script to query whether each node in model is having temperature load or not. But problem with this script is, It is taking more time execute the code. Please provide any better script if available. Current script is taking more than 1.30 Hrs for the number of node 162114. Please provide if any solution exist as soon as possible. My script is:- proc validate args { *clearmark nodes 1; *nodecleartempmark *plot hm_redraw set selectNode [lindex $args 0] eval *createmark nodes 1 "$selectNode" set nodeToChkTemp [hm_getmark nodes 1] set nodeIDNotHvngTemp "" set lengthOfN [llength nodeToChkTemp] set currentTime [clock seconds] puts "Start date: [clock format $currentTime -format %D] , Total Nodes: $lengthOfN" puts "The time is: [clock format $currentTime -format %H:%M:%S]" hm_usermessage "Getting information about temperature on node......." foreach node $nodeToChkTemp { set chk 0 *clearmark loads 1 *clearmark nodes 1 *createmark nodes 1 $node *findmark nodes 1 1 1 loads 0 2 set loadID [hm_getmark loads 2] foreach ld $loadID { set loadType [hm_getvalue loads id=$ld dataname=typename] if {$loadType == "TEMPERATURE"} { set chk 1 break; } } if { !$chk} { lappend nodeIDNotHvngTemp $node } } *numbersclear *clearmark nodes 1; *nodecleartempmark; set currentTime [clock seconds] puts "End date: [clock format $currentTime -format %D]" puts "The time is: [clock format $currentTime -format %H:%M:%S]" puts "validate nodes: $nodeIDNotHvngTemp" *startnotehistorystate {isolateonly Component} *clearmark components 2 *createmark components 2 "all" *createstringarray 2 "elements_on" "geometry_on" *isolateonlyentitybymark 2 1 2 *endnotehistorystate {isolateonly Component} *plot hm_redraw *view "iso1" *window 0 0 0 0 hm_usermessage "" return $nodeIDNotHvngTemp } set chkNodeLst [validate "all"] puts "validate nodes: $chkNodeLst" # SCRIPT END Regards, Vikas Kumar
  9. Hi Zeta, Give me some time i will provide you same info. Regards Vikas
  10. tinh set var [hm_getconfigtypecountincol comps elems BEAM-6_0 -byname] ; # is returning (60 9 2) wiz config id is confusing . How to get again config name by id . Regards Vikas Kr
  11. Dear all, can we get different element type present in the one component by using tcl\tk script. Like one component have two element type wiz S3 and S4. so can we extract the same info using tcl\tk. @tinh pls suggest any API. Regards, Vikas Kumar
  12. Hi @tinh In this case it is working. Because here we know that both is a property entity. But in case of any other entity attached with this material in that case we need to find out. Can we find out all attached entity along with this material name in one shot. Thanks for your help.
  13. Hi @tinh Here not even single attribute type name is coming as entity. But i want this details as mentioned before also (Refer Below image). Data marked with red rectangle i needed. Manual process i have shown in image. Thanks
  14. Hi @tinh, I am using this code foreach attr [ hm_attributelist mats "AL" name -byname] { set attrValue [ hm_attributevalue mats "AL" $attr -byname ]; set x [hm_getvalue mats id=1 dataname=$attr] set y [hm_attributetypename $attr] puts "attribute: $attr attrVal: $attrValue val: $x attributeTypename: $y" } Marked line always returns string, integer but not entity at all. I am using abaqus profile. For particularly x-ref i am not getting any idea. Output:- attribute: ABAQUS_MATERIAL attrVal: 0 val: 0 attributeTypename: integer attribute: Num_Comments attrVal: 3 val: 3 attributeTypename: integer attribute: Comments attrVal: 3 val: ===================================== { AL} ===================================== attributeTypename: arrayofstring attribute: CommentEnumField attrVal: 1 val: 1 attributeTypename: integer attribute: UseElasticCard attrVal: 1 val: 1 attributeTypename: integer attribute: ElasticTypeEnumField attrVal: 1 val: 1 attributeTypename: integer attribute: ELASTICDATACARDS attrVal: 1 val: 1 attributeTypename: integer attribute: Young attrVal: 1 val: 70610.4 attributeTypename: arrayofreal attribute: Poiss attrVal: 1 val: 0.33 attributeTypename: arrayofreal attribute: TempE1 attrVal: 1 val: 0 attributeTypename: arrayofreal attribute: Elastic_Num_Comments attrVal: 1 val: 1 attributeTypename: integer attribute: Elastic_Comments attrVal: 1 val: -------------------------- attributeTypename: arrayofstring attribute: UseExpansionCard attrVal: 1 val: 1 attributeTypename: integer attribute: Thetanot attrVal: 20 val: 20 attributeTypename: real attribute: Expansion_UserEnumField attrVal: 3 val: 3 attributeTypename: integer attribute: ExpansionTypeEnumField attrVal: 1 val: 1 attributeTypename: integer attribute: Expansion_OptionalEnumField attrVal: 1 val: 1 attributeTypename: integer attribute: EXPANSIONDATACARDS attrVal: 17 val: 17 attributeTypename: integer attribute: Alpha attrVal: 17 val: 2.17e-005 2.2e-005 2.23e-005 2.27e-005 2.31e-005 2.33e-005 2.36e-005 2.38e-005 2.4e-005 2.42e-005 2.44e-005 2.46e-005 2.48e-005 2.5e-005 2.52e-005 2.54e-005 2.56e-005 attributeTypename: arrayofreal attribute: TempAlpha attrVal: 17 val: 0 20 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 attributeTypename: arrayofreal attribute: Exp_DependExist attrVal: 0 val: 0 attributeTypename: integer attribute: Exp_Depend attrVal: 0 val: 0 attributeTypename: integer attribute: Expansion_Num_Comments attrVal: 1 val: 1 attributeTypename: integer attribute: Expansion_Comments attrVal: 1 val: -------------------------- attributeTypename: arrayofstring attribute: UseConductivityCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseSpecificHeatCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseDensityCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseDampingCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseDielectricCard attrVal: 0 val: 0 attributeTypename: integer attribute: Elastic_Depend_Exist attrVal: 0 val: 0 attributeTypename: integer attribute: Elastic_Moduli_Exist attrVal: 0 val: 0 attributeTypename: integer attribute: FailStress attrVal: 0 val: 0 attributeTypename: integer attribute: FailStrain attrVal: 0 val: 0 attributeTypename: integer attribute: UseHyperelasticCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseHypoelasticCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseHyperfoamCard attrVal: 0 val: 0 attributeTypename: integer attribute: MullinsEffect attrVal: 0 val: 0 attributeTypename: integer attribute: UsePiezoelectricCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseViscoelasticCard attrVal: 0 val: 0 attributeTypename: integer attribute: CAST_IRON_PLASTICITY attrVal: 0 val: 0 attributeTypename: integer attribute: UsePlasticCard attrVal: 0 val: 0 attributeTypename: integer attribute: UsePotentialCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseCrushableFoamCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseCrushableFoamHardCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseRateDependentMatCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseCreepCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseAcousticCard attrVal: 0 val: 0 attributeTypename: integer attribute: User_Output_Variable attrVal: 0 val: 0 attributeTypename: integer attribute: UseUserMaterialCard attrVal: 0 val: 0 attributeTypename: integer attribute: UseDepVarCard attrVal: 0 val: 0 attributeTypename: integer attribute: DEFORMATION_PLASTICITY attrVal: 0 val: 0 attributeTypename: integer attribute: MatDamageInitiation attrVal: 0 val: 0 attributeTypename: integer attribute: Mat_UnsupportedCards attrVal: 0 val: 0 attributeTypename: integer Thanks, Vikas Kumar
  15. Hi all, I need help regarding getting card edit values as shown in fig 1 by using tcl\tk. Fig 1 So it will display all information as shown in Fig 2. All i need is, this value in a list or anything. Fig 2 Another help i require to get "XRef Entities" as shown in FIg 3 so it will display again a reference like Fig 4. I need to apply again Xref Entities on same. So i need reference list in a variable. Reference list is marked by red color. I need to follow this process only. @tinh or @Imoto please provide tcl\tk scripts for above cases. I am using abaqus profile (standard 3D) in HM.. Best Regards, Vikas Kumar
  16. @tinh can you help me with dataname. I am unable to understand syntax. How to use that. Pls give one example here for above problem in free time. How we can get card edit value for all material group member using tcl\tk. Regards, Vikas Kumar
  17. Dear All, I wants to get pretension load value along with node details on which load is applied. Can we get it directly by using tcl\tk code. @tinh Please suggest if any api avalailable. Best Regards, Vikas Kumar
  18. I need this table all values which is not coming by using array get ::AbaqusCW::CWcontactpair1::table_arraySurf My code is source [file join [hm_info -appinfo SPECIFIEDPATH hm_scripts_dir] abaqus Contact_wizard CW.tcl] #open autocontact array set tableData [array get ::AbaqusCW::CWcontactpair1::table_arraySurf] #creating own array foreach index [array names tableData] { puts "index: $index " puts "arr: tableData($index): val: $tableData($index) " # Printing Data } puts "END" Thanks, Vikas Kumar
  19. Dear @tinh How to get this ABAQUS CONTACT MANAGER table whole data and play around this. like getting the details where it is tied or not. Other thing is i need full tabular data. Best Regards, Vikas Kumar
  20. Yes @Imoto .. you have done ... I wanted this only. thanks, Vikas Kumar
  21. HI @Imoto Those all are the Set but still not coming. Thanks, Vikas Kumar
  22. @Imoto Set 1,2,3,4 came along with op2 file so we don't have control over that.
×
×
  • Create New...