Background technology
Carrier rocket flight process will generally undergo some complex physical processes, such as hood is separated, boosting is separated,
Coupled longitudinal vibration of the separation processes such as stage separation, satellite and the rocket separation and liquid rocket etc..These processes are often associated with holding
The features such as continuous time is shorter, multidisciplinary coupling is stronger, is that link is paid close attention in current versions development, is influence carrier rocket can
By the key factor of property, it is therefore desirable to which the simulation reappearance for carrying out correlated process using the means of multi-specialized comprehensive analysis is ground with mechanism
Study carefully work, fully the reliability of lifting Project R&D.
The country has carried out a large amount of simulation works in space product development, forms many achievements in research, and construct
Some Simulation Application systems.These Positive simulation results or system do not take into full account the different fields such as fluid, structure, dynamics, control
The isomery feature of model, causes to be clearly present not in terms of model integrated ability, flow allocative abilities, associative simulation ability
Foot, it is impossible to directly apply to the coupling Simulation application of association area.At present, by using FLUENT, ABAQUS, ADAMS,
The secondary development of the business software such as MATLAB, LS-DYNA and the approach such as grind certainly, have developed some isomery models (by different business
Industry software part difference modeling language is built), such as fluid, control, dynamics and load disciplines software model, for delivering fire
Arrow ground or the Analysis on Mechanism of flight test.But, these isomery models are to carry out for particular professional from a certain angle
Simulation analysis work, and modeling tool has larger difference with mode, and form disunity, running configuration interface is various, is unfavorable for
Multi-specialized Integrated Analysis of Multi-Factors Involved.Simultaneously in the running of l-G simulation test, it is related to High-Performance Computing Cluster computer, graphical Work
The access and scheduling for the various types of hardware resource such as stand.At present, for different l-G simulation tests, it will usually select specific hardware adaptations
Environment, develops different interfaces and instrument, can so cause the waste of the resources such as manpower, funds.
In addition, each model is developed for particular problem, model running flow also solidifies therewith.It is new when facing
During emulation demand, the operational process of solidification can cause l-G simulation test model utilization rate low, can so bring repeated construction, exist multiple
The problems such as with property difference, the l-G simulation test for being unfavorable for all kinds of isomery models is integrated with configuring, it is impossible to realize that multi-specialized coupling interaction is imitated
Very.
The content of the invention
The technology of the present invention solves problem:Overcome the deficiencies in the prior art there is provided one kind towards multidisciplinary isomery model
Emulation test system, unified the interface of each isomery model, can according to emulation purpose set simulation flow, and can uniformly
Management and configuration l-G simulation test resource, realize multi-specialized coupling interaction emulation, and improve l-G simulation test operational efficiency.
The present invention technical solution be:A kind of emulation test system towards multidisciplinary isomery model, including isomery
Model modeling subsystem, isomery model encapsulation subsystem, l-G simulation test flow scheme design subsystem, l-G simulation test resource distribution subsystem
System and l-G simulation test control subsystem;
Isomery model modeling subsystem:The model of every field is received, according to multi-specialized coupling Simulation purpose, each is defined
The operational process of model, each model emulation calculate front and rear interface and interaction parameter with l-G simulation test control subsystem;Institute
Stating interface includes control interface and parameter interface;
Isomery model encapsulation subsystem:Configure the essential information and the required resource information of operation of each model;According to
The interaction parameter of isomery model modeling subsystem definition generates the model parameter file of each model;By the basic letter of each model
Breath and model parameter file, which are exported, gives l-G simulation test flow scheme design subsystem;By the resource information output needed for each model running
Give l-G simulation test resource distribution subsystem;
L-G simulation test flow scheme design subsystem:According to multi-specialized associative simulation purpose, l-G simulation test flow is configured, will be configured
Good l-G simulation test flow is exported to l-G simulation test resource distribution subsystem and l-G simulation test control subsystem;According to each model
Essential information and model parameter file, the parameter matching relationship of each interaction models in l-G simulation test flow is set, and exported
Give l-G simulation test control subsystem;
L-G simulation test resource distribution subsystem:Resource information and l-G simulation test system according to required for each model running
The currently available resource information of system, is each model configuration calculate node and operation catalogue in l-G simulation test flow;The money
Source information refers to calculate node information;
L-G simulation test control subsystem:It is every kind of emulation examination according to the interaction parameter of isomery model modeling subsystem definition
Flow definition different tests operating mode is tested, under every kind of operating mode, using the interface of isomery model modeling subsystem definition, according to emulation
The parameter matching relationship of experiment process, the model parameter file of each model and each interaction models, sends out to corresponding model
Control instruction, input parameter are sent, and receives response signal and output parameter, each connection is obtained according to the output parameter of each model
Close the sample data that l-G simulation test is obtained.
Also include isomery model interactive subsystem, the isomery model interactive subsystem is used for the operation for configuring each model
Mode is single step run, and is defined under each calculation procedure of each model with the interface of l-G simulation test control subsystem and interacting ginseng
Number;
The interaction parameter that isomery model encapsulation subsystem is defined according to isomery model interactive subsystem generates each model
Procedure parameter file;
When multi-specialized associative simulation is coupling Simulation, l-G simulation test control subsystem is according to l-G simulation test flow, each
The procedure parameter file of model, by with each model single step run of Interface Controller under each calculation procedure of each model, it is real
The Collaborative Control of each existing isomery model running process, and according to the model parameter file and each interaction models of each model
Parameter matching relationship, complete associative simulation, obtain sample data.
The model parameter file and procedure parameter file include parametric variable name, data type, attribute, default value,
Parameter units, meaning of parameters, parameter type, dimension type, the attribute refer to input or exported that parameter type refers to emulation meter
Before calculation, during simulation calculation, after simulation calculation.
The l-G simulation test resource distribution subsystem is that the method for each model configuration calculate node is:
(4.1) the currently available calculate node information of emulation test system is obtained, by currently available calculate node and section
Point combination is sorted from small to large according to check figure sum, obtains calculate node sequence;
(4.2) according to the calculating check figure x that currently model to be run needs, check figure sum is extracted from calculate node sequence
Partial sequence not less than x alternately sequence;
(4.3) the minimum calculate node of check figure sum and combination of nodes are extracted from alternative sequence, it is total if there is check figure
The minimum calculate node of number, then directly distribute to the minimum calculate node of check figure sum by the model;Otherwise, calculate node is selected
The minimum combination of nodes of number, the minimum combination of nodes of the calculate node number is distributed to by the model.
Compared with prior art, the present invention has the advantages that:
(1) present invention by isomery model modeling subsystem and isomery model interactive subsystem set up each isomery model with
The interface of l-G simulation test control subsystem, realizes the unification of each isomery model interface, can set imitative according to emulation purpose
True flow, realizes multi-specialized coupling interaction emulation.Simulation flow is set according to emulation purpose simultaneously, each isomery can be realized
The l-G simulation test of model is integrated with configuring, it is to avoid repeated construction, improves Model Reuse.
(2) it is single step run that the present invention configures each model by isomery model interactive subsystem, it is ensured that coupling Simulation
When model between stringent synchronization, realize the synthetic operation of all kinds of isomery models.
(3) l-G simulation test control subsystem according to meaning of parameters in model parameter file and procedure parameter file, attribute and
The information such as parameter type, realize the parameter matching of different variable names between interaction models, to realize that associative simulation provides primary condition.
(4) resource information of the l-G simulation test resource distribution subsystem of the present invention according to required for each model running, emulation
The currently available resource information of pilot system, is that each model configures calculate node according to l-G simulation test flow, realizes calculating
The unified management of resource and flexible configuration, lift l-G simulation test operational efficiency.
Embodiment
The present invention provides a kind of emulation test system towards multidisciplinary isomery model, as shown in figure 1, including isomery model
Model subsystem, isomery model interactive subsystem, isomery model encapsulation subsystem, l-G simulation test flow scheme design subsystem, emulation
Test resource distribution subsystem and l-G simulation test control subsystem.Multi-disciplinary model includes fluid calculation model, Structure Calculation
Model, control computation model, LOAD FOR model etc..
(1), isomery model modeling subsystem
Receive the model of every subjects, according to multi-specialized coupling Simulation purpose, define each model operational process, each
Model emulation calculate before and after with the interface (including control interface and parameter interface) of l-G simulation test control subsystem and interacting ginseng
Number.
(2), isomery model interactive subsystem
The method of operation that isomery model interactive subsystem is used to configure each model is single step run, and defines each model
With the interface and interaction parameter of l-G simulation test control subsystem under each calculation procedure.Isomery model encapsulation subsystem is according to isomery
The interaction parameter that model interactive subsystem is defined generates the procedure parameter file of each model.
When multi-specialized associative simulation is coupling Simulation, l-G simulation test control subsystem is according to l-G simulation test flow, each
The procedure parameter file of model, by with each model single step run of Interface Controller under each calculation procedure of each model, it is real
The Collaborative Control of each existing isomery model running process, and according to the model parameter file and each interaction models of each model
Parameter matching relationship, complete associative simulation, obtain sample data.
Isomery model interactive subsystem is broadly divided into model initialization, Acceptance Model input parameter, model single step calculating, hair
Send the steps such as model output parameters, model pause.
Wherein, the specific operation process of model initialization is as follows:Receive initiation parameter, the initialization for carrying out model is calculated
With configuration, initial computation model is generated, transmission pattern initialization completes order.
The specific operation process that model single step is calculated is as follows:Receive the model running life in l-G simulation test control subsystem
Order, Acceptance Model input parameter, model is actuated for next step and calculates solution and configuration, transmission pattern output parameter, Zhi Houfa
Send model single step to calculate and terminate order.
(3), isomery model encapsulation subsystem
Configure the essential information and the required resource information of operation of each model;It is fixed according to isomery model modeling subsystem
The interaction parameter of justice generates the model parameter file of each model, and the interaction parameter defined according to isomery model interactive subsystem is given birth to
Into the procedure parameter file of each model;By the essential information of each model and model parameter file, the output of procedure parameter file
Give l-G simulation test flow scheme design subsystem;Resource information needed for each model running is exported and gives l-G simulation test resource distribution
System.
Model parameter file and procedure parameter file include parametric variable name, data type, attribute, default value, parameter
Unit, meaning of parameters, parameter type, dimension type, the attribute refer to input or exported that parameter type refers to simulation calculation
Before, during simulation calculation, after simulation calculation.
Such as:Parametric variable name:flow_time;Data type:DOUBLE;Attribute:output;Default value:0;Parameter list
Position:m/s;Meaning of parameters:Speed;Parameter type:Before simulation calculation;Dimension type:It is three-dimensional.
(4), l-G simulation test flow scheme design subsystem
According to multi-specialized associative simulation purpose, it is l-G simulation test control subsystem configuration l-G simulation test flow, will configures
L-G simulation test flow export to l-G simulation test resource distribution subsystem and l-G simulation test control subsystem;According to each model
Essential information and model parameter file, set l-G simulation test flow in each interaction models parameter matching relationship, and export to
L-G simulation test control subsystem.
L-G simulation test flow scheme design subsystem configuration l-G simulation test flow specifically includes progress simulation flow editor and isomery
Model interaction, simulation run are set, wherein:
The specific operation process of simulation flow editor and isomery model interaction is as follows:It is clearly each according to the emulation content of setting
Isomery model, and the operation order and parameter transitive relation of each isomery model are determined, and according to the operation order of isomery model
Relation is associated.
The specific operation process that simulation run is set is as follows:The sequential relationship run according to l-G simulation test, refinement sets every
Individual isomery model, specifies beginning and ending time, simulation step length, data syn-chronization point etc..According to multi-specialized associative simulation purpose, l-G simulation test
Flow includes serial flow, parallel flow and synchronous operation configuration.
(5), l-G simulation test resource distribution subsystem
Resource information and l-G simulation test system of the l-G simulation test resource distribution subsystem according to required for each model running
The currently available resource information of system, is each model configuration calculate node and operation catalogue in l-G simulation test flow.
L-G simulation test resource distribution subsystem is that the method for each model configuration calculate node is:
(4.1) the currently available calculate node information of emulation test system is obtained, by currently available calculate node and section
Point combination is sorted from small to large according to check figure sum, obtains calculate node sequence;
(4.2) according to the calculating check figure x that currently model to be run needs, check figure sum is extracted from calculate node sequence
Partial sequence not less than x alternately sequence;
(4.3) the minimum calculate node of check figure sum and combination of nodes are extracted from alternative sequence, it is total if there is check figure
The minimum calculate node of number, then directly distribute to the minimum calculate node of check figure sum by the model;Otherwise, calculate node is selected
The minimum combination of nodes of number, the minimum combination of nodes of the calculate node number is distributed to by the model.
The above method is illustrated below:
The experiment of this coupling Simulation has two models, respectively model A and Model B;Required for model A and Model B
Resource information is 32 cores.
As l-G simulation test control subsystem Boot Model A, the inspection of l-G simulation test resource distribution subsystem confirms that system is worked as
Preceding available calculate node resource, it is assumed that emulation test system currently has three class calculate node resources and can use, respectively one
The node of the node of 64 cores, a 32 core nodes and two 16 cores, then calculate node sequence be:The node of one 64 core, one
32 core nodes and two 16 core nodes that 32 core nodes, the node of two 16 cores are constituted.That extracts according to the method described above is alternative
Sequence is:The 32 core nodes that the node of one 64 core, 32 core node, a node for two 16 cores are constituted.Model A is distributed to
One 32 core node.
As l-G simulation test control subsystem Boot Model B, if model A end of run, l-G simulation test resource distribution
Subsystem reexamines the currently available calculate node resource of confirmation system, it is assumed that emulation test system currently has the calculating of three classes
Node resource can use, the node of the node of respectively one 64 cores, two 16 core nodes and four 8 cores, then calculate node sequence
For:The section of 32 core nodes that the node of one 64 core, the node of two 16 cores are enough constituted, the node of 16 core and two 8 cores
Put the 32 core nodes constituted, the 32 core nodes that the node of four 8 cores is constituted, two 16 core nodes, four 8 core nodes.According to upper
State method extraction alternative sequence be:32 core nodes that the node of one 64 core, the node of two 16 cores are constituted, four 8 cores
The 32 core nodes that node is constituted.Model B is distributed on the 32 core combination of nodes that two 16 core nodes are constituted.
(6), l-G simulation test control subsystem
L-G simulation test control subsystem plays the model parameter file consolidation of each isomery model according to l-G simulation test purpose
Come, generate l-G simulation test parameter, carry out l-G simulation test variable setting, specific operation process is as follows:According to l-G simulation test purpose, from
In l-G simulation test parameter, optional test duty parameter variable, the valued space of arrange parameter variable chooses generation variate-value ordered series of numbers
Method, generate the input sample of l-G simulation test parameter, complete the configuration of l-G simulation test variable.
It is the different experiment of every kind of l-G simulation test flow definition according to the interaction parameter of isomery model modeling subsystem definition
Operating mode, the specific operation process that multi-state is set is as follows:According to l-G simulation test working condition, configured l-G simulation test is utilized to become
Amount, the method for selecting one of the methods such as total divisor method, Orthogonal Method or uniform design generates the various operating mode groups of l-G simulation test
Close, the multi-state for completing experiment is set.
Under every kind of operating mode, defined using the interface and isomery model interactive subsystem of isomery model modeling subsystem definition
Interface, according to l-G simulation test flow, the procedure parameter file of each model, the model parameter file of each model and each
The parameter matching relationship of interaction models, sends control instruction, input parameter to corresponding model, realizes each isomery model running
The Collaborative Control of process, and response signal and output parameter are received, it is imitative to obtain joint every time according to the output parameter of each model
The sample data that true experiment is obtained.
As shown in Fig. 2 being isomery model single step run flow chart of the present invention, by taking model M as an example, first have at the beginning of being emulated
Beginningization, completes interface and interaction parameter is set, and then the model carries out single step iteration under the control of l-G simulation test control subsystem
Calculate, if calculating the end of the step, carry out emulation post processing, otherwise judge whether to call other models, if it is, by the mould
Type output parameter, which is sent to, wants calling model N, is called model N calculating, calling model N output parameter is exported to model
M, continues to repeat the above steps.Until model M end of run.
In fact, l-G simulation test control subsystem can be also realized based on event driven emulation, in pre-defined triggering
When event arrives, that is, current operation is interrupted, starts corresponding model.Fig. 3 is using computation model as starting point, it is contemplated that event-driven
L-G simulation test operational flow diagram.It is that computation model A is calculated first, obtains result of calculation, then perform below step:
If this time step does not have downstream computation model, judge whether current event emulation terminates, if it is not, entering
Enter the simulation calculation of next time step, if terminated, determine whether next simulated events, do not have, then emulation terminates,
If next simulated events, then next simulated events are excited, perform new simulation time step;
If this time step has downstream computation model, downstream computation model starts to calculate, and obtains result of calculation.It is constantly heavy
Previous step is performed again, until completing whole associative simulation.
The content not being described in detail in description of the invention belongs to the known technology of professional and technical personnel in the field.