The device and method of pipeline stress analysis command stream is generated based on PDMS
Technical field
The present invention relates to stress analysis field, particularly relate to a kind of device and method generating pipeline stress analysis command stream based on PDMS.
Background technology
At present, the stress analysis method of main flow carries out FEM mechanics analysis by the form of numerical simulation, and adopt the computer system possessing complete stress criterion system database to process, thus calculate stress approximate solution to carry out computation of structure stress.Below, for pipe stress analysis, the general process of stress analysis is described:
First, information relevant to pipe stress on pipeline construction drawing, according to pipeline analysis special in the stress analysis system used rule, is compiled into the stress analysis order of a rule by stress analysis personnel one by one, forms command stream.Then, the stress analysis system that stress analysis librarian use is integrated with finite element method runs the command stream that above-mentioned establishment obtains, and analysis result is made analysis report and export.Finally, then judge whether the security that pipework designs meets engineering stress standard by stress analysis personnel according to the content recorded in analysis report, if meet, then represent that the design of this pipeline is accurately reasonable, the pipe design of this part completes; If do not meet, stress analysis personnel need by stress analysis result feedback to pipework designer, and after piping arrangement designer amendment, regroup the command stream of pipe stress analysis, and run this command stream, again judge the security that amended pipework designs according to the new stress analysis report exported, if meet, then the pipe design of this part completes, if do not meet, remodify, until this section of tubing engineering design meets engineering stress standard.
As fully visible, there are the following problems for the stress analysis method of current main flow:
1, worked out the command stream of stress analysis one by one according to construction drawing data by stress analysis personnel, workload is large, and the course of work is loaded down with trivial details, easily makes mistakes;
2, the call format due to stress analysis system counter stress analysis order is very strict, once there be a commard editor mistake, namely stress analysis system can carry out the prompting that reports an error, now, stress analysis personnel need carry out debugging repeatedly to command stream, until correct correct by the order reported an error, stress analysis system could continue action command stream;
3, easily make mistakes owing to manually working out command stream, and stress analysis system is very strict to the call format of order, causing when carrying out stress analysis to engineering design, inefficiency, need drop into a large amount of manpowers and man-hour, analysis cost is high.
Summary of the invention
For improving stress analysis efficiency, reduce stress analysis cost, the present invention proposes a kind of device generating pipeline stress analysis command stream based on PDMS, and this device comprises PDMS pattern checking module, border judge module, data extraction module and data conversion module;
Described PDMS pattern checking module checks described PDMS model according to the coding rule of PDMS, whether complete and accurately corresponding to determine the information of described PDMS model, when the information of described PDMS model imperfect or corresponding inaccurate time, described PDMS pattern checking module ejects miscue, to carry out supplementing or revising to the information of described PDMS model;
Described border judge module judges the border of described PDMS model from the beginning boundary of described PDMS model, finds out the boundary limits of described PDMS model;
Order data is extracted, the attribute of equipment that this order data comprises the pipeline number of pipeline to be analyzed in described PDMS model, node data, cell data, material properties, support constraint, valve weight, flange weight, the attribute of associated line be connected with described pipeline to be analyzed and is connected with described pipeline to be analyzed in the bounds of the PDMS model that described data extraction module is determined from described border judge module;
The command format that the order data that described data extraction module is extracted is converted to needed for pipe stress analytic system by described data conversion module forms command stream, and this command stream is exported and be stored into assigned address.
Preferably, described border is the boundary on border of pipeline to be analyzed in described PDMS model, valve, flange and the associated line be connected with pipeline to be analyzed and equipment in-scope, described border judge module when searching the boundary limits of described PDMS model, using the anchor point of the point of interface of the equipment be connected with the pipeline to be analyzed in described PDMS model, described pipeline to be analyzed and/or free end as boundary demarcation boundary.
Preferably, the attribute of described associated line comprises the welds types of the connecting portion between design pressure, safe class, size and this associated line and described pipeline to be analyzed; The attribute of described equipment comprises the welds types of the connecting portion between design pressure, safe class, size and this equipment and described pipeline to be analyzed.
Preferably, described cell data comprises cell type, elbow bending radius and elbow center point coordinate.
Preferably, described node data comprises the connected mode of node coordinate and node.
Preferably, described material properties comprises the stress exponent of title material, pipeline system design temperature, pipeline system running temperature, environment temperature, design pressure, RCCM test stone, Poisson ratio, outer diameter tube, pipeline wall thickness, conduit volume modulus, pipe line density and obligatory point.
The command format undertaken needed for stress analysis forms command stream by the pipeline in the engineering design of direct for the form of the order data extracted from PDMS model Batch conversion twin conduit to adopt this device based on PDMS generation pipeline stress analysis command stream, thus avoid stress analysis personnel to write order separately for each data and be input in pipe stress analytic system carrying out stress analysis to the pipeline of design, substantially reduce the workload of stress analysis personnel, and command format is unified in the command stream of conversion formation, order the rate that reports an error low, improve stress analysis efficiency, reduce stress analysis cost.
The present invention also proposes a kind of method generating pipeline stress analysis command stream, and the method adopts the above-mentioned device that any one generates pipeline stress analysis order based on PDMS to realize, and comprises the steps:
Step S1: described PDMS pattern checking module checks described PDMS model according to the coding rule of PDMS, whether complete and accurately corresponding to determine the information of described PDMS model, when the information of described PDMS model is imperfect or inaccurate, described PDMS pattern checking module ejects miscue, to carry out supplementing or revising to the information of described PDMS model;
Step S2: described border judge module judges the border of described PDMS model from the beginning boundary of described PDMS model, finds out the boundary limits of described PDMS model;
Step S3: extract order data in the bounds of the PDMS model that described data extraction module is determined from described border judge module, the attribute of equipment that this order data comprises the pipeline number of pipeline to be analyzed in described PDMS model, node data, cell data, material properties, support constraint, valve weight, flange weight, the attribute of associated line be connected with described pipeline to be analyzed and is connected with described pipeline to be analyzed;
Step S4: the command format that the data that described data extraction module is extracted are converted to needed for pipe stress analytic system by described data conversion module forms command stream, and this command stream is exported and be stored into assigned address.
The command format using the method for this generation pipeline stress analysis command stream to be carried out by the pipeline in the engineering design of direct for the form of the order data extracted from PDMS model Batch conversion twin conduit needed for stress analysis forms command stream, thus avoid stress analysis personnel to write order separately for each data and be input in pipe stress analytic system carrying out stress analysis to the pipeline of design, substantially reduce the workload of stress analysis personnel, and command format is unified in the command stream of conversion formation, order the rate that reports an error low, improve stress analysis efficiency, reduce stress analysis cost.In the process of method using this generation pipeline stress analysis command stream, operating personnel only need when PDMS pattern checking module ejects miscue, the information of PDMS model supplemented complete or adjust accurately, simple to operation, further reduce workload, reduce stress analysis cost.
Preferably, in described step S1, described PDMS pattern checking module adopts automatic traversal method to check described PDMS model.Like this, PDMS pattern checking module can be avoided to occur to omit phenomenon in checking process.
Preferably, described command format is SYSPIPE command format.Like this, the stress analysis command stream of generation can directly import in piping stress analysis software SYSPIPE carries out stress analysis to the pipeline in pipework design, easy to use.
Accompanying drawing explanation
Fig. 1 the present invention is based on the schematic diagram that PDMS generates the device of stress analysis command stream;
Fig. 2 the present invention is based on the process flow diagram that PDMS generates the method for stress analysis command stream.
Embodiment
As shown in Figure 1, the present invention is based on the device that factory's three dimensional arrangement design management system (Plant Design Management system, be called for short PDMS) generates pipeline stress analysis command stream and comprise PDMS pattern checking module, border judge module, data extraction module and data conversion module.
PDMS pattern checking module adopts automatic traversal to check PDMS model according to the coding rule of PDMS, check that whether the information of PDMS model is complete, accurately corresponding, the information of the PDMS model at this place specifically refers to title, the attribute of each line elements in PDMS model.When the information of PDMS model imperfect and/or corresponding inaccurate time, PDMS pattern checking module ejects miscue, so that the information of PDMS model is supplemented complete by operating personnel.
Border judge module, from the initiating terminal and beginning boundary of the pipeline in PDMS model, judges the border of PDMS model, finds out the boundary on the border of this PDMS model.Border refers to the boundary on border of pipeline to be analyzed in PDMS model, valve, flange and the associated line be connected with pipeline to be analyzed and equipment in-scope.Border judge module when judging the border of PDMS model, using the point of interface of equipment be connected with the pipeline to be analyzed in PDMS model, the anchor point of pipeline to be analyzed and/or free end as boundary demarcation boundary.
Extract order data in the bounds of the PDMS model that data extraction module is determined from border judge module, this order data comprises the attribute of the pipeline number of pipeline to be analyzed in PDMS model, node data, cell data, material properties, support constraint, valve weight, flange weight and the associated line be connected with pipeline to be analyzed and equipment.
Node data comprises the connected mode of node coordinate and node.In pipeline design engineering, node generally includes the pipe welding seam place in pipeline, pipeline end points, pipeline obligatory point, suspension centre and given displacement place, duct orientation changes point or take-off point (such as bend pipe and threeway), caliber, the wall thickness of pipeline change point (such as concentric reducer pipe fitting, valve), insulation layer thickness and material change point, mechanics of piping analysis temperature, calculating pressure change point, load change place of pipeline external force and pipeline material, stiffness change place (such as rigid element, expansion joint); The connected mode of node generally includes NW, AW, SW, PW, LW and DW, wherein, NW represents that Nodes does not have weld seam, AW represents that Nodes adopts jam welding welding, SW represents that Nodes adopts sleeve weldering welding, PW represents that the weld seam of Nodes needs to define stress exponent, and LW represents that the weld seam of Nodes is smooth weld seam, and DW represents that the weld seam of Nodes is hoop fillet weld.
In pipe stress is analyzed, unit refers to the part of carrying out mechanical analysis.Cell data comprises cell type, elbow bending radius and elbow center point coordinate.Wherein, cell type comprises: (a) two node straight tube unit, such as the shaftless straight tube unit (RUN) to weld seam, only for the corrugated tube (RUC) of secondary canalization, the shaftless bias to weld seam or concentric concentric reducer pipe fitting (RED), valve (VAL); (b) two node transition element, such as shaftless straight tube transition element (TRN) to weld seam; (c) two node bend pipe/elbow unit, the such as shaftless Pipe Elbow Element to weld seam (ELB), one end with the Pipe Elbow Element (ELF) of flange, two ends with Pipe Elbow Element (EDF), the Curved Continuous pipe unit (EEL) of flange; (d) threeway and nozzle unit, the threeway unit (TER) of such as threeway unit (TEE), band reinforcement, the threeway unit (TEF) not with reinforcement, the false threeway unit (TEN) of band ozzle, rigid element (RIG); (e) arbitrary section beam, such as beam element (BRA).Rigid element need not specify rigidity value, such as eccentric valve, flange and shaft coupling.
Material properties comprises the stress exponent of title material, pipeline system design temperature, pipeline system running temperature, environment temperature, design pressure, RCCM test stone, Poisson ratio, outer diameter tube, pipeline wall thickness, conduit volume modulus, pipe line density, obligatory point.
Support constraint, refer to treat and analyze the fixing of pipeline, as support be by fixing for pipeline to be analyzed on the wall, on ground or ceiling, pipe clamp when preventing having fluid flow in pipeline to be analyzed, vibrations occurs and has skew generation.
The attribute of the associated line be connected with pipeline to be analyzed comprises the welds types of the design pressure of associated line, safe class, size and the connecting portion between associated line and pipeline to be analyzed; The attribute of the equipment be connected with pipeline to be analyzed comprises the welds types of the design pressure of equipment, safe class, size and the connecting portion between equipment and pipeline.
The order data that data extraction module is extracted by data conversion module is converted to the order of the command format needed for pipe stress analytic system respectively thus forms command stream, and this command stream is exported and be stored into assigned address.Preferably, the command format of the command stream of generation is SYSPIPE command format, carries out stress analysis so that the stress analysis command stream of generation can directly be imported in piping stress analysis software SYSPIPE to the pipeline in pipework design.
The present invention also proposes a kind of method generating pipeline stress analysis command stream based on PDMS, is described in detail to the method below in conjunction with Fig. 2.The method comprises the steps:
Step S1:PDMS pattern checking module adopts automatic traversal to check PDMS model according to the coding rule of PDMS, confirms that whether the information of PDMS model is complete, accurately corresponding.When the information of PDMS model imperfect or corresponding inaccurate time, the CMOS macro cell miscue of PDMS pattern checking is also ejected, so that operating personnel carry out supplementing or revising to the information of PDMS model, makes the information completely of PDMS model and accurately corresponding.
Step S2: border judge module judges the border of PDMS model from the beginning boundary of PDMS model, finds out the boundary limits of PDMS model.
Step S3: extract order data in the bounds of the PDMS model that data extraction module is determined from border judge module, this order data comprises the attribute of the pipeline number of pipeline to be analyzed in PDMS model, node data, cell data, material properties, support constraint, valve weight, flange weight and the associated line be connected with pipeline to be analyzed and equipment.
Step S4: the order data that data extraction module is extracted is converted to the command format needed for pipe stress analytic system thus forms command stream by data conversion module, and this command stream is exported and be stored into assigned address.Preferably, generate the command stream of SYSPIPE command format, so that the stress analysis command stream of generation directly imported in piping stress analysis software SYSPIPE, stress analysis is carried out to the pipeline in pipework design.