Method for automatically generating a simulation program for a physical phenomenon governed by a partial differential equation, with simplified input procedure and debug procedure
First Claim
Patent Images
1. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
- (a) selecting, in response to a set of search keys input by an operator, a desired numerical calculation algorithm scheme from a plurality of numerical calculation algorithm schemes for numerical simulation of physical phenomena governed by partial differential equations, the set of search keys describing attributes of the desired numerical calculation algorithm scheme and being selected by the operator from a plurality of search keys describing attributes of the plurality of numerical calculation algorithm schemes;
(b) selecting a program portion describing the selected numerical calculation algorithm scheme from a plurality of stored program portions describing respective ones of said plurality of numerical calculation algorithm schemes;
(c) inputting a program portion describing at least a region of calculation and a boundary condition, the region of calculation and the boundary condition being designated by the operator; and
(d) generating, from a problem describing program formed by said selected program portion and said input program portion, a simulation program for obtaining, in accordance with said selected numerical calculation algorithm scheme, a solution of the partial differential equation which meets the boundary condition in said region of calculation.
1 Assignment
0 Petitions
Accused Products
Abstract
The entry of a problem describing program is assisted by a database or a display screen. An error in numerical calculation of the input problem describing program is automatically checked. A simulation program which interrupts the execution of a process requsted by a statement in the problem describing program which a user designates as a break point when the simulation program executes the process is automatically generated. At the time of interruption, the execution status of the simulation is diagnosed upon the user'"'"'s request.
-
Citations
31 Claims
-
1. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) selecting, in response to a set of search keys input by an operator, a desired numerical calculation algorithm scheme from a plurality of numerical calculation algorithm schemes for numerical simulation of physical phenomena governed by partial differential equations, the set of search keys describing attributes of the desired numerical calculation algorithm scheme and being selected by the operator from a plurality of search keys describing attributes of the plurality of numerical calculation algorithm schemes; (b) selecting a program portion describing the selected numerical calculation algorithm scheme from a plurality of stored program portions describing respective ones of said plurality of numerical calculation algorithm schemes; (c) inputting a program portion describing at least a region of calculation and a boundary condition, the region of calculation and the boundary condition being designated by the operator; and (d) generating, from a problem describing program formed by said selected program portion and said input program portion, a simulation program for obtaining, in accordance with said selected numerical calculation algorithm scheme, a solution of the partial differential equation which meets the boundary condition in said region of calculation. - View Dependent Claims (2, 3, 10, 11, 12)
-
-
4. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) graphically displaying information described by a string of program statements which forms part of a problem describing program and describes a partial differential equation to be solved, a region of calculation, and a boundary condition, the information being graphically displayed in response to input by an operator of said string of program statements, the step (a) including the sub-steps of; (a1) displaying a shape of the region of calculation in response to program statements describing the region of calculation in the input string of program statements, and (a2) displaying a mathematical formula relating to a portion of said region of calculation at a position corresponding to a display position of said portion of the region of calculation in response to a program statement describing said mathematical formula in the input string of program statements; and (b) in response to input by the operator of another string of program statements necessary to complete said problem describing program, generating a simulation program from said problem describing program for obtaining a solution of said partial differential equation which meets said boundary condition in said region of calculation. - View Dependent Claims (5, 6)
-
-
7. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) graphically displaying information described by a string of program statements which forms part of a problem describing program and describes a partial differential equation to be solved, a region of calculation, and a boundary condition, the information being graphically displayed in response to input by an operator of said string of program statements, the step (a) including the sub-steps of; (a1) displaying a shape of the region of calculation in response to program statements in the input string of program statements which describe the region of calculation, and (a2) detecting a selection by the operator of a position on a display screen at which a portion of said region of calculation is displayed as a program input of said portion of region of calculation, and (b) in response to input by the operator of another string of program statements necessary to complete said problem describing program, generating from said problem describing program a simulation program for obtaining a solution of said partial differential equation which meets said boundary condition in said region of calculation. - View Dependent Claims (8)
-
-
9. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) in response to a problem describing program describing at least a region of calculation, a boundary condition, a partial differential equation to be solved, and a numerical calculation algorithm scheme, selecting one criterion for one numerical calculation algorithm scheme described by the problem describing program from a plurality of criteria stored in a database which are to be met when different numerical calculation algorithm schemes are used; (b) determining whether said problem describing program meets said one criterion; (c) requesting an operator to modify the problem describing program when said one criterion is not met; and (d) after modification of the problem describing program by the operator, generating from the modified problem describing program a simulation program for obtaining, in accordance with said one numerical calculation algorithm scheme, a solution of said partial differential equation in said region of calculation which meets said boundary condition. - View Dependent Claims (13, 14)
-
-
15. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) based on a problem describing program describing a region of calculation, a boundary condition, and a partial differential equation to be solved, generating a first program portion for solving the partial differential equation as a first portion of a simulation program; and (b) generating, as a second portion of said simulation program, a second program portion which temporarily interrupts execution of said simulation program when processing requested by at least one program statement selected as a break point and included in said problem describing program is executed by said first program portion during execution of said simulation program, and which starts debug processing for diagnosing an execution result of the simulation program when the temporary interruption occurs. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A method for debugging a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) generating a simulation program for solving said partial differential equation based on a problem describing program describing a region of calculation, a boundary condition, and the partial differential equation to be solved; (b) executing said simulation program; (c) in response to execution of a selected program statement included in said problem describing program, starting a debug processing which interrupts execution of said simulation program and which diagnoses an execution status of said simulation program when the interruption occurs; (d) displaying a plurality of processing executable as a debug processing in response to the start of said debug processing; (e) executing at least one of the displayed processing, the at least one displayed processing being selected by an operator; and (f) resuming execution of said simulation program after execution of said at least one displayed processing. - View Dependent Claims (25, 26, 27, 28)
-
-
29. A method for generating a program, by a computer, for simulating a physical phenomenon governed by a partial differential equation, comprising the steps of:
-
(a) in response to a problem describing program describing a region of calculation, a boundary condition, a first partial differential equation to be solved, and a name of an algorithm scheme to be used in solving said first partial differential equation, converting said first partial differential equation to a second partial differential equation suitable for serial solution in accordance with the algorithm scheme; (b) adding to said problem describing program at least one declaration statement necessary for solving said second partial differential equation; and (c) generating a simulation program for solving said second partial differential equation based on the problem describing program as modified in said steps (a) and (b). - View Dependent Claims (30, 31)
-
Specification