|
[Sponsors] |
Mass flux update in simpleFoam and rhoSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 14, 2021, 20:17 |
Mass flux update in simpleFoam and rhoSimpleFoam
|
#1 |
Member
Join Date: Mar 2021
Posts: 39
Rep Power: 5 |
Hello to all,
I would like to know if anyone can clarify why the mass flux in simpleFoam is calculated as: Code:
phi = phiHbyA - pEqn.flux(); Code:
phi = phiHbyA + pEqn.flux(); |
|
June 14, 2021, 20:28 |
|
#2 |
Member
Join Date: Mar 2021
Posts: 39
Rep Power: 5 |
in simpleFoam it comes from the discretization of the continuity equation:
Where the .flux() function is used to rebuild the fluxes accounting for the implicit and explicit part resulting from the discretization of the laplacian operator (Description of flux() method) For the rhoSimpleFoam part, I would appreciate the help! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update of face fluxes in simpleFoam | trailer | OpenFOAM Programming & Development | 0 | May 31, 2021 18:24 |
rhoSimpleFoam with specified mass flow rate at outlet | ishan_ae | OpenFOAM Running, Solving & CFD | 3 | September 1, 2020 01:11 |
simpleFoam and rhoSimpleFoam convergence problem | maem93 | OpenFOAM Running, Solving & CFD | 0 | November 6, 2017 06:42 |
Switching from simpleFoam to rhoSimpleFoam | sebastian | OpenFOAM | 11 | January 7, 2015 04:32 |
Dimesion error after switching from simpleFoam to rhoSimpleFoam | sebastian | OpenFOAM Bugs | 2 | June 17, 2010 08:03 |