CN114386130A - Model modification method and device - Google Patents

Model modification method and device Download PDF

Info

Publication number
CN114386130A
CN114386130A CN202210058116.5A CN202210058116A CN114386130A CN 114386130 A CN114386130 A CN 114386130A CN 202210058116 A CN202210058116 A CN 202210058116A CN 114386130 A CN114386130 A CN 114386130A
Authority
CN
China
Prior art keywords
model
original
working
display
display interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210058116.5A
Other languages
Chinese (zh)
Inventor
刘树斌
刘诗华
龙波
陈丽
宁庆坤
毛喜道
白伟
刘宝君
彭星铭
周航
刘洋
刘健
田苗苗
阚一鸣
周绍文
王诗阳
黄帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Nuclear Power Engineering Co Ltd
Original Assignee
China Nuclear Power Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Nuclear Power Engineering Co Ltd filed Critical China Nuclear Power Engineering Co Ltd
Priority to CN202210058116.5A priority Critical patent/CN114386130A/en
Publication of CN114386130A publication Critical patent/CN114386130A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a model modification method, which comprises the following steps: calling an original model, and displaying the two original models in a display interface in a distinguishing way; carrying out design modification on one of the original models to obtain a working model; respectively obtaining the calculation results of the original model and the working model; respectively drawing comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud chart reflecting stress; and confirming whether the working model meets the design requirements or not according to the display content of the display interface, and replacing the original model with the working model to form a new original model when the working model meets the design requirements, wherein the display content comprises the model and comparison content. An apparatus for model modification is also provided. The method can display the model before and after modification and the effect of the result change in real time, is convenient for judging whether the modification meets the design requirement, and improves the model improvement efficiency.

Description

