|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 10 ![]() |
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;? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19 ![]() |
Marupio gives a really good explanation in: Difference between = and ==
(PS. you would have found this from a quick google on "difference between = and ==") |
|
|
|
|
|
|
|
|
#3 | |
|
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 10 ![]() |
Quote:
This is very helpful! |
||
|
|
|
||
![]() |
| Tags |
| openfoam, peqn.h, pressure |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|