A computer-implemented method for performance computing on a public grid, comprising:
- (A) receiving an engineering simulation for a computer aided-design (CAD) model, wherein:
- (1) the engineering simulation comprises multiple computations;
- (2) each of the multiple computations comprises a computational process;
- (B) determining a computational mesh to solve the engineering simulation, wherein:
- (1) the computational mesh divides the CAD model up spatially into elements where conservation equations are formed;
- (2) vertices of the computational mesh comprise nodes where field variables are defined;
- (3) the computational mesh comprises one or more partitions;
- (4) each computational process is assigned one partition of the one or more partitions;
- (5) each computational process owns one or more of the nodes and/or one or more of the elements;
- (6) the conservation equations express a conservation of a quantity;
- and
- (7) each of the one or more nodes comprises a compute node;
- (C) installing a solver application on each computer that is used to perform computing via the computational processes in the public grid, wherein:
- (1) each solver application communicates with another solver application in the public grid;
- (2) each computer comprises a central processing unit (CPU);
- (3) each solver application spawns a computational thread to each of one or more cores of each CPU, wherein the computational threads perform the computing;
- and
- (4) the public grid has limited network capability as compared to that of a high-performance computing network;
- (5) the solver application provides increased scalability for increasing a number of computers in the public grid as compared to scalability on the public grid without installing the solver application;
- (D) assembling a matrix by each of the computational threads computing numerical operators that represent the conservation equations, wherein the numerical operators are stored as a coefficient matrix;
- (E) determining an ownership status of each node utilizing two passes, wherein:
- (1) during a first pass, marking each node that only references elements on a local partition of the node as being owned by a first computational process;
- and
- (2) during a second pass:
- (i) identifying two or more computational processes that share one of the nodes;
- (ii) comparing node counts of the two or more identified computational processes;
- and
- (iii) granting ownership of the shared node to one of the identified computational processes having a lowest node count;
- (F) solving the matrix by solving the conservation equations represented by the coefficient matrix, wherein the solving yields field vectors that update the field variables at the one or more nodes;
- and
- (G) rendering the engineering solution based on the updated field variables.