CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

what pattern does decomposePar follow to divide surface points among processors

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2024, 02:02
Post what pattern does decomposePar follow to divide surface points among processors
  #1
New Member
 
Mohsin
Join Date: Jul 2023
Posts: 16
Rep Power: 2
Mohsin1 is on a distinguished road
When decomposePar is run, it divides the original mesh into multiple folders named processorN (N=0,1,2,3..)


In original mesh, which is at constant/polyMesh
We can find out the points/nodes ids related to a particular bounary patch by using boundary file and faces.gz file.
But when its divided in many folders, the the node ids in paces.gz start from zero again and numbering is no longer same as the original faces.gz.

So, its not possible to use files processorN/constant/polyMesh/boundary and processorN/constant/polyMesh/faces.gz to find out the absolute node ids related to a particular boundary patch.

So, does any one know of a pattern in which decompose points among multiple processors?

Or is there any other easy way to find out absolute node ids in each processor?
Mohsin1 is offline   Reply With Quote

Old   March 16, 2024, 07:43
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,695
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
The various cell/face/point ProcAddressing files give the correspondence between the serial view of the mesh and the rank-local mesh. So this could serve as one view of the global numbering. Another view could just be to use the rank-local offsetted numbering such as used in globalIndex and polyMesh globalMeshData. It is frequently this view of global numbering that is the more useful version. In fact, you will find a whole series of gather/scatter routines attached to globalIndex for thus reason.
olesen is offline   Reply With Quote

Reply

Tags
decomposepar, polymesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in gmshToFoam on ESI v2106 siefer92 OpenFOAM Programming & Development 4 July 17, 2021 05:11
[snappyHexMesh] snappyHexMesh generates not planar surface krzychu111 OpenFOAM Meshing & Mesh Conversion 2 April 23, 2020 16:38
OpenFOAM error Vinay Kumar V Main CFD Forum 0 February 20, 2020 09:17
[ICEM] Surface mesh does not follow node spacing findtheinvisiblecow ANSYS Meshing & Geometry 7 August 26, 2014 11:17
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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