|
[Sponsors] |
dirichelet boundary conditions for hyperbolic problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 9, 2015, 06:59 |
dirichelet boundary conditions for hyperbolic problem
|
#1 |
Senior Member
Join Date: Jun 2010
Posts: 111
Rep Power: 16 |
Hi,
I am solving a set of 1D hyperbolic equation for a variable density flow. So far I have been using averaging to discretise p and v at the boundary. At the boundaries I have been using linear extrapolation to p and v at the left and right boundaries. For instance, for velocity at the left boundary I have used vw = v(1) - 2*v(2) where v(1) and v(2) represent the first and second nodes from the left boundary. To impose the Dirichlet boundary conditions, I have either just set vw = BC or vw = BC - 2*v(2) I think this is what is the virtual node approach (?) The problem I have with this method is that as I increase my number of nodes I get alot of fluctuations as if a wave reaches the boundary and is reflected back. I am looking for an easy fix to the problem. I tried using up-winding but still have the same problem. Please help if this is your area of expertise. Thank you in advance |
|
August 9, 2015, 08:05 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
If you have Dirichlet B.C.s you need just to set values at one boundary, in your case the left one. I don't understand why you want to use extrapolation...no ghost points are needed |
||
August 9, 2015, 08:14 |
|
#3 |
Senior Member
Join Date: Jun 2010
Posts: 111
Rep Power: 16 |
Hi,
Thank you, that is what I had done originally but it caused fluctuations at the boundary. Therefore, after searching literature I found virtual nodes, and like you said it did not help. If I did not have a Dirichlet BC, and I just needed to define the left boundary would it be correct to use the extrapolation? I am in particular, having problems with my pressure BC, I have come across some papers where they simply use pw = p(1) or pe = p(end) |
|
August 9, 2015, 08:31 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
no, for hyperbolic equations the BC.s are dictated by the direction of the characteristic lines. Thus, extrapolation at the left boundary can be used only if you have a wave coming from the interior and going toward the left boundary. If you have Euler equation and subsonic flows, you have 2 characteristics coming from the left boundary and going into the interior and 2 Dirichlet conditions are required, 1 characteristic is from the interior and you can use extrapolation for that condition. If your flow is supersonic the 3 characteristics require 3 Dirichlet BC.s |
||
August 12, 2015, 18:26 |
|
#5 |
Senior Member
Join Date: Jun 2010
Posts: 111
Rep Power: 16 |
Thank you.
|
|
Tags |
boundary condition, dirichlet, discretization, extrapolation, hyperbolic |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting rotating frame of referece. | RPFigueiredo | CFX | 3 | October 28, 2014 05:59 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Problem with Periodic Boundary Conditions Help!!! | otsigun | FLUENT | 0 | July 11, 2013 04:20 |
Boundary Conditions problem | o_mars_2010 | Main CFD Forum | 2 | July 8, 2013 03:10 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |