|
[Sponsors] |
tutorial to step through a grid adaptation process?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 1, 2013, 10:16 |
tutorial to step through a grid adaptation process??
|
#1 |
Member
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13 |
I am interested in learning how to use grid adaptation and am having problems getting mesh_adaptation.py to run.
Is there a tutorial somewhere that goes through step-by-step a grid adaptation process? I'm mainly interested in adapting to a shock for right now. Thanks. |
|
February 5, 2013, 03:02 |
|
#2 |
Member
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13 |
Hey Tom --
Thanks for bringing this up! Mesh adaptation is a key feature in the SU2 package and I've been working on a tutorial that showcases the two of the most commonly used adaptation strategies: feature-based (using flow field gradients) and goal-oriented (using the adjoint variables as weighting factors in the adaptation strategy). The tutorial will be ready very shortly (within the next 24 to 48 hours) and I'll be sure to let the community know as soon as it's available! Regards, Sean |
|
February 5, 2013, 21:19 |
|
#3 |
Member
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13 |
Hey Tom --
Just wanted to follow up with you. I've completed the Mesh Adaptation tutorial (currently tutorial #13 on our documentation page) and included a direct link below: http://adl.stanford.edu/docs/display...esh+Refinement In the process, I discovered some minor file-processing bugs in the python script. I've corrected those bugs and attached an updated mesh_adaptation.py script to the tutorial page. Please download this file, and overwrite the old mesh_adaptation.py script located in your $SU2_HOME/SU2Py directory and in your $SU2_RUN directory. This updated file will be distributed with our monthly development release scheduled in the near future. If you have feedback on the tutorial, I'd be happy to hear your comments and suggestions. Regards, Sean |
|
February 11, 2013, 14:59 |
|
#4 |
Member
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13 |
I was having computer issues last week. Will try the tutorial this week and let you know.
Thanks! |
|
February 13, 2013, 10:39 |
|
#5 |
Member
Eduardo Molina
Join Date: Sep 2010
Location: Brazil
Posts: 35
Rep Power: 16 |
Hi Sean and Trent
Sorry for posting my issues on the wrong topic. So here we go... I was having problems with this tutorial when I compile the SU2 with all the options (MPI, METIS and CGNS), so Trent advised me to download the update version of SU2v2.0. I downloaded and compiled it with all the same options and the problem persists. See bellow the terminal output: molina@Desktop-Molina:~/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation$ python mesh_adaptation.py -f adapt_NACA0012.cfg -p 1 >> output_TECPLOT_MAC_PARALLEL.txt *** The MPI_Comm_rank() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [Desktop-Molina:5070] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! Traceback (most recent call last): File "mesh_adaptation.py", line 387, in <module> main() File "mesh_adaptation.py", line 59, in main options.save_all ) File "mesh_adaptation.py", line 354, in mesh_adaptation libSU2_run.SU2_MAC( Config_MAC_filename, partitions ) File "/home/molina/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation/libSU2_run.py", line 37, in SU2_MAC run_command( the_Command ) File "/home/molina/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation/libSU2_run.py", line 106, in run_command raise Exception , "SU2 process returned error '%s'" % return_code I replaced the original meshadaptation.py file with the one from tutorial's page. After, I decided to compile in another folder a serial version without any options to see what was happening, chossing a SU2_MAC_SERIAL or SU2_MAC changing the libSU2_run.py. Here is the results: Configure file with Tecplot - and the SU2_MAC_Serial -> Run ok Configure file with Paraview - and the SU2_MAC_Serial -> Segmentation fault (core dumped) Configure file with Tecplot - and the SU2_MAC -> Same problem as above (MPI issues) Configure file with PARAVIEW - and the SU2_MAC -> Same problem as above (MPI issues) For me, we have two problems here one with paraview output and one with this strange problem with MPI even when running the code with -p 1 option. Last question: Why we have this WARNING: unrecognized option in the config. file: GRID_DEFORM_SOLVER.? Please see the attached files with the output error from terminal. Thanks in advance Eduardo |
|
March 15, 2013, 04:17 |
|
#6 |
New Member
Ben
Join Date: Mar 2013
Posts: 15
Rep Power: 13 |
I am getting the same MPI fault as above. Is there a solution to this?
The error is caused by calling SU2_MAC. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
On grid independent solution for pulsatile flow | David | FLUENT | 5 | March 25, 2022 03:33 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 22:40 |
grid adaptation | Amel | FLUENT | 3 | March 6, 2008 09:53 |
a grid error during solving process | Tiefeng WANG | CFX | 2 | June 14, 2002 09:07 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 11:18 |