Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations The Obturator on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ugii_env.dat & ANSYS solver

Status
Not open for further replies.

ghede

New member
Oct 13, 2009
4
Hello everybody,

I am using NX 5, and I would like to use the ANSYS solver within it.
The ANSYS version I am using is 10.0.
I manually modified the file ugii_env.dat.
What am I supposed to use as variable for "UGII_ANSYS="?
I tried (I belive) any combination!
The shortcut to run ANSYS on my desktop says:
"C:\Program Files\Ansys Inc\v100\CommonFiles\TCL\bin\intel\wish.exe" "C:\Program Files\Ansys Inc\v100\CommonFiles\Launcher\LauncherMain.itcl" -runae
but it isn't working at all.
I tried both:
"C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel\ANSYS.exe"
and
"C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel\ansys100.exe"
but when I solve with these, ANSYS crashes.
If I use other files, ANSYS doesn't start at all.
I didn't make any particularly complicated geometry. This is just a try to make the solver working, in order to try more complicated models further on.

Did I do something wrong?
Did I miss some step?
Are ANSYS 10 and NX5 compatible?

Thanks in advance for your help.

Kind Regards,
Ghede
 
Replies continue below

Recommended for you

I know this sounds obvious, but have you verified that your Ansys solver is functioning on its own, without being initiated thru NX?
 
Hi Potrero,
ANSYS works fine if I just do everything within it.
I don't use it for long time yet, but all the tutorials run smoothly for instance.
On NX5 I just made a cylinder, with a fixed constraint on one side. I tried to apply a single force, then a torque, then a pressure. I also tried fixed constraints on both sides, but still the same crash.
Could it be because I am not defining the material correctly?
Is there some guide I can find about the NX-ANSYS combination?
 
The UGII_ENV file is semi-documented for what you want.
# UGII_ANSYS must point to the directory where the ANSYS executable resides.
You pointed it to the executable file itself, not the folder.
UGII_ANSYS=C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel

# UGII_ANSYS_VERSION sets the ANSYS executable version .
I would guess this should 10.0. for you.
UGII_ANSYS_VERSION=10.0




"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
In your ugii_env.dat file:
******************************
#
# UGII_ANSYS must point to the ANSYS executable
#
UGII_ANSYS="C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel\ansys100.exe"
#
# UGII_ANSYS_VERSION sets the ANSYS executable version.
# Valid executable versions are "5.5" and above.
#
UGII_ANSYS_VERSION=10
#
# UGII_ANSYS_PRODUCT sets the ANSYS product used for Scenario Analysis.
# For valid product variables refer to Ansys Installation Guide or Ansys
# Operations Guide.The default product is "ane3fl".
#
UGII_ANSYS_PRODUCT=ane3fl
********************************

should do it. Now, you also mentioned that Ansys crashes. Is this during the solve process? Just last month we had this issue and I reported to GTAC and a PR was created. But it turns out, that the problem was that we had a space in our path and/or file name. Ansys solver can't handle spaces in folder paths or file names. The PR resolution stated that in NX 7.5 there will be some type of popup message telling you to fix this before solving. Also check the folder where when you run the solve operation for any error files and log files. Also you might want to set ANS_FLEXLM_DEBUG = 2 to make sure that there are not license problems. I believe this writes a log file to your C:\temp or C:\tmp folder. Lastly, I have seen cases where it would solve and I would get the *.rst (results) file and everything but in NX post processing it would not load them. I had to Import the results. Now sure what is up with that but this is with NX 6 and Ansys 11. If you find that it is some problem other than what has been stated in this thread please report back what it is. As others will likely run across the same issue at some point.
 
Dear looslib,

I already previously tried your solutions (with both VERSION=10 and 10.1), but it gives the following Solve Error:

Undefined ANSYS Solver Executable C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel

Thanks anyway for your help.

BOPDesigner,

Yes, ANSYS crashes after 15 seconds I press the "Solve" button (See the attachment).
So mainly you are suggesting me to install ANSYS on a folder which path does not contain spaces?
I think this will be a busy day...
I'll let you know!
Thanks as well!
 
 http://img203.imageshack.us/img203/7092/crashp.jpg
Dear Ghede,
Apart of configuring properly NX CAE variables in the ugii_env.dat file, please check your license to see in Ansys Environment is included (NX30510).

Description of Ansys Environment
==================================
The Ansys Environment reads the appropriate FE data from NX and creates a run ready deck for the Ansys finite element solver. This interface supports a wide range of solutions including Linear Statics, Normal Modes, Buckling, Thermal, Nonlinear Statics and Nonlinear Statics analysis types. Selection of the Environment within the NX application will define the types of elements, loading and solutions supported all within the language of the Nastran solver.

Product Prerequisites:
=======================
NX12500 or NX12510 or NX13500 or NX13510

Best regards,
Blas.
 
Good news from over here!!!
I made it working!

I re-installed ANSYS is a "no space" folder such as C:/ANSYS.
I run the simulation and... it crashed again!

Then during my lunch break I thought that perhaps was the model path the problem. So I moved my model from the original path (C:\Documents and Settings\... and so on) to a simpler one such as C:/Pray (I chose this name because it was my very last option), I run it and... IT WORKS!

Thanks to everybody (especially BOPdesigner) for your help and kindness. I hope this thread might be helpful to somebody else.

Regards,
Ghede
 
Good deal. Sorry about that I wasn't very clear. I meant that there should not be spaces in the path to, and the file names of the data files. I saw in your screen capture you had _ instead of spaces in the file name so that is good. It was just that Documents and Settings (or similar) folder that was getting you. I suspect you could probably leave Ansys installed in its default location (ie. C:\Program Files\Ansys Inc\....) and it would also run fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor