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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: chrisb2244
Forum: OpenFOAM Programming & Development August 24, 2014, 22:24
Replies: 8
Views: 5,025
Posted By chrisb2244
For bonus points, ignore the long section I...

For bonus points, ignore the long section I pasted and instead use


mesh_.faceAreas()[faceI + mesh_.nInternalFaces()];
// or
mesh_.faceAreas()[faceI];
// as appropriate
Forum: OpenFOAM Programming & Development August 24, 2014, 22:20
Replies: 8
Views: 5,025
Posted By chrisb2244
Firstly, boundary faces have the highest values...

Firstly, boundary faces have the highest values for the faces. You can iterate through them using something like


labelList boundaryFaceList(mesh_.nFaces() - mesh_.nInternalFaces());...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 07:12.