Jump to content
Sign in to follow this  
Guest

::hwat::utils::GetMassCG command

Recommended Posts

Guest

Dear,

Please explain this command to get mass CG of given assembly.

We have tried with all possible tweaks of tcl syntax but no success.

Following lines tried,

package require hwat;

1. ::hwat::utils::GetMassCG "C:\Altair\hw8.0sr1\templates\summary\abaqus\ctr_of_gravity" "D:\CGMassFiles" "assemname";

2. ::hwat::utils::GetMassCG "C:\\Altair\\hw8.0sr1\\templates\\summary\\abaqus\\ctr_of_gravity" "D:\\CGMassFiles" "assemname";

3. ::hwat::utils::GetMassCG "C:/Altair/hw8.0sr1/templates/summary/abaqus/ctr_of_gravity" "D:/CGMassFiles" "assemname";

4. ::hwat::utils::GetMassCG "C:\Altair\hw8.0sr1\templates\summary\abaqus\ctr_of_gravity" "D:\CGMassFiles\" "assemname";

5. ::hwat::utils::GetMassCG "C:/Altair/hw8.0sr1/templates/summary/abaqus/ctr_of_gravity" "D:/CGMassFiles/" "assemname";

Note that given assembly have defined density and material. To ensure this I pushed "Summary Panel" in post main panel and shows what should show exactly.

Share this post


Link to post
Share on other sites
Guest

Please explain what you want to achieve.

I used:

*unmaskall()*createmark(elements,1) "by set name" "mySet" *createmark(elements,1) "reverse" *maskentitymark(elements,1,0)*summary("./ctr_of_gravity","output.txt",0,0)
in a command file once - maybe you could use this?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...