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

cannot create flow.vtk files after parallel computation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2017, 14:35
Exclamation cannot create flow.vtk files after parallel computation
  #1
New Member
 
Osman Mirza Demircan
Join Date: May 2017
Posts: 29
Rep Power: 5
omdemircan is on a distinguished road
I am trying to get solution output from an unsteady simulation that I have run using the mpirun command. In steady cases I can use SU2_SOL with the config file and get the flow.vtk file but the same process doesn't seem to work for the unsteady case. I am getting a segmentation fault error and no file is created.
Additionally, I realized that the python script "parallel_computation.py" isn't working. I think I may have installed the code incorrectly but I would really appreciate it if anyone could help me on this matter.

Here is the error I am getting from SU2_SOL:
------------------------- Solution Postprocessing -----------------------
[omdemircan:09268] *** Process received signal ***
[omdemircan:09268] Signal: Segmentation fault (11)
[omdemircan:09268] Signal code: Address not mapped (1)
[omdemircan:09268] Failing at address: (nil)
[omdemircan:09268] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11630)[0x7fb7df0a7630]
[omdemircan:09268] [ 1] SU2_SOL(+0x2e9bc)[0x561308ab19bc]
[omdemircan:09268] [ 2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fb7decef3f1]
[omdemircan:09268] [ 3] SU2_SOL(+0xeb63a)[0x561308b6e63a]
[omdemircan:09268] *** End of error message ***
Segmentation fault (core dumped)

and the error when I try to sun parallel_computation.py:
Traceback (most recent call last):
File "/usr/local/bin/parallel_computation.py", line 112, in <module>
main()
File "/usr/local/bin/parallel_computation.py", line 63, in main
options.compute )
File "/usr/local/bin/parallel_computation.py", line 90, in parallel_computation
info = SU2.run.CFD(config)
File "/usr/local/bin/SU2/run/interface.py", line 89, in CFD
auto_diff = konfig.MATH_PROBLEM == 'DISCRETE_ADJOINT'
File "/usr/local/bin/SU2/io/config.py", line 130, in __getattr__
raise AttributeError , 'Config parameter not found'
AttributeError: Config parameter not found

Last edited by omdemircan; May 23, 2017 at 13:00.
omdemircan is offline   Reply With Quote

Old   August 15, 2017, 21:29
Default
  #2
New Member
 
Joshua Yun
Join Date: Aug 2017
Posts: 3
Rep Power: 4
messimagic is on a distinguished road
did you remember to type .cfg after the config file name?

Like so:

python parallel_computation.py -f inv_ONERAM6.cfg -n 1
messimagic is offline   Reply With Quote

Old   August 16, 2017, 15:46
Default
  #3
New Member
 
Osman Mirza Demircan
Join Date: May 2017
Posts: 29
Rep Power: 5
omdemircan is on a distinguished road
It's been some time but I remember the error was gone after I reinstalled SU2, I guess something went wrong during the installation.
omdemircan is offline   Reply With Quote

Old   August 19, 2017, 23:00
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 11
fpalacios is on a distinguished road
Hi, thanks a lot for using SU2!

Not 100% sure but... unfortunately, I think that the unsteady SU2 output was never implemented for unsteady problems. In fact, the Paraview output doesn't have the maintenance that we would like (there is no a binary version!).

Have you tried TecPlot output? I think it is possible to have a free license for 1 month..

Anyway, could you please add this problem to the list of issues

https://github.com/su2code/SU2/issues

And, if you are interested in working on the Paraview output, you are more than welcome!

Thanks

Francisco
fpalacios is offline   Reply With Quote

Old   August 20, 2017, 08:49
Default
  #5
New Member
 
Osman Mirza Demircan
Join Date: May 2017
Posts: 29
Rep Power: 5
omdemircan is on a distinguished road
Hi,
The source of the segmentation error that I mentioned in this thread was a bad configuration during the intallation. I resolved this issue by reinstalling SU2 and the script ran without giving any errors.
However, getting the Paraview output from the solution data with the SU2_SOL command doesn't seem to be working as it seems to be written only for steady simulations. For solving this problem, I have found a work-around that gives me the Paraview output for each solution data that the code outputs. I have written a very simple python script and shared it in the following thread: parallel_computation.py not working
I don't know if I am doing something wrong when calling SU2_SOL or is it actually as you said, that SU2 unsteady output was never implemented to the code.
Secondly, I didn't quite understand what you meant by trying Tecplot and I haven't used it with SU2 before. The output from the python script that I have written can be opened with Paraview like an unsteady case. I even used it to get pressure data at a point with respect to time/iteration. The problem here is that the solution files tend to be very big since they store all information about the unsteady case. So I think the user should be able to specify different intervals for saving flow data and the surface data.
omdemircan is offline   Reply With Quote

Old   August 20, 2017, 10:23
Default
  #6
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 11
fpalacios is on a distinguished road
Thanks for the clarification.
We would appreciate if you add this issue to

https://github.com/su2code/SU2/issues

including your python script

It is the best way to capture the attention of the unsteady solver developers. I know most of them use TecPlot http://www.tecplot.com which is an excellent post-processing tool... but, proprietary.

Thanks!
Francisco
fpalacios is offline   Reply With Quote

Old   August 21, 2017, 02:38
Default
  #7
New Member
 
Osman Mirza Demircan
Join Date: May 2017
Posts: 29
Rep Power: 5
omdemircan is on a distinguished road
I checked the link you provided and searched for a similar issue, it seems someone else pointed the same issue here: https://github.com/su2code/SU2/issues/133. I added my thoughts as you requested.

Thank you.
Osman Mirza Demircan

Last edited by omdemircan; August 21, 2017 at 07:30.
omdemircan is offline   Reply With Quote

Reply

Tags
parallel computation, postprocessing, segmentation fault, su2, unsteady

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
SU2 Parallel Computation problem Gramanzini SU2 5 September 29, 2018 12:32
Strange post processing resuls for parallel computation of Onera M6 tutorial Akash C SU2 Shape Design 9 August 30, 2013 06:05
Installation issues for parallel computation Akash C SU2 Installation 1 June 21, 2013 05:26
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
how to parallel computation Jane Siemens 2 April 28, 2004 06:11


All times are GMT -4. The time now is 09:37.