CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Mass flux update in simpleFoam and rhoSimpleFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 14, 2021, 20:17
Default Mass flux update in simpleFoam and rhoSimpleFoam
  #1
Member
 
Join Date: Mar 2021
Posts: 39
Rep Power: 5
trailer is on a distinguished road
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();
And in rhoSimpleFoam:


Code:
phi = phiHbyA + pEqn.flux();
Why does the sign change?
trailer is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:39.