|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 19 ![]() |
Dear All,
My c++ is rusty so here the question: in pEqn.H there is a statement: p== p_rgh + rho*gh; To my knowledge this gives true or false, but it is not assigned to anything. It is an empty statement unless == is redefined somewhere (where?). But why is a few lines down p_rgh = p - rho*gh; and not p_rgh == p-rho*gh; ![]() OF170 and OF171 |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 23 ![]() |
Maybe this thread is helpfull
http://www.cfd-online.com/Forums/ope...-operator.html |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 19 ![]() |
Sorry I did not find this thread, but thanks.
Best Wouter |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|