|
[Sponsors] |
March 21, 2024, 14:52 |
p == p_rgh + rho*gh vs. p = p_rgh + rho*gh
|
#1 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
In interPhaseChangeFoam, in the pEqn.H, there is a script, p == p_rgh + rho*gh
What is the difference between p == p_rgh + rho*gh and p = p_rgh + rho*gh;? |
|
March 22, 2024, 10:55 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 745
Rep Power: 14 |
Marupio gives a really good explanation in: Difference between = and ==
(PS. you would have found this from a quick google on "difference between = and ==") |
|
March 22, 2024, 11:08 |
|
#3 | |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
Quote:
This is very helpful! |
||
Tags |
openfoam, peqn.h, pressure |
|
|