|
[Sponsors] |
Difference of the max function result with full field, internalField and boundaryFiel |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 ![]() |
I don't understand something about the max function in OpenFoam :
With the following code lines : Info<< "Full Field Max =" << max(pa).value()<<endl; Info<< "boundary Field Max =" << max(pa.boundaryField()) <<endl; Info<< "internal Field Max =" << max(pa.internalField()).value() <<endl; I have the output : Full Field Max = 1.45125e+06 boundary Field Max = 2.13539e-08 internal Field Max = 176.63 Can you explain why "internal Field max" and "Full Field max" are different? PS : It is a parallel computing. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 ![]() |
Ok... I have the explanation.
I think there is a problem with max(pa).value in parallel case. If i use gMax(pa), the result is coherent with the internalFiel result. ![]() |
|
![]() |
![]() |
![]() |
Tags |
boundaryfield, intenalfield, max |
Thread Tools | Search this Thread |
Display Modes | |
|
|