CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

points / localPoints

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By deepsterblue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2010, 09:50
Default points / localPoints
  #1
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
Is there some addressing connecting points in the mesh with the localPoints on a patch?

const pointField& points = mesh.points();
const polyBoundaryMesh& patches = mesh.boundaryMesh();
const vectorField& bPoints = patches[i].localPoints();

N
niklas is offline   Reply With Quote

Old   June 17, 2010, 11:13
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Yup. Look at the meshPoints() and meshPointMap() functions in PrimitivePatch.H
fumiya likes this.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   June 18, 2010, 02:06
Default
  #3
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
thanks, that was exactly what I was searching for

N
niklas is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sliding Interface issues philippose OpenFOAM Running, Solving & CFD 7 May 5, 2014 03:13
[Technical] 2D foam mesh and internal points virginie_e OpenFOAM Meshing & Mesh Conversion 3 February 28, 2014 00:05
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
CEL insertion of points into domain? Adrijana CFX 1 December 7, 2006 07:48
extreme points problem Lipo Wang Main CFD Forum 2 August 18, 2004 03:15


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