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

points / localPoints

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By deepsterblue

Reply
 
LinkBack Thread Tools 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: 20
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: 386
Rep Power: 15
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: 20
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

Thread Tools
Display Modes

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 On
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
2D foam mesh and internal points virginie_e OpenFOAM Meshing Format & General Technical 3 February 28, 2014 01:05
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
CEL insertion of points into domain? Adrijana CFX 1 December 7, 2006 08:48
extreme points problem Lipo Wang Main CFD Forum 2 August 18, 2004 03:15


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