Modeling method and device for valve with support during pipeline simulation calculation
By calculating the vector and angles from the center point to the center point of the valve with bracket and the support point, judging the finite element model category and establishing a model, the problem of low modeling efficiency and prone to human error in the existing technology is solved, and automated modeling and standardization processes are realized.
Patent Information
- Application Number
- CN202411933587.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, there are many description statements required for modeling of a support valve in a pipeline, and the input parameters cannot be obtained directly from the drawings, which are low in efficiency and are prone to human errors.
By obtaining the modeling information of the valve with bracket input by the user, calculate the vector and angles from the center point of the valve to the center of gravity point and the support point, judge the finite element model category based on the mold length and angle of the vector, and establish a finite element model with bracket valve according to the category.
The modeling process with bracket valves is automatically completed, reducing human errors, improving modeling efficiency, and ensuring the standardization and uniformity of the modeling process.
Smart Images

Figure CN119885473A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of pipeline modeling and processing, and in particular to a modeling method and device for a valve with a bracket during pipeline simulation calculation. Background Art
[0002] The systems in industrial installations are generally complex systems composed of a large number of pipelines, which connect various equipment to meet the process design requirements of a specific system. Contemporary pipeline design usually undergoes mechanical calculations, especially when the temperature and pressure are very high, especially when the design of nuclear power pipelines and toxic and harmful pipelines must undergo rigorous calculation and analysis. Computer software is used to analyze and calculate complex and large pipeline systems. The results of the calculations must also be strictly checked in accordance with various specifications stipulated by the management agency to prove the rationality of the design.
[0003] At present, various pipeline mechanics calculation software used internationally and domestically generally use the finite element method for pipeline calculation. The model in the pipeline software includes the pipeline itself and various support components. The pipeline itself mentioned here can also be subdivided into various components, such as straight pipes, elbows, reducers, tees, flanges, bellows, etc. The support of the pipeline corresponds to the rigid support, spring, or damper in the actual project. In fact, these supports are equivalent to a stiffness with directional characteristics during calculation, acting on the corresponding constraint position and direction.
[0004] The modeling method of valves with supports in finite element pipeline calculation includes valve modeling and support modeling technology. The valve includes a valve body unit (usually divided into two parts, the front half and the back half), a valve stem unit, and the weight of the valve and the support conditions of the valve must also be considered. In the pipeline finite element calculation program, whether it is an ordinary straight pipe, each pipe section of a tee, or a valve, it is represented by a stiffness matrix. For a tee, three stiffness matrices are required, two straight pipes simulate the main pipe, and one simulates the branch pipe. Valves in engineering are usually more complicated, and valves with drive mechanisms are even more complicated. In the actual engineering pipeline calculation, they will be simplified. Refer to Figure 1 As shown in the figure, the drawings provided by the factory will include the offset distance of the valve center of gravity relative to the valve center point, and the offset distance of the bracket installation position relative to the valve center point. For different valves, this information will be different. Some have the center of gravity above the bracket, some have the center of gravity below the bracket, some have an eccentric center of gravity, and some have no eccentric center of gravity.
[0005] Ordinary valves require at least three units to simulate, two valve body units and one valve stem unit. The weight of the valve is usually applied as a concentrated mass at the center of gravity of the valve. This center of gravity is defined by the "valve stem", which is the distance from the center point of the valve to the center of gravity of the valve. This information is given in the factory drawings. The valve stem here is defined in the sense of pipeline mechanics modeling. It is different from the definition during actual valve design and production. It only needs to establish a connection between the weight of the valve through a rigid unit. When calculating the pipeline, it can correctly simulate the static or dynamic effects of this mass point on the pipeline system. In addition, when calculating the mechanics of the pipeline system, the valves will be simplified. See Figure 2 As shown. The eccentric mass of the valve (represented by a diamond) is directly above the valve body. The gray triangle in the lower middle part of the valve body indicates that there is an upward support under the valve. In engineering, only a straight line is often used to represent the support, as shown in some of the following figures. For such a structure, when building a pipeline model, three pipeline units need to be established, one concentrated mass and one boundary unit representing the support stiffness. These contents are part of the calculation of the pipeline system. Later, the unit stiffness matrix and the boundary stiffness matrix need to be assembled into an overall stiffness matrix. Make a mass matrix including all uniformly distributed masses and concentrated masses, and then form the overall finite element static equation or dynamic equation. The next step is to solve the equation to obtain the displacement of each node, and then solve the unit internal force.
[0006] In the prior art, the common pipeline software needs to build the entire valve model unit by unit for the modeling of the bracket valve. In this process, each point needs to be given a node number and the projection length of each unit. For this type of modeling syntax, the user needs to process the valve drawing data by himself first, number each node, and then consider the node numbering of the entire pipeline system, and then manually convert it into a bracket valve model. There are many descriptive statements required, and the input parameters cannot be directly obtained from the drawings, which is inefficient and prone to human errors.
[0007] The existing patent CN117077340A discloses a pipeline simulation method, device, system and storage medium, which specifically includes: importing multiple pipeline historical data, preprocessing each pipeline historical data respectively, and obtaining target historical data; constructing a training model, and performing model analysis on the training model according to all target historical data to obtain a pipeline simulation model; importing pipeline data to be simulated, simulating the pipeline data to be simulated according to the pipeline simulation model, and obtaining pipeline simulation results. This method focuses on simulation modeling of pipelines, and does not solve the problems that the modeling of valves with brackets in pipelines in the prior art requires many description statements, the input parameters cannot be directly obtained from the drawings, the efficiency is low, and human errors are prone to occur.
[0008] The existing patent CN116522733A discloses a method for constructing a pipeline finite element analysis model and a pipeline stress analysis method. The method for constructing a finite element analysis model includes: obtaining a three-dimensional pipeline model of a target pipeline; extracting the pipeline starting point in the three-dimensional pipeline model and the three-dimensional data of the target pipeline; if the connection relationship of the pipeline parts in the three-dimensional data passes the verification, the three-dimensional data is converted into a control command stream; a geometric model of the target pipeline is generated according to the control command stream; and a finite element model of the target pipeline is generated according to the pipeline starting point and the geometric model in the three-dimensional pipeline model. This method focuses on the construction of the pipeline finite element analysis model, and does not solve the problems that the modeling of the valve with a bracket in the pipeline in the prior art requires more description statements, the input parameters cannot be directly obtained from the drawings, the efficiency is low, and human errors are prone to occur.
[0009] The above two existing patents are both technologies for regenerating a finite element simulation model after an existing three-dimensional pipeline model. One of the existing technologies is a technology for establishing a three-dimensional pipeline model by manually describing the simulation pipeline model unit by unit according to the layout of the pipeline design and the grammatical requirements of the corresponding pipeline software. Another technology is to directly use the software to automatically read the established three-dimensional pipeline model, and also to describe the simulation pipeline model unit by unit according to the grammatical requirements of the corresponding pipeline software. The current software establishes each unit according to the requirements of the unit stiffness matrix, whether it is a valve body, a valve stem, or a support rod, the form is the same. The parameter E in the stiffness matrix is the elastic modulus of the material, I is the pipe section modulus, which is determined by the outer diameter and wall thickness of the pipe, and l is the unit length. The valve body, valve stem or straight pipe in the model are all defined by this stiffness matrix.
[0010]
[0011] For valves, current technologies require that three units (two valve bodies and one valve stem) plus a valve mass be defined in sequence, or the user describes the entire valve, and the software automatically divides it into three parts, describing two valve bodies and one valve stem respectively. The above patent technology does not provide details in model building. If there is a bracket on the valve, two or three valve stem units may need to be defined. Alternatively, after obtaining the three-dimensional pipeline layout information, the simulation pipeline model is established one by one according to the requirements of the pipeline establishment topic. Both methods require the definition of each unit.
[0012] In summary, the above two existing patents do not solve the problem that the modeling of valves with brackets in pipelines in the prior art requires many descriptive statements, the input parameters cannot be directly obtained from the drawings, the efficiency is low and human errors are prone to occur. Summary of the invention
[0013] Based on the above technical problems, the purpose of the present invention is to propose a modeling method and device for valves with brackets during pipeline simulation calculations, so as to solve the problems in the prior art that many descriptive statements are required when modeling valves with brackets, input parameters cannot be directly obtained from drawings, efficiency is low and human errors are prone to occur.
[0014] To achieve the above purpose, the present invention proposes a modeling method and device for a valve with a bracket during pipeline simulation calculation, and the specific technical scheme is as follows:
[0015] A modeling method for a valve with a bracket during pipeline simulation calculation, the method comprising the following steps:
[0016] S1, obtaining modeling information of a valve with a bracket input by a user;
[0017] S2. Calculate the vectors V1 and V2 from the center point of the valve body with bracket to the center of gravity and the support point, and the angle a between the two vectors;
[0018] S3, judging the type of finite element model corresponding to the valve with bracket according to the relationship between the modulus lengths and the included angle of the two vectors;
[0019] S4. Establishing and obtaining a finite element model of the valve with a bracket according to a corresponding finite element model category.
[0020] Furthermore, the modeling parameter information in step S1 includes valve information and bracket information, wherein the valve information includes the starting point, center point, center of gravity, valve size and valve weight of the valve, and the bracket information includes the constraint direction and support point position of the bracket on the valve.
[0021] Furthermore, step S1 also includes: determining the values of the definition parameters of the valve and the bracket according to the valve information and the bracket information; the definition parameters of the valve include the length of the valve body, the offset of the center of gravity relative to the center point, the offset of the support point relative to the center point and the ratio of the reference position of the center of gravity and the support point to the length of the valve body, and the definition parameters of the bracket include the constraint direction of the bracket and the position of the bracket support point acting on the valve.
[0022] Furthermore, before step S1, the method further includes: defining finite element models of various types of valves with brackets in advance in the modeling system.
[0023] Furthermore, step S2 specifically includes: calculating the vector V1 from the valve center point to the center point according to the offset of the center point relative to the center point, calculating the vector V2 from the valve center point to the support point according to the offset of the support point relative to the center point, and calculating the angle a between the vector V1 and the vector V2.
[0024] Further, step S3 specifically includes: calculating the modulus length |V1| of the vector V1 and the modulus length |V2| of the vector V2, and judging the finite element model category corresponding to the valve with bracket according to the size relationship between |V1| and |V2| and the size of the angle a;
[0025] If |V1|<|V2| and a=0, it is judged that the finite element model of the valve with a bracket is that the bracket is on the top, the center of gravity is on the bottom, and the center of mass is not offset;
[0026] If |V1|>|V2| and a=0, the finite element model of the valve with bracket is judged as that the bracket is at the bottom, the center of gravity is at the top, and the center of mass has no offset;
[0027] If a=π, then the finite element model of the bracket valve is judged to be that the bracket is below the valve body, the center of gravity is above the valve body, and the center of gravity mass has no offset;
[0028] If |V1|<|V2| and a≠0, a<π, then the finite element model of the valve with a bracket is judged to be that the bracket is on top, the center of gravity is on the bottom, and the center of mass is offset;
[0029] If |V2|=0, it is determined that the finite element model of the valve has no bracket;
[0030] If |V1|>|V2| and a≠0, a<π, then the finite element model of the valve with a bracket is judged to be that the bracket is at the bottom, the center of gravity is at the top, and the center of mass is offset.
[0031] Further, step S4 specifically includes: according to the finite element model category corresponding to the valve with a bracket, establishing the node coordinates, concentrated mass, unit and bracket of the finite element model of the valve with a bracket, and then simulating to obtain the finite element model of the valve with a bracket;
[0032] The node coordinates include valve center coordinates, valve gravity center coordinates and support point coordinates of the valve with bracket, and the unit includes a valve body unit and a valve stem unit.
[0033] The present invention also provides a modeling device for a valve with a bracket during pipeline simulation calculation. The device is used to implement the modeling method for a valve with a bracket during pipeline simulation calculation. The device includes a data preprocessing module and a data calculation module connected to the output end of the data preprocessing module, an analysis and judgment module connected to the output end of the data calculation module, and a simulation acquisition module connected to the output end of the analysis and judgment module.
[0034] Furthermore, the preprocessing module is used to obtain the modeling parameters of the valve with bracket input by the user;
[0035] The data calculation module is used to calculate the vector V1 from the valve center to the center of gravity, the vector V2 from the valve center to the support point, and the angle a between the vector V1 and the vector V2;
[0036] The analysis and judgment module is used to analyze and judge the finite element model category corresponding to the valve with a bracket according to the relationship between the modulus lengths of the vector V1 and the vector V2 and the size of the angle a;
[0037] The simulation acquisition module is used to establish the node coordinates, concentrated mass, unit and bracket of the valve with bracket according to the type of the finite element model, and to obtain the finite element model of the valve with bracket by simulation.
[0038] The present invention also proposes a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to perform a modeling method for a valve with a bracket during a pipeline simulation calculation as described in any one of claims 1 to 7.
[0039] Based on the above technical solution, the present invention proposes a modeling method and device for a valve with a bracket during pipeline simulation calculation, which has at least the following beneficial effects:
[0040] 1. The present invention proposes a modeling method and device for a valve with a bracket during pipeline simulation calculation. The modeling process of various types of valves with a bracket is automatically completed according to the valve modeling parameter information input by the user. The user does not need to number each node of the valve with a bracket. The program can automatically generate various information required for modeling and meet the various types of valve models with a bracket required by finite element pipeline calculation.
[0041] 2. The present invention proposes a modeling method and device for a valve with a bracket during pipeline simulation calculation. The modeling personnel only need to directly input the necessary information on the valve drawing through one line of valve modeling statement and one line of bracket description statement, thereby realizing rapid modeling of the valve with the bracket.
[0042] 3. The present invention proposes a modeling method and device for a valve with a bracket during pipeline simulation calculation, which is applicable to valves with a variety of different bracket design arrangements, thereby improving modeling efficiency.
[0043] 4. The modeling method and device for a valve with a bracket during pipeline simulation calculation proposed by the present invention can reduce human errors and ensure the standardization and uniformity of the modeling process. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0045] Figure 1 A schematic diagram of a valve with an electric actuator in the background technology of the present invention;
[0046] Figure 2 A schematic diagram of a valve with a bracket and concentrated mass in the background technology of the present invention;
[0047] Figure 3 It is a simplified diagram of finite element models of various valves with brackets that can be implemented by the present invention;
[0048] Figure 4 A schematic flow chart of a modeling method for a valve with a bracket during pipeline simulation calculation provided by the present invention;
[0049] Figure 5 A schematic diagram of a modeling device for a valve with a bracket during pipeline simulation calculation provided by the present invention. DETAILED DESCRIPTION
[0050] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0051] The present invention is further described in detail below in conjunction with specific embodiments. These embodiments should not be construed as limiting the scope of protection claimed by the present invention.
[0052] Example 1
[0053] In order to solve the problem that the modeling of valves with brackets in the prior art requires many description statements, the input parameters cannot be directly obtained from drawings, the efficiency is low and human errors are prone to occur, this embodiment provides a modeling method for valves with brackets in pipeline simulation calculation.
[0054] In actual engineering, there are many types of valves with brackets, and the installation conditions are also different. The modeling method of valves with brackets in pipeline simulation calculation provided by the present invention can be applicable to the modeling requirements of various valves with brackets. Figure 3 The figure shows the finite element model diagrams of various valves with brackets that can be realized. The hourglass triangle in the figure represents the valve body, the diamond represents the eccentric mass of the valve, and the thick black solid line segment represents the valve bracket. The finite element models of valves with brackets include the following: Figure 3 As shown in (a), the bracket is on top, the center of gravity is on the bottom, and there is no mass eccentricity, which can be defined as model 1; see Figure 3 (b) shows that the bracket is at the bottom, the center of gravity is at the top, and there is no mass eccentricity, which is defined as model 2; see Figure 3 (c) shows that the center of gravity is above the valve body, the bracket is below the valve body, and there is no mass eccentricity, which is defined as model 3; refer to Figure 3(d) shows that the bracket is on top, the center of gravity is on the bottom, and there is mass eccentricity, which is defined as model 4; see Figure 3 (e) shows that there is no bracket on the valve, the center of gravity is above the valve body, and there is no mass eccentricity, which is defined as model 5; refer to Figure 3 As shown in (f), the bracket is at the bottom, the center of gravity is at the top, and there is mass eccentricity, which is defined as model 6. Before modeling, the types of finite element models of various valves with brackets are defined and set in the modeling software in advance.
[0055] The following is a detailed description of a modeling method for a valve with a bracket during pipeline simulation calculation provided by this embodiment.
[0056] See also Figure 4 FIG. 1 is a flow chart of a modeling method for a valve with a bracket during pipeline simulation calculation in this embodiment. The modeling method mainly includes the following steps:
[0057] S1, obtaining modeling parameter information of a valve with a bracket input by a user;
[0058] Specifically, according to actual engineering experience, when modeling a valve with a bracket, various modeling parameter information can be obtained from the assembly drawing of the valve with a bracket. The modeling parameter information includes valve information and bracket information. The valve information includes the starting point, center point, center of gravity, valve weight and valve size of the valve. The bracket information includes the support point and constraint direction of the bracket installation. The user can input the above modeling parameter information.
[0059] After obtaining the valve information and bracket information input by the user, the values of the corresponding definition parameters are determined according to the input data of the valve information and bracket information. The definition parameters corresponding to the valve information include the total length of the valve body, the offset of the valve center of gravity relative to the valve center, the offset of the support point relative to the valve center, the ratio of the reference position of the center of gravity and the support point to the valve body length, and the weight of the valve. Through the input of the above modeling parameters, the front and rear two valve body units of the valve body component, up to three rigid stem units, concentrated mass, constraint point position and other information can be defined. The definition parameters corresponding to the bracket information include defining the constraint direction of the bracket and the position of the bracket constraint on the valve.
[0060] In a specific embodiment, the card command for the input data of the valve description is set to EVLS, and its format is EVLS followed by a series of parameter names of input parameters, such as: EVLS, CD, PB, DX, DY, DZ, ZX, ZY, ZZ, ZL, where CD represents the valve body length, DX, DY, DZ represent the offset of the center of gravity relative to the center point, ZX, ZY, ZZ represent the offset of the support point relative to the center point, and PB refers to the ratio of the reference position for calculating the position of the center of gravity and the support point to the valve body length, usually relative to the center point of the valve body, that is, PB = 0.5, and the default value of the program can be set to PB = 0.5. ZL represents the weight of the valve. Set the card command for the input data of the bracket description to SUPP. Usually, the action point of SUPP is to define a bracket at the position where this card appears. This command can be used to define the constraints imposed on the valve. The format of the SUPP card is SUPP followed by the parameter name of the input parameter, such as: SUPP, WZ, YS, YS indicates the constraint direction of the bracket, WZ indicates the position of the bracket on the valve, when WZ does not appear, the bracket is constrained at the position of the SUPP card. For the constraint position of the SUPP card behind the overall valve card, it can be the center point of the valve body. At this time, the given parameter WZ=1. If the constraint position is at the support point given by the EVLS card, then WZ=2.
[0061] In a specific implementation process of the above embodiment, the valve center coordinates of a valve with eccentric mass and a bracket are (0,0,0), the valve body center axis is in the X-axis direction, the valve stem is vertically upward, that is, in the Z direction, the valve body length is 305mm, the valve mass is 156.6kg, the valve mass center of gravity is at (10,0,180), and the valve bracket installation position is at (0,0,273). The valve information input by the user is obtained and the card command for the input data is set to EVLS, that is: EVLS, CD = 305, PB = 0.5, DX = 10, DY = 0, DZ = 180, ZX = 0, ZY = 0, ZZ = 273, ZL = 156.6. The bracket information input by the user is obtained and the card command for the input data is set to SUPP, that is: SUPP, WZ = 2, YS = 001000, where 001000 indicates constraint in the Z direction.
[0062] The process of step S1 above does not require the user to make plans or number nodes. The user only needs to provide corresponding information according to the valve drawing.
[0063] S2, calculate the vectors V1 and V2 from the center point of the valve with bracket to the center of gravity and the bracket point, and the angle a between the two vectors;
[0064] Specifically, the vector V1 from the center point of the valve with bracket to the center of gravity and the vector V2 from the center of the valve with bracket to the support point of the bracket are calculated according to the coordinate offset. The vector V1 is calculated by the offset DX, DY, DZ of the center of gravity relative to the center of the valve with bracket. The calculation formula of V1 is:
[0065]
[0066] The vector V2 is calculated from the offset ZX, ZY, and ZZ of the bracket support point relative to the center of the valve with the bracket. The calculation formula of V2 is:
[0067]
[0068] Finally, the angle a between vector V1 and vector V2 is calculated as
[0069]
[0070] In a specific implementation process, the vector V1 from the center point of the valve with a bracket to the center of gravity, the vector V2 from the center point of the valve with a bracket to the support point, and the angle a between the vector V1 and the vector V2 are calculated. The specific calculation result is:
[0071]
[0072] S3, judging the type of finite element model corresponding to the valve with bracket according to the relationship between the modulus lengths and the included angle of the two vectors;
[0073] Specifically, the type of the valve with bracket is determined according to the magnitude relationship between the modulus lengths |V1| and |V2| of the two vectors and the magnitude of the angle a. The specific determination method is as follows:
[0074] If |V1|<|V2| and a=0, that is, the modulus of vector V1 is smaller than the modulus of vector V2, and the angle between the two vectors is 0°, then the bracket of the valve with bracket is at the top, the center of gravity is at the bottom, and the center of gravity of mass is not offset, and its type is judged to be model 1;
[0075] If |V1|>|V2| and a=0, that is, the modulus of vector V1 is greater than the modulus of vector V2, and the angle between the two vectors is 0°, then the bracket of the valve with bracket is at the bottom, the center of gravity is at the top, and the mass center of gravity is not offset, and its type is judged to be model 2;
[0076] If a=π, that is, the angle between the two vectors is 180°, then the bracket of the valve with bracket is below the valve body, the center of gravity is above the valve body, and the center of mass is not offset, so its type is judged to be model 3;
[0077] If |V1|<|V2| and a≠0, a<π, then the bracket of the valve with bracket is on the top, the center of gravity is on the bottom, and the center of gravity mass is offset, and its type is judged to be model 4;
[0078] If |V2|=0, the valve has no bracket and its type is judged to be model 5;
[0079] If |V1|>|V2| and a≠0, a<π, then the bracket of the valve with bracket is at the bottom, the center of gravity is at the top and the mass center of gravity is offset, and its type is judged to be model 6.
[0080] In a specific implementation process, the type of the valve with a bracket is determined by comparing the modulus length relationship between vector V1 and vector V2 and the value of the angle a according to the calculation result in step S2. Since the modulus length of vector V1 |V1|=180.2776 and the modulus length of vector V2 |V2|=273, |V1|<|V2| and a=3.18°<180°, the category of the finite element model of the valve with a bracket is determined to be model 4.
[0081] S4. Establishing a finite element model of the valve with a bracket according to a corresponding finite element model category.
[0082] Specifically, the node coordinates, concentrated mass, units and brackets of the finite element model are established according to the determined finite element model category. The nodes include the valve starting point ns, the valve end point ne, the valve center point n0, the mass point n1, and the bracket point n2, and the units include the valve body unit and the valve stem unit. The node coordinates and unit information of several valve finite element models are shown in Table 1, which does not include the valve body unit because the valve body unit is the same for all models and can be expressed as two units, namely, valve body unit 1: ns-n0, valve body unit 2: n0-ne.
[0083] Table 1: Node coordinates and element information of the valve finite element model
[0084]
[0085]
[0086] In a specific implementation process, the node coordinates, concentrated mass, unit and bracket of the valve with bracket are established according to the finite element model category model 4 determined in step S3, as follows:
[0087] Valve body nodes: ns(-152.5, 0, 0), ne(152.5, 0, 0)
[0088] Valve stem nodes: n0 (0, 0, 0), n1 (10, 0, 180), n2 (0, 0, 273), n3 (0, 0, 180)
[0089] Unit: e1-ns-n0 valve body 1, e2-n0-ne valve body 2, e3-n0-n3 valve stem 1, e4-n3-n2 valve stem 2, e5-n3-n1 valve stem 3
[0090] Mass point and concentrated mass: n1-156.6 (kg)
[0091] Support point and constraint direction: n2-001000 (z direction constraint)
[0092] The finite element model of the valve with bracket is obtained by simulating the above valve node coordinates, concentrated mass, unit and bracket information.
[0093] By adopting the modeling method of a valve with a bracket during a pipeline simulation calculation in this embodiment, a finite element method pipeline valve with a bracket model including constraints, valve weight, and complete geometric dimensions (including two valve bodies and multiple valve stems) can be generated at one time. It is suitable for valves with a variety of different bracket design arrangements, thereby improving modeling efficiency, reducing human errors, and ensuring the standardization and uniformity of the modeling process.
[0094] Example 2
[0095] This embodiment provides a modeling device for a valve with a bracket during pipeline simulation calculation, and the device is used to implement the steps of a modeling method for a valve with a bracket during pipeline simulation calculation provided in the embodiment.
[0096] See also Figure 5 As shown, the device includes a data preprocessing module, a data calculation module, an analysis and judgment module, and a simulation acquisition module. The output end of the data preprocessing module is connected to the input end of the data calculation module, the output end of the data calculation module is connected to the input end of the analysis and judgment module, and the output end of the analysis and judgment module is connected to the input end of the simulation acquisition module.
[0097] Among them, the preprocessing module is used to obtain the modeling parameter information input by the user and perform preprocessing; the data calculation module is used to calculate the vector V1 from the center point of the valve with a bracket to the center of gravity, the vector V2 from the center of the valve with a bracket to the support point, and the angle a between the vector V1 and the vector V2 according to the coordinate offset; the analysis and judgment module is used to analyze and judge the finite element model category corresponding to the valve with a bracket according to the module length relationship between the vector V1 and the vector V2 and the size of the angle a; the simulation acquisition module is used to establish the node coordinates, concentrated mass, unit and bracket of the valve with a bracket according to the category of the finite element model, and simulate to obtain the finite element model of the valve with a bracket.
[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0099] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0100] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0101] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0102] It should be noted that, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
Claims
1. A modeling method for a valve with a bracket in pipeline simulation calculation, characterized in that: The method comprises the following steps: S1, obtaining modeling parameter information of a valve with a bracket input by a user; S2. Calculate the vectors V1 and V2 from the center point of the valve body to the center of gravity of the valve and the support point of the bracket, and the angle a between the two vectors; S3, judging the type of finite element model corresponding to the valve with bracket according to the relationship between the modulus lengths and the included angle of the two vectors; S4. Establishing and obtaining a finite element model of the valve with a bracket according to a corresponding finite element model category.
2. The modeling method of a valve with a bracket during pipeline simulation calculation according to claim 1 is characterized in that: In step S1, the modeling parameter information includes valve information and bracket information. The valve information includes the starting point, center point, center of gravity, valve size and valve weight of the valve. The bracket information includes the support point position of the bracket installed on the valve.
3. The modeling method of a valve with a bracket during pipeline simulation calculation according to claim 2 is characterized in that: Step S1 also includes: determining the values of the definition parameters of the valve and the bracket according to the valve information and the bracket information; the definition parameters of the valve include the length of the valve body, the offset of the center of gravity relative to the center point, the offset of the support point relative to the center point and the ratio of the reference position of the center of gravity and the support point to the length of the valve body, and the definition parameters of the bracket include the constraint direction of the bracket and the position of the bracket support point acting on the valve.
4. The modeling method of a valve with a bracket during pipeline simulation calculation according to any one of claims 1 to 3, characterized in that: Before step S1, the method further includes: defining finite element models of various types of valves with brackets in advance in the modeling system.
5. The modeling method of a valve with a bracket during pipeline simulation calculation according to claim 1 is characterized in that: Step S2 specifically includes: calculating the vector V1 from the valve center point to the center point according to the offset of the center point relative to the center point, calculating the vector V2 from the valve center point to the support point according to the offset of the support point relative to the center point, and calculating the angle a between the vector V1 and the vector V2.
6. The modeling method of a valve with a bracket during pipeline simulation calculation according to claim 5 is characterized in that: Step S3 specifically includes: calculating the modulus length |V1| of vector V1 and the modulus length of vector V2 | V2|, determine the finite element model category corresponding to the valve with bracket according to the size relationship between |V1| and |V2| and the size of the angle a; If |V1|<|V2| and a=0, the finite element model of the valve with a bracket is judged to be that the bracket is at the top, the center of gravity is at the bottom, and the center of mass is not offset; If |V1|>|V2| and a=0, it is judged that the finite element model of the valve with a bracket is that the bracket is at the bottom, the center of gravity is at the top, and the center of mass is not offset; If a=π, then the finite element model of the valve with bracket is judged to be that the bracket is below the valve body, the center of gravity is above the valve body, and the center of mass is not offset; If |V1|<|V2| and a≠0, a<π, then the finite element model of the valve with a bracket is judged to be that the bracket is on top, the center of gravity is on the bottom, and the center of mass is offset; If |V2|=0, it is determined that the finite element model of the valve has no bracket; If |V1|>|V2| and a≠0, a<π, then the finite element model of the valve with a bracket is judged to be that the bracket is at the bottom, the center of gravity is at the top, and the center of mass is offset.
7. The modeling method of a valve with a bracket during pipeline simulation calculation according to claim 1 is characterized in that: Step S4 specifically includes: establishing the node coordinates, concentrated mass, unit and bracket of the finite element model of the valve with bracket according to the finite element model category corresponding to the valve with bracket, Then, a finite element model of the valve with a bracket is obtained by simulation; The node coordinates include valve center coordinates, valve gravity center coordinates and support point coordinates on the valve, and the unit includes a valve body unit and a valve stem unit.
8. A modeling device for a valve with a bracket during pipeline simulation calculation, the device being used to implement the modeling method for a valve with a bracket during pipeline simulation calculation as claimed in any one of claims 1 to 7, characterized in that: The device comprises a data preprocessing module, a data calculation module connected to the output end of the data preprocessing module, an analysis and judgment module connected to the output end of the data calculation module, and a simulation acquisition module connected to the output end of the analysis and judgment module.
9. The modeling device for a valve with a support during pipeline simulation calculation according to claim 8, characterized in that: The preprocessing module is used to obtain the modeling parameters of the valve with bracket input by the user; The data calculation module is used to calculate the vector V1 from the valve center to the center of gravity, the vector V2 from the valve center to the support point, and the angle a between the vector V1 and the vector V2; The analysis and judgment module is used to analyze and judge the finite element model category corresponding to the bracket valve according to the relationship between the modulus lengths of the vector V1 and the vector V2 and the size of the angle a; The simulation acquisition module is used to establish the node coordinates, concentrated mass, unit and bracket of the bracket valve according to the type of the finite element model, and simulate to obtain the finite element model of the valve with the bracket.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute the modeling method of a valve with a bracket during a pipeline simulation calculation according to any one of claims 1 to 7.