|
[Sponsors] |
How to implement exact riemann solver with godunov method? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2023, 22:51 |
How to implement exact riemann solver with godunov method?
|
#1 |
Member
Join Date: Feb 2019
Posts: 69
Rep Power: 7 |
For the exact Riemann solver, it mainly involves calculating the p* and subsequently u*. Once p* is obtained, it is used to define the parameters in the other cells. However, how do I extend it to flux like format?
Because for approximate Riemann solver used in conjunction with Godunov method, the approximate Riemann solver are mostly used to obtain the flux at cell using values from left and right cell interfaces. How do I modify the exact Riemann solver such that it gives me the flux at the cell? I suspect this will require iteration at every cells in order to compute p* at each cell. I think it is obtained by F=[rho*u*,rho*u*^2+p*,u*(E*+p*)] whereby u* can be obtained from p*. However, how to obtain rho*? |
|
June 16, 2023, 18:19 |
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
Hello,
Yes, once you get the full * solution your flux is obtained as you wrote. However, getting p* and u* is only the first step. You need to get rho* and to do this you need the relations across the rarefaction wave using Riemann invariants or across the shock using Rankine-Hugoniot jump relations. Then E* is obtained using the equation of state. This is very well explained in Riemann Solvers and Numerical Methods for Fluid Dynamics by E. Toro. |
|
June 17, 2023, 06:56 |
|
#3 |
Member
Join Date: Feb 2019
Posts: 69
Rep Power: 7 |
Thanks for the reply. I try implementing exact riemann solver as flux in conjunction with godunov method and it seems to be at most as accurate as Roe solver. Is it possible to make the exact Riemann solver flux as accurate as just using exact Riemann solver without Godunov method (whereby p* is only obtained once)?
|
|
June 17, 2023, 10:27 |
|
#4 | |
Senior Member
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 14 |
Quote:
|
||
Tags |
finite volume method, godunov method, iteration, riemann solver, riemann solvers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
On the Roe approximate Riemann solver in the preconditioned density based method | sbaffini | Main CFD Forum | 22 | March 19, 2022 12:20 |
PEMFC model with FLUENT | brahimchoice | FLUENT | 22 | April 19, 2020 16:44 |
Hybrid discretisation - blend factor | gcoopermax | CFX | 5 | September 23, 2016 09:05 |
Compile error with a solver using electric potential method from an article | mykkujinu2201 | OpenFOAM Programming & Development | 10 | April 7, 2016 22:39 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |