jithenderchoudary commited on
Commit
31bb642
·
verified ·
1 Parent(s): e80a404

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -58,11 +58,18 @@ def execute_script():
58
  f.write(apdl_script)
59
 
60
  # Define ANSYS execution command
61
- ansys_command = [
62
- "ansys", # Replace with the full path to your ANSYS executable
63
- "-b", # Batch mode
64
- "-i", script_file, # Input script
65
- "-o", "output.log" # Output log
 
 
 
 
 
 
 
66
  ]
67
 
68
  try:
 
58
  f.write(apdl_script)
59
 
60
  # Define ANSYS execution command
61
+ #ansys_command = [
62
+ # "ansys", # Replace with the full path to your ANSYS executable
63
+ # "-b", # Batch mode
64
+ # "-i", script_file, # Input script
65
+ # "-o", "output.log" # Output log
66
+ ansys_command = [
67
+ "C:\\Program Files\\ANSYS Inc\\v211\\ansys.exe", # Replace with actual path
68
+ "-b",
69
+ "-i", script_file,
70
+ "-o", "output.log"
71
+ ]
72
+
73
  ]
74
 
75
  try: