CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: ngj
Forum: OpenFOAM Programming & Development November 2, 2010, 11:49
Replies: 5
Views: 2,415
Posted By ngj
Yes, you are right.

Yes, you are right.
Forum: OpenFOAM Programming & Development November 2, 2010, 07:47
Replies: 5
Views: 2,415
Posted By ngj
Hi Martin This is because mesh.Sf() returns...

Hi Martin

This is because mesh.Sf() returns the internal faces, hence mesh.Sf().size() = mesh.nInternalFaces(). If you are working on all the faces, the additional faces on the boundaries needs to...
Forum: OpenFOAM Programming & Development November 2, 2010, 06:09
Replies: 5
Views: 2,415
Posted By ngj
The functionality is called Sf() and not...

The functionality is called Sf() and not faceNormals().

So do:

vector N = mesh.Sf()[faceI];

The length of N, i.e. Foam::mag(N) is the area of the face.

Best regards,
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 13:01.