By specifying Sun Grid Engine on the command line, STAR-CCM+ will automatically distribute a worker process to each Sun Grid Engine node allocated to the job.
Submit the job to the batch management system, specifying the number of resource nodes to use (\ indicates a line continuation):
% qsub -pe <SGE Parallel Environment> <number of SGE nodes> <Sun Grid Engine Script>
where the minimal Sun Grid Engine script would be
#!/bin/sh
/install_path/star4/bin/starccm+ -batchsystem sge -batch <macro file>
To see how the job is progressing:
% qstat