CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

SU2 - Mesh adaptation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2013, 05:37
Default SU2 - Mesh adaptation
  #1
New Member
 
anonymous
Join Date: May 2013
Posts: 1
Rep Power: 0
Road_Runner is on a distinguished road
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
Road_Runner is offline   Reply With Quote

Old   June 13, 2013, 19:41
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
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
fpalacios is offline   Reply With Quote

Reply

Tags
ion


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
Axisymmetric 2D mesh adaptation - ERROR Pepe CFX 3 May 30, 2011 09:28
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43
basic of mesh refinement arya CFX 4 June 19, 2007 13:21


All times are GMT -4. The time now is 22:14.