CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 (http://www.cfd-online.com/Forums/su2/)
-   -   SU2 - Mesh adaptation (http://www.cfd-online.com/Forums/su2/117910-su2-mesh-adaptation.html)

Road_Runner May 17, 2013 04:37

SU2 - Mesh adaptation
 
Hello, currently testing SU2 on PC running with windows XP 32 bits. Some issues occured when testing "mesh adaptation" using the command "mesh_adaptation.py -f adapt_naca0012.cfg -c 2 -s true (the last mesh_adaptation.py in the tutorial was used). Previously, the following environment variables were declared SU2_RUN and SU2_HOME. At that time the message as follows is return when submitting the job:
Traceback <most recent call last>:
File "N:\Python33\libs\os.py", line 673, in __getitem__
value = self._data[self.encodekey(key)]
KeyError: 'SU2_RUN'
during handling of the above exception, another exception occured :
Traceback <most recent call last>:
File "N:\Program file\Stanford ADL\SU2\bin\mesh_adaptation.py", line 24, in <module>
import os, time, sys, libSU2, libSU2_run, shutil
File "N:\Program file\Stanford ADL\SU2\bin\libSU2_run.py", line 5, in <module>
SU2_RUN = os.environ['SU2_RUN']
File "N:\Python33\libs\os.py", line 676, in __getitem__
raise KeyError(key)
KeyError: 'SU2_RUN'
Thanks by advance for the reply - best regards John

fpalacios June 13, 2013 18:41

Hi,
We are in the process of migrating from the old python environment to the new one. The mesh_adaptation.py is not updated in the latest version of SU2.

If you are interested in that capability, could you please try with an older version of SU2?

Cheers,
Francisco


All times are GMT -4. The time now is 13:16.