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

point in processor domain?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2012, 10:19
Default point in processor domain?
  #1
New Member
 
Join Date: Dec 2012
Posts: 3
Rep Power: 13
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, 08:21
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
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, 08:31
Default
  #3
New Member
 
Join Date: Dec 2012
Posts: 3
Rep Power: 13
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


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
problem in toposet Ahmed Khattab OpenFOAM Pre-Processing 27 March 3, 2023 21:12
[blockMesh] 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 04:59
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 14:43.