CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Boundary Condition of Shock Waves Interaction Experiment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2016, 12:34
Default Boundary Condition of Shock Waves Interaction Experiment
  #1
New Member
 
LIGANG SUN
Join Date: Nov 2016
Posts: 4
Rep Power: 10
jacksparrow1492 is on a distinguished road
Dear Sir or Madam:

Hello!
I am a graduate student in Math department, recently I am doing a project about shock waves interaction.
I have a question about shock wave interaction, which confused me for a long time. Please find the slides attached.

We designed an experiment to make two shocks encounter in the middle area, the Lax-Wendroff scheme was used to get the finally updated flow filed. Even though the incident shocks and part of their reflected shocks can captured clearly, all the parameters get dramatically high in the middle area.

More important, I expect the results which are similar with the theory results, you can find the theory shock wave interaction result in the end of that slides.

We think this bad result was caused by the boundary conditions in the output area(or the upper boundary in the middle), and I could not find a good way to fix it.
Could you please give me some comments or suggestions about this problems? I would appreciate if you can help me.

Best Wishes and Kind Regards,
Sun Ligang
Attached Images
File Type: png 4a_6.png (11.1 KB, 24 views)
File Type: png ch2_7_38a.png (68.9 KB, 20 views)
File Type: jpg 4a_1_1.jpg (98.4 KB, 15 views)
File Type: jpg 4a_1_2.jpg (69.3 KB, 18 views)
Attached Files
File Type: pdf cfd_forum.pdf (184.5 KB, 17 views)
jacksparrow1492 is offline   Reply With Quote

Old   November 29, 2016, 12:46
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I have not read the pdf but, before checking the BC.s, have you experience of CFD? Do you know that the Taylor expansion (on which the L-W is based) is not valid where a discontinuity of the functions is present? The L-W scheme can be used for the weak form and you should deduce the numerical flux function.
In any case, such scheme produces numerical oscillation, can be entropy violating. In conclusion, start using a simple first order method to check first if the BC.s are correct. Then, if the solution is physically relevant (even if smooth for the numerical visosity) you can try to improve the accuracy.
FMDenaro is offline   Reply With Quote

Old   November 29, 2016, 13:26
Default
  #3
New Member
 
LIGANG SUN
Join Date: Nov 2016
Posts: 4
Rep Power: 10
jacksparrow1492 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I have not read the pdf but, before checking the BC.s, have you experience of CFD? Do you know that the Taylor expansion (on which the L-W is based) is not valid where a discontinuity of the functions is present? The L-W scheme can be used for the weak form and you should deduce the numerical flux function.
In any case, such scheme produces numerical oscillation, can be entropy violating. In conclusion, start using a simple first order method to check first if the BC.s are correct. Then, if the solution is physically relevant (even if smooth for the numerical visosity) you can try to improve the accuracy.
Hello, FMDenaro:

Many thanks for your reply!!
I just submitted my second experiment, i.e., the interaction experiment with some problems. For the first reflection experiment, the result is very good, please see the new attachments. Both these two experiments are based on 2D Lax-Wendroff method. So I just consider if the boundary conditions caused the terrible results. It is really strange for the reflected shock just gets very high in the middle area.

I am a graduate in Math department, I have only a little experience in CFD. But my friend had. He got a PhD in Flow Mechanics, but he still could not fix this.

Thank you and I am looking forward to your reply!

Kind Regards,
Sun Ligang
Attached Images
File Type: jpg 3_1_1.jpg (98.9 KB, 9 views)
File Type: jpg 3_6_1.jpg (34.3 KB, 10 views)
jacksparrow1492 is offline   Reply With Quote

Old   November 29, 2016, 13:33
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
It is quite easy to check if the BC.s introduce spurious waves... "non-reflecting boundary conditions" is a very old and well documented issue in the CFD literature (textbooks and journals). I suggest to check your code in a well known test-case, then you should control the field during the time integration to see what happen when the waves move close to the boundary
FMDenaro is offline   Reply With Quote

Old   December 1, 2016, 05:10
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
May i suggest to first try some 1D experiments (shock tube) both aligned and not with respect to your grid? In this way you can quickly rule out some possible issues. I would first focus on the solver (using simple b.c.s) and then on the b.c.s (using a simpler problem). I expect something to show up before you complete the whole set of experiments.

Also, as Prof. Denaro wrote, testing the 1st order is somehow mandatory before the more complex schemes. You might be just looking at some feature of the scheme without even knowing it.

Most of these tests are long/boring but, there is no actual alternative.
sbaffini is offline   Reply With Quote

Old   December 3, 2016, 22:33
Default
  #6
New Member
 
LIGANG SUN
Join Date: Nov 2016
Posts: 4
Rep Power: 10
jacksparrow1492 is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
May i suggest to first try some 1D experiments (shock tube) both aligned and not with respect to your grid? In this way you can quickly rule out some possible issues. I would first focus on the solver (using simple b.c.s) and then on the b.c.s (using a simpler problem). I expect something to show up before you complete the whole set of experiments.

Also, as Prof. Denaro wrote, testing the 1st order is somehow mandatory before the more complex schemes. You might be just looking at some feature of the scheme without even knowing it.

Most of these tests are long/boring but, there is no actual alternative.
Yes, it is long tests. Actually even the one moment flow field information would cost more than 3 hours to achieve, and the txt file which was used to store the data is about 50M.
Many thanks for your suggestions! I am going to check that.
jacksparrow1492 is offline   Reply With Quote

Old   December 3, 2016, 22:37
Default
  #7
New Member
 
LIGANG SUN
Join Date: Nov 2016
Posts: 4
Rep Power: 10
jacksparrow1492 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
It is quite easy to check if the BC.s introduce spurious waves... "non-reflecting boundary conditions" is a very old and well documented issue in the CFD literature (textbooks and journals). I suggest to check your code in a well known test-case, then you should control the field during the time integration to see what happen when the waves move close to the boundary
Thank you for you suggestions, Dr. Denaro!
I am going to check the code again, and I will submit the new output and let you know.
Thanks!
jacksparrow1492 is offline   Reply With Quote

Reply

Tags
boundaries condition, interactions, shock wave, simulations


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
several fields modified by single boundary condition schröder OpenFOAM Programming & Development 3 April 21, 2015 06:09
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
proper boundary condition for making a moving shock wave immortality OpenFOAM Running, Solving & CFD 0 December 8, 2012 15:36
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 07:45
Roe Scheme; Shock Boundary layer Interaction Mohammad Kermani Main CFD Forum 5 December 20, 1999 16:44


All times are GMT -4. The time now is 17:55.