CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   using surface samping (https://www.cfd-online.com/Forums/openfoam-post-processing/223108-using-surface-samping.html)

shaiashe December 24, 2019 06:02

using surface samping
 
Hi,

When sampling the surface of a boundary (type patch) in my mesh, what do the rows represent? points? edges? or else?
it seems that I am getting a different number of rows when I am looping over patch faces manually,

forAll(mesh.boundary(), patchI)
{
forAll(mesh.boundary()[patchI], facei)
{
outputFilePtr() << mesh.boundary()[patchI].Cf()[facei] << endl;
}
}

thank you!
Shai

shaiashe December 24, 2019 08:32

found the answer - its a list of mesh points coordinates on the patch


All times are GMT -4. The time now is 15:25.