|
[Sponsors] |
Conservative Flux in (in-)compressible PimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2022, 07:19 |
Conservative Flux in (in-)compressible PimpleFoam
|
#1 |
New Member
Adrian
Join Date: Mar 2022
Posts: 1
Rep Power: 0 |
Hello Everyone,
i have recently gotten into CFD and i have been exploring the OpenFOAM source code a bit to better understand whats going on. Specifically, i have been looking into the incompressible/pimpleFoam and the compressible/rhoPimpleFoam solvers and i think by now i have a farely good grasp at what most of the code does. But there is one thing that strikes me as odd in the pressure equation sections of both solvers (pEqn.H): After the pressure equation is solved, in the last non-orthogonal corrector loop the conservative flux Code:
phi Code:
phi = phiHbyA - pEqn.flux(); which, from what i understand is equivalent to and becomes where the surface element [math] S = \Delta + k [\math]. This is all good and i get where it is coming from. The problem lies in the comparison to the compressible solver (rhoPimpleFoam/pEqn.H): Here, the correction to the conservative flux is written as Code:
phi = phiHbyA + pEqn.flux(); so the sign of the Code:
pEqn.flux() Code:
.flux() So if these equations are correct, then why is the sign for Code:
pEqn.flux() I hope this is the right forum for this question. Thx already in advance |
|
Tags |
pimplefoam, pressure and velocity, rhopimplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solver crashing | hrishikeshsivanandan | OpenFOAM | 7 | March 6, 2021 02:18 |
Flux splitting for compressible flow using finite difference method | Amr Emad Ezzat | Main CFD Forum | 2 | February 10, 2020 06:13 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |