|
[Sponsors] |
cannot create flow.vtk files after parallel computation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2017, 15:35 |
cannot create flow.vtk files after parallel computation
|
#1 |
New Member
Osman Mirza Demircan
Join Date: May 2017
Location: Ankara, Türkiye
Posts: 29
Rep Power: 9 |
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 14:00. |
|
August 15, 2017, 22:29 |
|
#2 |
New Member
Joshua Yun
Join Date: Aug 2017
Posts: 3
Rep Power: 9 |
did you remember to type .cfg after the config file name?
Like so: python parallel_computation.py -f inv_ONERAM6.cfg -n 1 |
|
August 16, 2017, 16:46 |
|
#3 |
New Member
Osman Mirza Demircan
Join Date: May 2017
Location: Ankara, Türkiye
Posts: 29
Rep Power: 9 |
It's been some time but I remember the error was gone after I reinstalled SU2, I guess something went wrong during the installation.
|
|
August 20, 2017, 00:00 |
|
#4 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
August 20, 2017, 09:49 |
|
#5 |
New Member
Osman Mirza Demircan
Join Date: May 2017
Location: Ankara, Türkiye
Posts: 29
Rep Power: 9 |
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. |
|
August 20, 2017, 11:23 |
|
#6 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
August 21, 2017, 03:38 |
|
#7 |
New Member
Osman Mirza Demircan
Join Date: May 2017
Location: Ankara, Türkiye
Posts: 29
Rep Power: 9 |
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 08:30. |
|
Tags |
parallel computation, postprocessing, segmentation fault, su2, unsteady |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Parallel Computation problem | Gramanzini | SU2 | 5 | September 29, 2018 13:32 |
Strange post processing resuls for parallel computation of Onera M6 tutorial | Akash C | SU2 Shape Design | 9 | August 30, 2013 07:05 |
Installation issues for parallel computation | Akash C | SU2 Installation | 1 | June 21, 2013 06:26 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |
how to parallel computation | Jane | Siemens | 2 | April 28, 2004 07:11 |