|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Jul 2014
Posts: 39
Rep Power: 13 ![]() |
Hi
In shockTube tutorial test case, the divSchemes looks like follows: Code:
divSchemes
{
default none;
div(tauMC) Gauss linear;
}
Code:
solve(fvm::ddt(rho) + fvc::div(phi)); Thanks Last edited by PicklER; April 1, 2017 at 08:15. Reason: Too general Title |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2014
Location: Czech Republic
Posts: 29
Rep Power: 15 ![]() |
Hi,
look into rhoCentralFoam.C, the solver is based on Kurganov and Tadmor central schemes, ie, Riemann-solver-free approach. |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2014
Posts: 39
Rep Power: 13 ![]() |
Hi
Thank you for the quick reply. I think I understand it now. phi is calculated by the interpolated variables of the cell faces and therefore solved. I noticed that for n number of cells in a straight line, like in the shocktube test case, phi has only n-1 values, which confirms that phi only exists on the faces. And the obvious definition of phi Code:
surfaceScalarField phi("phi", mesh.Sf() & fvc::interpolate(rhoU));
here I am busy writing up my understanding of it in a way I can better explain it. Thanks again |
|
|
|
|
|
![]() |
| Tags |
| fvschemes, rhocentralfoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to apply a turbulence model to the rhoCentralFoam solver? | arussell92 | OpenFOAM Pre-Processing | 19 | April 15, 2025 11:43 |
| rhoCentralFoam transport equation | JoaoDMiranda | OpenFOAM Programming & Development | 29 | July 5, 2024 09:38 |
| Modify rhoCentralFoam: other equations of state | fivos | OpenFOAM Programming & Development | 5 | July 29, 2020 14:17 |
| dynamic mesh refinement and rhoCentralFoam | ChrisA | OpenFOAM Running, Solving & CFD | 1 | March 21, 2013 09:00 |
| rhoCentralFoam solver with Slip BCs fails in Parallel Only | JLight | OpenFOAM Running, Solving & CFD | 2 | October 11, 2012 22:08 |