Model modification method and device
Technical Field
The invention relates to the field of model construction, in particular to a method and a device for modifying a model.
Background
In the engineering design process, the new design model is completed by gradually modifying, perfecting and upgrading the original design model. For complex high-temperature and high-pressure pipeline model design, stress calculation analysis and evaluation after pipeline model modification are generally required to be carried out. For example, based on an initial model of a set of pipelines, or based on similar pipeline models in a completed project, gradually performing design modification on the pipeline models according to new project requirements (such as changes of factory rooms or equipment connected with the pipelines), performing trial calculation, and checking whether the modified pipeline models meet the design requirements. Judging whether modification is improved or not needs to compare the original model to draw a conclusion, and the comparison content is complex, such as the influence of modification on pipeline deformation, the influence of modification on pipeline stress, the influence of modification on the thrust of a nozzle of equipment, the influence of modification on valve acceleration and the like.
At present, the analysis and calculation of the pipeline design model are generally realized by computer software, and the pipeline design model has a graphic display function, so that a user can see various calculation results of the pipeline design model, such as displacement, stress, acceleration, thrust and the like. However, the display of the calculation results is mutually independent, and the change conditions of the calculation results of the model before modification and the model after modification cannot be visually compared after the model is modified by a user, so that the method is not beneficial to quickly judging whether the modification meets the design requirements or not and whether the modification is improved or not, and the design efficiency is low.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for modifying a model, which are convenient for determining whether the modification meets the design requirement and improve the efficiency of improving the model, aiming at the above-mentioned deficiencies in the prior art.
The embodiment of the invention provides a model modification method, which comprises the following steps: calling an original model, and displaying the two original models in a display interface in a distinguishing way; designing and modifying one of the original models of the display interface to obtain a working model; respectively obtaining calculation results of the original model and the working model, wherein the calculation results comprise displacement, thrust and stress; respectively drawing comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud chart reflecting stress; and confirming whether the working model meets the design requirements or not according to the display content of the display interface, and replacing the original model with the working model to form a new original model when the working model meets the design requirements, wherein the display content comprises the model and comparison content.
Preferably, the calling the original model and displaying the two original models in a display interface in a differentiated manner specifically includes: and calling the original models, and respectively displaying the two original models in a first area and a second area of a display interface.
Preferably, the drawing the comparison contents of the original model and the working model on the display interface by using the same first scale respectively specifically includes: the first scale comprises a first displacement scale, a first thrust scale and a stress cloud chart color bar.
And respectively drawing structural deformation reflecting displacement of the original model and the working model at the investigation point in a first area and a second area, wherein the coordinate of the original model after the structural deformation after the load is applied to the investigation point is the coordinate of the investigation point before the load is applied and the deformation displacement quantity of the original model is a first displacement scale, and the coordinate of the working model after the structural deformation after the load is applied to the investigation point is the coordinate of the investigation point before the load is applied and the deformation displacement quantity of the working model is the first displacement scale. The coordinate of the work model after the structure of the investigation point is deformed after the investigation point applies the load is the coordinate of the investigation point before the investigation point applies the load in the work model + the deformation displacement amount of the work model is the first displacement scale, wherein the first displacement scale is L and the first proportion
and/Dmax, L is the maximum value of the linear distance of the pipeline in the three-dimensional coordinate system, the first ratio is less than 1, and Dmax is the maximum value of the deformation displacement. Arrows reflecting thrust of the original model and the working model are respectively drawn in the first region and the second region, wherein the arrows comprise a starting point, a direction and a magnitude, the end point coordinate of the arrow of the original model is the starting point coordinate of the original model + the thrust value of the original model is a first thrust scale, the end point coordinate of the arrow of the working model is the starting point coordinate of the working model + the thrust value of the working model is the first thrust scale, the first thrust scale is L-first scale/dmax, and dmax is the maximum value of the thrust value. And respectively drawing stress cloud pictures of the original model and the working model in the first area and the second area, wherein the two areas have the same stress cloud picture color bar scale, and the stress cloud picture color bar scale is manufactured according to the maximum stress value as the range of the scale.
Preferably, after the contents of the original model and the working model are respectively drawn on the display interface by using the same first scale, the model modification method further includes: and when the control operation is carried out on the display content of the original model or the working model, the control operation is simultaneously acted on the original model and the working model, wherein the control operation comprises the steps of zooming the display operation, changing the viewing direction of the user, changing the viewing content of the user and moving or rotating the original model or the working model.
Preferably, after the contents of the original model and the working model are respectively drawn on the display interface by the same first scale and before the working model is confirmed to meet the design requirement according to the display contents of the display interface, the method for model modification further comprises: and adjusting the sizes of the original model, the working model and the comparison content of the original model and the working model in the display interface so that the display interface reasonably displays the original model, the working model and the comparison content of the original model and the working model.
Preferably, the adjusting of the size of the original model and the working model and the comparison content of the two in the display interface specifically includes: and multiplying the original model, the working model and the comparison content of the original model and the working model by a second proportion, wherein the second proportion is smaller than 1, or multiplying the working model and the comparison content of the working model by a third proportion so that the working model does not exceed the display range of the second area, and simultaneously multiplying the original model and the comparison content of the working model by the third proportion, wherein the third proportion is smaller than 1.
Preferably, the display content further comprises corresponding numerical values or curves of displacement, thrust, stress.
Preferably, the calling the original model and displaying the two original models in a display interface in a differentiated manner specifically includes: and calling the original model, and displaying two completely coincident original models in two different colors on a display interface, wherein the colors comprise a first color and a second color.
Further, the embodiment of the invention also provides a device for modifying the model, which comprises a display module, an acquisition module, a drawing module and a replacement module.
And the display module is used for calling the original models, displaying the two original models in a display interface in a distinguishing way, and receiving design modification performed on one of the original models in the display interface so as to display the working model. And the acquisition module is connected with the display module and is used for respectively acquiring the calculation results of the original model and the working model, wherein the calculation results comprise displacement, thrust and stress. And the drawing module is connected with the display module and the acquisition module and used for respectively drawing the comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud picture reflecting stress. And the replacing module is connected with the display module and used for replacing the original model with the working model into a new original model after receiving the confirmation information.
Preferably, the display module includes a first display unit and a second display unit. And the first display unit is used for calling the original model and displaying the original model in a first area of the display interface. And the second display unit is used for calling the original model and displaying the original model in a second area of the display interface.
According to the model modification method and device, the original model and the working model are displayed in a different mode on the same display interface, and structural deformation reflecting displacement, arrows reflecting thrust and stress cloud pictures reflecting stress in the two models are displayed, so that comparison content before and after modification is provided for a user, the user can conveniently and quickly judge whether the modified design meets design requirements or not according to the comparison content displayed in real time, whether the modified design has an improvement effect or not is judged, and design efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart of a method of model modification according to embodiment 1 of the present invention;
FIG. 2a is a diagram illustrating a first area of a pipe according to example 1 showing an original model and a stress distribution thereof;
FIG. 2b is a second area of a working model of a pipeline and a stress distribution diagram thereof according to embodiment 1 of the present invention;
fig. 3a is a schematic diagram of an original model of a pipeline and an arrow corresponding to the thrust thereof, shown in a first area in embodiment 1 of the present invention;
fig. 3b is a schematic diagram of a working model of a pipeline and an arrow corresponding to the thrust thereof, which are displayed in a second area in embodiment 1 of the present invention;
fig. 4 is a schematic structural diagram of a model modification apparatus according to embodiment 2 of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention is further described in detail below with reference to the accompanying drawings and examples.
Example 1:
as shown in fig. 1, the present embodiment provides a model modification method, which is exemplified by taking a modification design of an original model of a pipeline as an example, and the model modification method includes:
step 101, calling an original model, and displaying two original models in a display interface in a distinguishing manner.
In this embodiment, the two original models with the same structure are displayed in different colors or in different areas of the interface, so that the two original models are displayed in a display interface in a differentiated manner. One of the original models is used as a reference model for subsequent comparison, the other original model is used for design modification on the basis of the reference model, and the original model after design modification is called a working model. The design modification of the pipeline model in the embodiment refers to modifying the structure of the pipeline model, or modifying the pipeline according to changes of factory rooms or changes of equipment connected with the pipeline.
Optionally, step 101: calling an original model, and displaying the two original models in a display interface in a distinguishing way, wherein the method specifically comprises the following steps: and calling the original models, and respectively displaying the two original models in a first area and a second area of a display interface. Fig. 2a and fig. 2b are a first area and a second area, respectively, horizontally arranged in the same display interface. The arrangement modes of the first area and the second area comprise other arrangement modes which can simultaneously display two different areas in the same display interface, such as vertical arrangement, diagonal arrangement and the like.
And 102, carrying out design modification on one of the original models of the display interface to obtain a working model.
In this embodiment, fig. 2a shows an original model of a pipeline, and fig. 2b shows a working model of a pipeline obtained by performing design modification (shortening the length of a part of the pipeline) on the original model. In other words, fig. 2a shows the original model and fig. 2b shows the working model in the same display interface. And the models before and after modification are displayed on the same display interface in real time, so that the change of the model structures before and after modification can be visually compared.
103, respectively obtaining calculation results of the original model and the working model, wherein the calculation results comprise displacement, thrust and stress.
In this embodiment, the original model and the working model may be calculated by calling software corresponding to the calculation result to obtain calculation results corresponding to the two models, for example, the pipeline calculation software CNPIPE may be called to calculate the two models to obtain stress data corresponding to the two models, and the obtained calculation result may generate a corresponding data report. The original model is only needed to be calculated once, and the calculation times of the working model are determined according to the model modification times. The calculation results are not limited to displacement, thrust, stress, but may also include pipe mass, acceleration of mass points, and the like.
And 104, respectively drawing comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud picture reflecting stress.
In this embodiment, whether the model is improved or not is determined, the corresponding calculation results of the original model and the working model need to be compared, and in order to facilitate the intuitive comparison of the calculation results, the change condition of the displacement is reflected by the structural deformation, the change condition of the thrust (the thrust is a vector) is reflected by the arrow (the arrow has a starting point, a direction and a magnitude), and the change condition of the stress is reflected by the stress cloud chart. As shown in fig. 2a and 2b, according to the obtained calculation results of the original model and the working model, corresponding stress cloud graphs (the stress cloud graphs are usually colored) are drawn on the original model and the working model, and the maximum stress value at the position where the pipeline model has the maximum stress is also displayed.
Optionally, step 104: respectively drawing the comparison contents of the original model and the working model on the display interface by using the same first scale, which specifically comprises the following steps: the first scale comprises a first displacement scale, a first thrust scale and a stress cloud chart color bar. And respectively drawing the structural deformation of the reaction displacement of the original model and the working model at the investigation point in a first area and a second area, wherein the coordinate of the structural deformation of the original model after the load is applied to the investigation point is the coordinate of the investigation point before the load is applied and the deformation displacement quantity of the original model is a first displacement scale, and the coordinate of the structural deformation of the working model after the load is applied to the investigation point is the coordinate of the investigation point before the load is applied and the deformation displacement quantity of the working model is the first displacement scale. And the coordinate of the work model after the structure of the investigation point is deformed after the load is applied to the investigation point is the coordinate of the investigation point in the work model + the deformation displacement amount of the work model, wherein the first displacement scale is L, the first proportion/Dmax, L is the maximum value of the linear distance of the pipeline in the three-dimensional coordinate system, the first proportion is less than 1, and Dmax is the maximum value of the deformation displacement amount. Arrows reflecting thrust of the original model and the working model are respectively drawn in the first region and the second region, wherein the arrows comprise a starting point, a direction and a magnitude, the end point coordinate of the arrow of the original model is the starting point coordinate of the original model + the thrust value of the original model is a first thrust scale, the end point coordinate of the arrow of the working model is the starting point coordinate of the working model + the thrust value of the working model is the first thrust scale, the first thrust scale is L-first scale/dmax, and dmax is the maximum value of the thrust value. And respectively drawing stress cloud pictures of the original model and the working model in the first area and the second area, wherein the two areas have the same stress cloud picture color bar scale, and the stress cloud picture color bar scale is manufactured according to the maximum stress value as the range of the scale.
In this embodiment, since the variation value of the comparison content (structural deformation, arrow reflecting thrust, etc.) of the original model and the working model is much smaller than the actual length of the pipeline (or the size of the model structure itself), in order to display the comparison content to the user more significantly, so that the user can quickly determine whether to improve or not according to the variation value of the comparison content displayed in real time, the comparison content of the original model and the comparison content of the working model are respectively drawn on the display interface by using the same first scale, which is substantially to amplify the comparison content. Wherein, the survey point refers to a certain point position where the user needs to view the pipeline. Specifically, in this embodiment, a vertical straight pipe with an actual length of 30 meters is taken as an example, when an original model of the straight pipe is drawn, coordinates of end points before deformation of the original model are set to be a (0,0) and b (0,30), the straight pipe has displacement change of the end points under a certain force, wherein an abscissa of the point b is deformed to be 0.08 meter, so coordinates of the end points after deformation of the original model are a '(0, 0) and b' (0.08, 30). And designing and modifying the original model, namely lengthening the actual length of the straight pipe by 2 meters, setting the coordinates of the end points before deformation of the working model as A (0,0) and B (0,32), wherein the end points of the straight pipe have displacement change under certain force, the abscissa of the point B deforms to 0.09 meter, and the coordinates of the end points after deformation of the working model are A '(0, 0) and B' (0.09, 32). Calculating coordinate values of two models to be displayed, firstly determining a maximum value (e.g. 0.08 m) of the deformation displacement in the original model, which has the best observation effect when the maximum value is drawn on the display interface for a certain distance, for example, determining that the maximum value of the deformation displacement is drawn according to 1/20 (i.e. the first proportion is 1/20, and the value of the first proportion can be set according to user requirements) of the display interface, so that the observation effect of the user is the best, otherwise, the drawing deformation is too small and is not easy to observe by the user. The first displacement scale of the model is calculated according to the original model length L being 30 m, the maximum value Dmax of the deformation displacement being 0.08 m, and the first displacement scale L/20/Dmax being 30/20/0.08 being 18.75. The coordinates of the end points before the original model was deformed were obtained as a (0,0) and b (0,30), and the coordinates of the end points after the original model was deformed as a '(0.0 ) and b' (0.08 × 18.75, 30.0) — (1.5, 30.0). And then, calculating the coordinates of the deformed working model according to the first displacement scale. The coordinates of the end points before the deformation of the working model are a (0,0) and B (0,32), and the coordinates of the end points after the deformation of the working model are a '(0.0 ) and B' (0.09 × 18.75,32) — (1.6875, 32). And drawing the model corresponding to the coordinates in a corresponding display interface according to a certain proportion. The above results are deformation of the displacement before and after the model modification, and the deformation map in the case where the displacement is easily observed by the user is enlarged. Processing is performed with reference to the structural deformation reflecting the displacement in the present embodiment for drawing an arrow reflecting the thrust force. In addition, as shown in fig. 2a and 2b, when a user views the stress cloud images of the original model and the working model, the same stress cloud image color bar scale is used for the first area and the second area, and the stress cloud image color bar scale in the embodiment is manufactured according to the stress maximum value (44.56) as the scale range. As shown in fig. 3a and 3b, when the user views the arrows reflecting the thrust of the original model and the working model, the contrast content of the arrows displayed in the first area and the second area is plotted according to the same first thrust scale. It should be noted that, in general, the arrows shown in fig. 3a and 3b are on the same model as the stress cloud shown in fig. 2a and 2b, that is, the stress cloud can be displayed on the original model of fig. 2a, and at the same time, the arrow condition reflecting the thrust can be displayed.
And 105, confirming whether the working model meets the design requirements or not according to the display content of the display interface, and replacing the original model with the working model to form a new original model when the working model meets the design requirements, wherein the display content comprises the model and comparison content.
In this embodiment, as can be seen from the comparison between the stress cloud charts of fig. 2a and 2b and the arrows of fig. 3a and 3b, after the length of a certain part of the pipeline of the original model is shortened and modified, the stress at the elbow of the pipeline is reduced, the thrust at the end of the pipeline is also reduced, and the design requirement of the user for reducing the stress and the thrust is met. And when the working model meets the design requirement, replacing the original model with the working model to form a new original model, so that the new original model can be conveniently designed and modified again. And when the working model does not meet the design requirements, continuously modifying the original model.
Optionally, the display content further comprises corresponding numerical values or curves of displacement, thrust, stress.
Optionally, at step 104: after the same first scale is used for respectively drawing the comparison contents of the original model and the working model on the display interface, the model modification method further comprises the following steps: and when the control operation is carried out on the display content of the original model or the working model, the control operation is simultaneously acted on the original model and the working model, wherein the control operation comprises the steps of zooming the display operation, changing the viewing direction of the user, changing the viewing content of the user and moving or rotating the original model or the working model.
In this embodiment, when the user performs the operation of enlarging the observation point of the working model in fig. 2b to see the stress value of the observation point, the observation point at the same position of the original model in fig. 2a is also enlarged and displayed because the stress values are 44.56 and 38.06, respectively, and the color of the elbow point representing the stress is obviously different.
Optionally, after the comparative contents of the original model and the working model are respectively drawn on the display interface by using the same first scale, and before it is confirmed whether the working model meets the design requirement according to the display contents of the display interface, the method for model modification further includes: and adjusting the sizes of the original model, the working model and the comparison content of the original model and the working model in the display interface so that the display interface reasonably displays the original model, the working model and the comparison content of the original model and the working model.
Optionally, adjusting the size of the original model and the working model and the comparison content between the original model and the working model in the display interface specifically includes: and multiplying the original model, the working model and the comparison content of the original model and the working model by a second proportion, wherein the second proportion is smaller than 1, or multiplying the working model and the comparison content of the working model by a third proportion so that the working model does not exceed the display range of the second area, and simultaneously multiplying the original model and the comparison content of the working model by the third proportion, wherein the third proportion is smaller than 1.
In this embodiment, when the working model may exceed the display range of the second region, for example, a length of a part of the pipeline of the original model shown in fig. 2a needs to be lengthened, but the display of the working model after the lengthening process may exceed the display range of the second region, so the sizes of the original model and the working model and the contrast content of the two models in the display interface may be adjusted, so that both the original model and the working model are presented in the region range of the display interface. For example, in the above embodiment, the size of the vertically placed straight pipe with an actual length of 30 meters is adjusted in the display interface with the lower left corner (0.0 ) and the upper right corner (1.0 ), the coordinates of the end points before the deformation of the original model are a (0,0) and B (0,30), the coordinates of the end points after the deformation of the original model is adjusted are a '(0.0 ) and B' (1.5, 30.0), the coordinates of the end points before the deformation of the working model are a (0,0) and B (0,32), and the coordinates of the end points after the deformation of the working model is adjusted are a '(0.0 ) and B' (1.6875, 32). If the second ratio is 0.025 (i.e. the second ratio is 1/L × f 1/30 × 0.75 — 0.025, f is less than 1, and the values of f and the second ratio can be set according to the user's requirements), the coordinates before the original model is deformed are obtained after adjustment: a (0.0 ), b (0.0, 0.75), wherein 0.75-30 × 0.025, and the original model after deformation has coordinates: a '(0.0 ), b' (0.0375, 0.75), wherein 0.0375-1.5 × 0.025. The coordinates of the working model before deformation obtained after adjustment are as follows: a (0.0 ), B (0.0, 0.8), the coordinates after deformation of the working model are: a '(0.0 ), B' (0.0422, 0.8), wherein 0.8-32 x 0.025, 0.0422-1.6875 x 0.025. The method using the second scale makes the number of times of adjustment to the original model 1, but there may be a case where the modified working model still exceeds the range of the display interface. Therefore, the working model and the comparison content thereof can be multiplied by the third proportion to ensure that the working model does not exceed the display range of the second area, the original model and the comparison content thereof are multiplied by the third proportion at the same time, and the method of the third proportion is used to ensure that the original model is adjusted and calculated every time of modification, but the working model is always in the range of the display interface, and the value of the third proportion can be set according to the requirements of users. It should be noted that the size of the working model of the present embodiment is larger than that of the original model.
Optionally, the calling the original model, and displaying the two original models in a display interface in a differentiated manner specifically includes: and calling the original model, and displaying two completely coincident original models in two different colors on the display interface, wherein the colors comprise a first color and a second color, and for example, the first color and the second color are two different semitransparent colors.
In this embodiment, the original model, the structural deformation reflecting the displacement, the arrow reflecting the thrust, and the like are drawn in a translucent color (or black), and the working model, the structural deformation reflecting the displacement, the arrow reflecting the thrust, and the like are drawn in an actual color (or red).
In the model modification method of the embodiment, the original model and the working model are respectively displayed in two regions of the same display interface (or the original model and the working model are displayed in the same region in different colors), and structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud picture reflecting stress in the two models are displayed, so that comparison content is provided for a user, the user can conveniently and quickly judge whether design modification meets design requirements according to the comparison content displayed in real time, and design efficiency is improved.
And, in order to prevent the working model from exceeding the display range of the second area, carry on the corresponding size adjustment to primitive model and working model. In order to make the comparison content more obviously presented to the user, the drawing scales of the stress cloud chart reflecting the deformation of the displacement, the arrow reflecting the thrust and the stress are correspondingly adjusted. Furthermore, the method facilitates the comparison of complex design modifications. If a load cause may cause two effects, which are correlated and even contradictory, for example, temperature load response and seismic load response are typically contradictory for the same design, the more flexible the system is for temperature loads and the more rigid the system is for seismic loads, for a piping system design, in which case repeated modifications, trial and comparison checks are required. By adopting the model modification method of the embodiment, whether the modification is reserved or abandoned can be quickly judged.
Example 2:
as shown in fig. 4, the present embodiment provides a model modification apparatus, which includes a display module 41, an obtaining module 42, a drawing module 43, and a replacing module 44.
And the display module 41 is used for calling the original models, displaying the two original models in a display interface in a distinguishing manner, and receiving design modification performed on one of the original models in the display interface so as to display the working model.
And the obtaining module 42 is connected with the display module 41 and is configured to obtain calculation results of the original model and the working model respectively, where the calculation results include displacement, thrust, and stress, and the calculation results of the original model only need to be obtained once.
And the drawing module 43 is connected with the display module 41 and the obtaining module 42, and is configured to draw comparison contents of the original model and the working model on the display interface respectively by using the same first scale, where the comparison contents include structural deformation reflecting displacement, an arrow reflecting thrust, and a stress cloud chart reflecting stress.
And the replacing module 44 is connected with the display module 41 and is used for replacing the original model with the working model into a new original model after receiving the confirmation information.
Optionally, the display module comprises a first display unit and a second display unit.
And the first display unit is used for calling the original model and displaying the original model in a first area of the display interface.
And the second display unit is used for calling the original model and displaying the original model in a second area of the display interface.
Optionally, the rendering module includes a first rendering unit, a second rendering unit, and a third rendering unit.
A first drawing unit, configured to draw the structural deformation of the original model and the working model at the investigation point in a first region and a second region, respectively, where a coordinate of the original model after the structural deformation of the investigation point after applying a load is a coordinate of the investigation point before applying a load + a deformation displacement amount of the original model is a first displacement scale, a coordinate of the working model after applying a load at the investigation point after deforming the structural deformation is a coordinate of the investigation point before applying a load + a deformation displacement amount of the working model is a first displacement scale, a coordinate of the working model after applying a load at the investigation point after deforming the structural deformation is a coordinate of the investigation point in the working model + a deformation displacement amount of the working model is a first displacement scale, where the first displacement scale is L + a first ratio/Dmax, where L is a maximum value of a linear distance of the pipeline in the three-dimensional coordinate system, and the first ratio is smaller than 1, dmax is the maximum value of the deformation displacement amount.
And the second drawing unit is used for drawing arrows of the original model and the working model in the first area and the second area respectively, wherein the arrows comprise a starting point, a direction and a size, the end point coordinate of the arrow of the original model is the starting point coordinate of the original model plus the thrust value of the original model and is a first thrust scale, the end point coordinate of the arrow of the working model is the starting point coordinate of the working model plus the thrust value of the working model and is the first thrust scale, and the first thrust scale is L and is a first scale/dmax, and dmax is the maximum value of the thrust value.
And the third drawing unit is used for drawing the stress cloud pictures of the original model and the working model in the first area and the second area respectively, the stress cloud pictures and the working model have the same stress cloud picture color bar scale, and the stress cloud picture color bar scale is manufactured according to the range of the maximum stress value as the scale.
Optionally, the model modification apparatus further includes a control operation module, connected to the first display unit and the second display unit, and configured to enable a control operation to simultaneously act on the original model and the working model when performing a control operation on the display content of the original model or the working model, where the control operation includes a zoom display operation, a change in a direction viewed by a user, a change in a content viewed by a user, and a movement or rotation of the original model and/or the working model.
Optionally, the apparatus for model modification further comprises an adjustment module. And the adjusting module is used for adjusting the sizes of the original model, the working model and the comparison content of the original model and the working model in the display interface so as to enable the display interface to reasonably display the original model, the working model and the comparison content of the original model and the working model.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A method of model modification, comprising:
calling an original model, and displaying the two original models in a display interface in a distinguishing way;
designing and modifying one of the original models of the display interface to obtain a working model;
respectively obtaining calculation results of the original model and the working model, wherein the calculation results comprise displacement, thrust and stress;
respectively drawing comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud chart reflecting stress;
and confirming whether the working model meets the design requirements or not according to the display content of the display interface, and replacing the original model with the working model to form a new original model when the working model meets the design requirements, wherein the display content comprises the model and comparison content.
2. The method for modifying a model according to claim 1, wherein the calling the original model and displaying the two original models in a display interface in a differentiated manner specifically includes:
and calling the original models, and respectively displaying the two original models in a first area and a second area of a display interface.
3. The model modification method according to claim 2, wherein the step of drawing the comparison contents of the original model and the working model on the display interface by using the same first scale comprises:
the first scale comprises a first displacement scale, a first thrust scale and a stress cloud chart color bar scale,
respectively drawing the structural deformation of the original model and the reactive displacement of the working model at the investigation point in a first area and a second area, wherein the coordinate of the original model after the structural deformation of the investigation point after applying a load is the coordinate of the investigation point before applying the load plus the deformation displacement quantity of the original model is a first displacement scale, the coordinate of the working model after applying the load is the coordinate of the investigation point before applying the load plus the deformation displacement quantity of the working model is the first displacement scale,
the coordinate of the work model after the structure is deformed after the observation point applies load is the coordinate of the observation point in the work model plus the deformation displacement of the work model, wherein the first displacement scale is L, the first proportion/Dmax, L is the maximum value of the linear distance of the pipeline in the three-dimensional coordinate system, the first proportion is less than 1, and Dmax is the maximum value of the deformation displacement,
respectively drawing arrows of reaction thrust of the original model and the working model in a first region and a second region, wherein the arrows comprise a starting point, a direction and a magnitude, the end point coordinate of the arrow of the original model is the starting point coordinate of the original model + the thrust value of the original model is a first thrust scale, the end point coordinate of the arrow of the working model is the starting point coordinate of the working model + the thrust value of the working model is the first thrust scale, the first thrust scale is L-first scale/dmax, and dmax is the maximum value of the thrust value,
and respectively drawing stress cloud pictures of the original model and the working model in the first area and the second area, wherein the two areas have the same stress cloud picture color bar scale, and the stress cloud picture color bar scale is manufactured according to the maximum stress value as the range of the scale.
4. The model modification method according to claim 1, further comprising, after the drawing the comparative contents of the original model and the working model on the display interface with the same first scale respectively:
and when the control operation is carried out on the display content of the original model or the working model, the control operation is simultaneously acted on the original model and the working model, wherein the control operation comprises the steps of zooming the display operation, changing the viewing direction of the user, changing the viewing content of the user and moving or rotating the original model or the working model.
5. The model modification method according to claim 1, further comprising, after the drawing the comparison contents of the original model and the working model on the display interface with the same first scale respectively, and before confirming whether the working model meets the design requirement according to the display contents of the display interface:
and adjusting the sizes of the original model, the working model and the comparison content of the original model and the working model in the display interface so that the display interface reasonably displays the original model, the working model and the comparison content of the original model and the working model.
6. The model modification method according to claim 5, wherein the adjusting of the sizes of the original model and the working model and the comparison contents of the two in the display interface specifically comprises:
multiplying the original model and the working model and the comparison content of the original model and the working model by a second proportion, wherein the second proportion is less than 1,
alternatively, the first and second electrodes may be,
and multiplying the working model and the contrast content thereof by a third proportion so that the working model does not exceed the display range of the second area, and simultaneously multiplying the original model and the contrast content thereof by the third proportion, wherein the third proportion is less than 1.
7. Method for model modification according to any of claims 1-6, wherein the display content further comprises values or curves corresponding to displacements, thrusts, stresses.
8. The method for modifying a model according to any one of claims 1 and 4 to 6, wherein the calling the original model and displaying two original models in a display interface in a differentiated manner specifically comprises:
and calling the original model, and displaying two completely coincident original models in two different colors on a display interface, wherein the colors comprise a first color and a second color.
9. The model modification device is characterized by comprising a display module, an acquisition module, a drawing module and a replacement module,
the display module is used for calling the original models, displaying the two original models in a display interface in a distinguishing way, receiving design modification on one of the original models of the display interface to display the working model,
an acquisition module connected with the display module and used for respectively acquiring the calculation results of the original model and the working model, wherein the calculation results comprise displacement, thrust and stress,
the drawing module is connected with the display module and the acquisition module and used for respectively drawing the comparison contents of the original model and the working model on the display interface by using the same first scale, wherein the comparison contents comprise structural deformation reflecting displacement, an arrow reflecting thrust and a stress cloud picture reflecting stress,
and the replacing module is connected with the display module and used for replacing the original model with the working model into a new original model after receiving the confirmation information.
10. Model modifying apparatus as claimed in claim 9, characterized in that the display module comprises a first display unit and a second display unit,
the first display unit is used for calling the original model and displaying the original model in a first area of the display interface,
and the second display unit is used for calling the original model and displaying the original model in a second area of the display interface.
CN202210058116.5A 2022-01-19 2022-01-19 Model modification method and device Pending CN114386130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210058116.5A CN114386130A (en) 2022-01-19 2022-01-19 Model modification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210058116.5A CN114386130A (en) 2022-01-19 2022-01-19 Model modification method and device

Publications (1)

Publication Number Publication Date
CN114386130A true CN114386130A (en) 2022-04-22

Family

ID=81203152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210058116.5A Pending CN114386130A (en) 2022-01-19 2022-01-19 Model modification method and device

Country Status (1)

Country Link
CN (1) CN114386130A (en)

Similar Documents

Publication Publication Date Title
US9122442B2 (en) Systems and methods for scaling visualizations
JP3514947B2 (en) Three-dimensional image processing apparatus and three-dimensional image processing method
US20130191771A1 (en) Vehicle measurement system with user interface
CN111414508B (en) Method and terminal for searching and realizing visualization in design model
CN114386130A (en) Model modification method and device
CN114037987A (en) Intelligent identification method, device, medium and equipment for scrap steel
JP2013073604A (en) Measuring device and measuring program
JPH08240447A (en) Analog type display measuring meter and its display method
US5982377A (en) Three-dimensional graphic displaying system and method
CN110555902B (en) Monocular vision measurement cooperative target vision simulation system
JP2006350675A (en) Software test system
US6856325B2 (en) Information processing method and apparatus
EP2449340B1 (en) Vehicle measurement system with user interface
JPH08314997A (en) Coordinate measuring system for multidimensional shape and method for teaching measurement information
JP2736870B2 (en) 3D graphic data reduction method
JPH0660164A (en) Three-dimensional shape processing system
CN111679773B (en) Feature measurement and display method based on windows
JP2696028B2 (en) Water distribution simulation device
JP2522787Y2 (en) Image processing device
Ning et al. Automatic analysis of moiré fringe patterns by using an image-processing system
WO2023228244A1 (en) Information processing device, information processing method, and recording medium
Liu et al. Design and implementation of a line simplification algorithm for network measurement system
CN117788437A (en) Data enhancement method, deformation detection method and visual detection system
JPH02310678A (en) Graphic processing system
JPS63211466A (en) Graphic input device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination