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

the mesh files about TestCase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2017, 06:31
Default the mesh files about TestCase
  #1
New Member
 
Join Date: Apr 2017
Posts: 5
Rep Power: 9
Kaizhi Ding is on a distinguished road
When I want to run tutorial cases, I find that these cases don't have corresponding mesh files.
So I read the wiki about SU2 on github, it tells me that runing "python serial_regression.py" will get all of the necessary config and mesh files.
But after I did, the terminal shows the message:



==================== Start Test: contadj_euler_py ====================
/mnt/c/Users/dingk/Documents/SU2/TestCases/cont_adj_euler/naca0012
Traceback (most recent call last):
File "/mnt/c/Users/dingk/SU2_linux/bin/continuous_adjoint.py", line 159, in <module>
main()
File "/mnt/c/Users/dingk/SU2_linux/bin/continuous_adjoint.py", line 64, in main
options.step )
File "/mnt/c/Users/dingk/SU2_linux/bin/continuous_adjoint.py", line 97, in continuous_adjoint
info = SU2.run.direct(config)
File "/mnt/c/Users/dingk/SU2_linux/bin/SU2/run/direct.py", line 83, in direct
SU2_CFD(konfig)
File "/mnt/c/Users/dingk/SU2_linux/bin/SU2/run/interface.py", line 117, in CFD
run_command( the_Command )
File "/mnt/c/Users/dingk/SU2_linux/bin/SU2/run/interface.py", line 297, in run_command
raise exception , message
SU2.EvaluationFailure: Path = /mnt/c/Users/dingk/Documents/SU2/TestCases/cont_adj_euler/naca0012/,
Command = /mnt/c/Users/dingk/SU2_linux/bin/SU2_CFD config_CFD.cfg
SU2 process returned error '1'
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor

Traceback (most recent call last):
File "serial_regression.py", line 983, in <module>
main()
File "serial_regression.py", line 861, in main
pass_list.append(contadj_euler_py.run_filediff())
File "/mnt/c/Users/dingk/Documents/SU2/TestCases/TestCase.py", line 240, in run_filediff
fromdate = time.ctime(os.stat(fromfile).st_mtime)
OSError: [Errno 2] No such file or directory: 'of_grad_cd.dat.ref'




Could someone help me with a little bit of advice?
Thanks!
Kaizhi Ding is offline   Reply With Quote

Old   October 15, 2017, 04:45
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Kaizhi,

have a look here: https://github.com/su2code/SU2/wiki/Test-Cases

In short: you have to clone or download the TestCases repository which contains all the mesh files since the main repo only contains the config files.

Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   October 15, 2017, 08:49
Default
  #3
New Member
 
Join Date: Apr 2017
Posts: 5
Rep Power: 9
Kaizhi Ding is on a distinguished road
Quote:
Originally Posted by talbring View Post
Hi Kaizhi,

have a look here: https://github.com/su2code/SU2/wiki/Test-Cases

In short: you have to clone or download the TestCases repository which contains all the mesh files since the main repo only contains the config files.

Tim
Thanks for your help.
I read the wiki and find that the commond "git clone https://github.com/su2code/TestCases.git" will give me the mesh files.
Kaizhi Ding is offline   Reply With Quote

Reply

Tags
meshfile, testcases


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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[Technical] Creating your own mesh files doug OpenFOAM Meshing & Mesh Conversion 28 April 9, 2009 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 12:59.