CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Urgent problem with openFoam dictionary (

batta31 October 9, 2012 12:37

Urgent problem with openFoam dictionary
Hi to everyone! I'd really want to know what this expression means:

fvsPatchField<scalar>& phip =
patch().lookupPatchField<surfaceScalarField, scalar>("phi");

Does it perhaps mean that it is created a new scalar field called phip, taking the value of the variable phi only on the patch on which this boundary condition is applied?


kev4573 October 9, 2012 13:21

Yes, that appears to be the meaning.

batta31 October 11, 2012 03:09

Thank you very much Kev! :D

All times are GMT -4. The time now is 21:31.