CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Parallelization (https://www.cfd-online.com/Forums/star-ccm/139455-parallelization.html)

crevoise July 24, 2014 09:07

Parallelization
 
Hello,

I wish to run a computation in parallel.
However, I wish to defined by myself how to partionate my geometry.
As for example,
region 1 should be the partition 0, solved by CPU1
region 2 should be the partition 1, solved by CPU2
region 3 should be the partition 2, solved by CPU3

Does anyone if this is possible?

When I go throught the GUI to Solvers>partitioning, I can choose between partioning by regions or by continua. However, doing so does not really help.
(it seems that the automatic partioning tried to keep the same number of cells by partions, while my regions have different number of cells)

Thanks a lot for any help

me3840 July 24, 2014 21:48

This is not possible. You can partition by region which will try and get what you want, but that's it. If each region is a separate continuum you can try that.

I don't really see a reason why this should be necessary though.

crevoise July 25, 2014 05:43

Thanks a lot for your answer.

I did try the partioning by region or by continuum. However, I think StarCCM+ mostly focuses on getting the same number of cells by partition, as it anyway devide my regions to fit that rule.

I am currently coupling a StarCCM+ computation to an external code. Only one region of the whole geometry is solved by the external code. If this region is divided, I am getting trouble in the communication between the 2 codes (made with field functions) and the computation crashes.

I was doing the same in StarCD, where I could specify a set of cell and assigned it by CPU. I cannot yet do the same using the regions or cell set in StarCCM+.

I am wondering if I can access to the partitioning strategy via java macro. I will investigate that way too.


All times are GMT -4. The time now is 02:51.