|
[Sponsors] |
December 11, 2012, 10:19 |
point in processor domain?
|
#1 |
New Member
Join Date: Dec 2012
Posts: 3
Rep Power: 13 |
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 ! |
|
December 13, 2012, 08:21 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
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.
|
|
December 13, 2012, 08:31 |
|
#3 |
New Member
Join Date: Dec 2012
Posts: 3
Rep Power: 13 |
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 |
|
|
|
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 |