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

point in processor domain?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2012, 11:19
Default point in processor domain?
  #1
New Member
 
Join Date: Dec 2012
Posts: 3
Rep Power: 4
avel44 is on a distinguished road
Hello,

I just started developing in OpenFOAM and I have a question:

Which variable tells me the coordinates of the sub domain of each processor (in mpi)?
I want to identify on which processor a point (defined by x,y and z) is situated.

Thank you very much in advance !
avel44 is offline   Reply With Quote

Old   December 13, 2012, 09:21
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
What is exactly the reason that you want this? You can easily visualize how this is distributed in paraview by making the .foam files in the processor directories and load those.
Bernhard is offline   Reply With Quote

Old   December 13, 2012, 09:31
Default
  #3
New Member
 
Join Date: Dec 2012
Posts: 3
Rep Power: 4
avel44 is on a distinguished road
I would like to start automatically a new function on a processor in my mpi code under the condition that a certain point is located on this processor.
I have the coordinates of the point.

I suppose that it should be very easy, to compare with a variable that tells
me the location of each sub domain (of each processor), but still I don't know
how to see that inside the code.

Thank you in advance
avel44 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
problem in toposet Ahmed Khattab OpenFOAM Pre-Processing 10 March 24, 2013 16:18
error EOF in blockMesh Ahmed Khattab OpenFOAM Meshing & Mesh Conversion 7 May 17, 2012 00:37
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59
Gmsh and samplesurface touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 08:49.