cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Contact analysis "command line options"

SOLVED
Pearl

Contact analysis "command line options"

Referring to the attached file, page 22, i would ask if someone could tell me how insert that commands (contact_penetration; contact_nr_its) and also the enviroment variable ( MSE_CONTACT_TOLERANCE_FACTOR).

 

Furthermore, I would be pleased if someone could give me the guide lines to solve the contact problem in the second attached file.

 

I've already faced this problem recently, but I've never known if I done all right. The semplifications in the geometry are made because the lower part of the shaft don't move; indeed, if you look at the suppressed parts, you look other bushings that constrain the shaft.

I'm interested know the contact pressure between shaft and the highest bushing.

 

In the end, some questions about contact interfaces:

- Slit surfaces: is it always reccomended to check it?

- Generate compatible mesh: all the times I've checked it, I had some convergence prolem. So..?

- Kind of references: surface-surface or component componet. Are there any differences apart the convenience of pick reference? And, in case of comp-comp, in base of what I have to choose "separation distance" and"angle"?

 

I work in Creo 2.0 and the file are made in that, but i have also the WF5.

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Contact analysis "command line options"

I finally found it !

To use these command line options, once the analysis is created, you have to select Run>Batch... instead of starting it within Pro/Mech.

Pro/Mech will then create a batch file which has to be modified in order to add the command line option.

As an example, I have added the contact penetration option here:

.............

call "C:\Program Files\PTC\Creo Elements\Pro5.0\mech\bin\msengine.bat" "Analysis_name" -i "Analysis_folder" -w "Temp_folder" -solram 1000 -ascii -modeltype mda -num_threads ALL -contact_penetration 0.001

Then you just have to launch the analysis by double-clicking the *.bat file. (if Pro/Mech is still running, you can look at the run status in real time)

14 REPLIES 14

Re: Contact analysis "command line options"

I don't know how to add commands, but the environment variable has to be set in microsoft windows.

It depends on Windows version, you can find some help here: http://www.computerhope.com/issues/ch000549.htm

I can't open your file but I personnaly often use split surface and generate compatible mesh without convergence issue (what kind of convergence problem do you encounter ?)

I don't like to use the component-component as it creates contacts automatically and I like to know exactly what I am creating.

The separation distance and angle are used by Mechanica to choose whether it will create a contact between a set of surfaces or not.

As an example, if you set separation distance to 0.5mm, it will create contact between all surfaces separated by a distance less than 0.5mm.

Re: Contact analysis "command line options"

The problem i find when use the compatible mesh option is simply a lot of time to complete the analysis; much more that in the case i don't use that command.

Another thing i would ask is if you use these "command line" as referenced in the pdf.

Re: Contact analysis "command line options"

No I didn't know they exist, but they would have been useful for some analysis I ran.

I just have set the environment variable "MSE_CONTACT_INTERPENETRATION_TOLERANCE" to 0 and it helped me.

Highlighted

Re: Contact analysis "command line options"

Thanks very much Sylvain!

Does anyone else know how to set these "command lines"?

Re: Contact analysis "command line options"

Hello, Giulio
There is an article in the Knowledge Base PTC.
Cordially.
Denis.

https://www.ptc.com/appserver/cs/view/case_solution.jsp?n=CS6933&lang=en

Re: Contact analysis "command line options"

Thanks Denis, that's where I found the variable MSE_CONTACT....

For the command line option, I'm searching for an answer and I think it should come from the batch files which are in C:\Program Files\PTC\Creo Elements\Pro5.0\mech\x86e_win64\bin

I'm currently trying to launch one of them with the option "-contact_penetration 0.01" within a DOS prompt window.

Re: Contact analysis "command line options"

I finally found it !

To use these command line options, once the analysis is created, you have to select Run>Batch... instead of starting it within Pro/Mech.

Pro/Mech will then create a batch file which has to be modified in order to add the command line option.

As an example, I have added the contact penetration option here:

.............

call "C:\Program Files\PTC\Creo Elements\Pro5.0\mech\bin\msengine.bat" "Analysis_name" -i "Analysis_folder" -w "Temp_folder" -solram 1000 -ascii -modeltype mda -num_threads ALL -contact_penetration 0.001

Then you just have to launch the analysis by double-clicking the *.bat file. (if Pro/Mech is still running, you can look at the run status in real time)

Re: Contact analysis "command line options"

Sorry but I'm not expert into manage batch files...

can you explain much better the procedure to obtain what you have done?

What I've understood is:

  1. select the name of the analysis in the pro/e tab menu
  2. Run/Batch ; and creating the file batch
  3. now I have to "edit" that file but if I made double click on it, it starts the analysis

can you post the screen where you seen how editing that file?

Re: Contact analysis "command line options"

In windows explorer, right-click on the batch file and choose "Edit"