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: PEM_GUY
Forum: OpenFOAM Running, Solving & CFD December 4, 2013, 14:01
Replies: 17
Views: 28,580
Posted By PEM_GUY
Faces... faces... everywhere...

The routine above works for addressable patches, i.e. ones that have been created in blockmesh or are created upon splitting a mesh for multi-region. This code would be included in the solver, not in...
Forum: OpenFOAM Running, Solving & CFD September 28, 2013, 15:34
Replies: 17
Views: 28,580
Posted By PEM_GUY
label patchID =...

label patchID = mesh.boundaryMesh().findPatchID("NAME OF PATCH");

Info << "patchID = " << patchID << endl;

const polyPatch& cPatch = mesh.boundaryMesh()[patchID];

...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 00:35.