About parallel couple cfx with other code using user fortran
dear all
Now I am trying to couple CFX with other code. I write a CEL function by user defined CEL for the momentum source term ,and Junction Box routines are used to interactive data with my external code by exploring the data areas(CFX MMS), such as output the velocity field and the corresponding coordinates, input the momentum source corresponding to the mesh vertices. The momentum sources are used to the CEL function according to the relation of the solve location and the no-loop all mesh vertices. The mentioned procedures above have achived with a serial run in CFX. Now I want to do a parallel run. My question is, when the all mesh are divided into a number of 'partitions', the master and slave are assigned a portion of the entire fileld mesh, respectively. The mapping relation of each partioner and the entire unqiue mesh could be found by MMS, but the entire mesh information could not be acquired. How can I get the entire unqiue mesh information directly, It's supposed to be in order, because the order of mapping to partitions is acoording to the entire field mesh order Are there any alternative better advices for these? |
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
the index of mesh vertices assigned to each partition located in the entire mesh vertices could be get by exploring the data areas, e.g the data in the /Flow/MESH directory of each partitioner. The mapping relation of each partitioner including index order located in the fully mesh, the index of the overlap part located in respective partition also could be get.I can't acquire the above information by using the utility routines in CFX help, only by exploring the data areas directly. Do you have any good method for this? Quote:
for example the fully unique mesh order (I can't get the coordinate, volume information etc. corresponding to order) order 1 2 3 4 5 6 7 8 9 10 .... coor ... volume ... the partitioner assigned mesh order(these information i can get through MMS) order: p1 1 4 6 10 p2 2 5 6 7 p3 3 7 8 9 coor: p1 p2 p3 volume: p1 p2 p3 overlap: p1 p2 p3 |
All times are GMT -4. The time now is 04:36. |