FEAP User Forum
FEAP => Parallel FEAP => Topic started by: shenrilin on August 07, 2017, 02:23:55 PM
-
Dear Professor,
Thanks very much. I installed the parallel feap on both my laptop and cluster.
I have one more question. When using 2 or more processors in the parallel feap, how can I get the node number/connectivities associated with the specific element?
In serial feap, I can get node number for ix(1:nen, 1), but in parallel version, the information of "ix" array changes and I don't exactly know how to deal with this issue.
Thanks again for your help.
Best,
-
Can you be more specific about what you want to do? Also be precise since there is a global numbering system and a per processor numbering system.
-
Dear Professor,
Thank you for your concern.
take a simple example.
In the initial input file, there are four quadrilateral elements and their connectivities are defined as:
Elements
1, 0, 1, 1, 5, 9, 8
2, 0, 1, 5, 2, 6, 9
3, 0, 1, 9, 6, 3, 7
4, 0, 1, 8, 9, 7, 4
In a serial feap or parallel feap with one processor, one can access the connectivities of element 3 from "ix(1:nen,1)", that is 9,6,3,7
When using two or more processors, I still want to get the original connectivities information of element 3, that is, 9,6,3,7 no matter how many processors were used.
Because I want to define static field variables on the mesh. I have more than one static field variables needed to be defined but not familiar with umesh.f. So I'm ready to use a slow and maybe stupid method to read data from the file in the user element.
Best regards.
-
Explain more. Given a global element number you want the global connectivities? or do you want to know which processors have that global element and what the associated local connectivities are?
-
Dear Professor,
From "ix ", we can get the local connectivity for each partition.
I read data from the outer file in which all nodes are assigned values. Then, I want to find the original node number in the user element so that I can assign field value to the specific node.
I'm not sure if global node number is the node number in the initial input file, IUEX.
Best regards.
-
The global node numbers for each local node are store in the array GN == mr(np(244)).
global_node_for_local_node = mr( np(244) + local_node - 1 )
-
Thanks very much,
that's what I'm looking for.
Best regards,