CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Urgent problem with openFoam dictionary (https://www.cfd-online.com/Forums/openfoam/107917-urgent-problem-openfoam-dictionary.html)

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?

Thanks
Simone

kev4573 October 9, 2012 13:21

Yes, that appears to be the meaning. http://foam.sourceforge.net/docs/cpp...e90006616716d7

batta31 October 11, 2012 03:09

Thank you very much Kev! :D


All times are GMT -4. The time now is 09:26.