एखादी गोष्ट ऐकल्यावर असे वाटते की ’आइला... सहीच’ हे तर मला माहीतच नव्हते. कधी कधी स्वत:लाच काही शोध लागतात आणि वाटते की इतरांनाही या गोष्टी कळल्या तर किती बरे होईल. हा ब्लॉग त्याचसाठी!

It is pretty difficult to translate the title. It is a slang exclaimation meaning wow. Sometimes we find some things really surprising. That Eureka feeling is hard to supress for the little professor in our minds. This blog is an expression of that little professor.

Tuesday, December 25, 2007

ANSYS - avoiding of the verify prompt - trick

A way to simulate multiple cases with varying parameters in ANSYS is here!

I wanted to use a simple *DO loop for those but everytime I /clear the database and start a new one, ANSYS would ask me to verify it. Searching the internet and the help did not help. ANSYS seems to have no simple way to get rid of it.

This is the solution I came up with -
1. Initialize the file with /clear in the beginning, ANSYS asks for verification for the very first time (you have to say "yes" for the very first time)
2. Then save this initial database by SAVE,DATA,....
3. Introduce parameters and code the loop
4. Before ending the loop, use PARSAV,... to save the parameters to some file (your results can be parameter arrays; use *GET to save the results as parameters).
5. Then resume the initial database by RESUME, DATA,... (This virtually deletes your database)
6. Now, resume the parameters by PARRES to recover the loop parameters and result parameters.
7. *ENDDO the loops and run the simulation. After the simulations are done, just open the file where the parameters are saved and you have all your results there.

Hope it helps!!! Enjoy ANSYSing!!