Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.The present invention implementation being generally described and illustrated herein in the accompanying drawings
The component of example can be configured to arrange and design with a variety of.Therefore, the reality of the invention to providing in the accompanying drawings below
The detailed description for applying example is not intended to limit the scope of claimed invention, but is merely representative of the selected implementation of the present invention
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
Every other embodiment, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Fig. 1 shows a kind of structured flowchart for the electronic equipment 100 that can be applied in the embodiment of the present invention.As shown in figure 1,
Electronic equipment 100 can include memory 102, storage control 104, one or more (one is only shown in Fig. 1) processors
106th, Peripheral Interface 108, input/output module 110, audio-frequency module 112, display module 114, radio-frequency module 116 and residual stress
It is worth acquisition device.
Memory 102, storage control 104, processor 106, Peripheral Interface 108, input/output module 110, audio mould
Directly or indirectly electrically connected between block 112, display module 114,116 each element of radio-frequency module, with realize the transmission of data or
Interaction.For example, electrical connection can be realized by one or more communication bus or signal bus between these elements.Residual stress
Value-acquiring method can be stored in memory 102 including at least one in the form of software or firmware (firmware) respectively
Software function module, such as the software function module or computer program that the residual-stress value acquisition device includes.
Memory 102 can store various software programs and module, the residual-stress value provided such as the embodiment of the present application
Programmed instruction/module corresponding to acquisition methods and device.Processor 106 is by running the software journey of storage in the memory 102
Sequence and module, so as to perform various function application and data processing, that is, realize the residual-stress value in the embodiment of the present application
Acquisition methods.
Memory 102 can include but is not limited to random access memory (Random Access Memory, RAM), only
Read memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Processor 106 can be a kind of IC chip, have signal handling capacity.Above-mentioned processor can be general
Processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network
Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.It can
To realize or perform disclosed each method, step and the logic diagram in the embodiment of the present application.General processor can be micro-
Processor or the processor can also be any conventional processors etc..
Various input/output devices are coupled to processor 106 and memory 102 by the Peripheral Interface 108.At some
In embodiment, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
Input/output module 110 is used to be supplied to user input data to realize interacting for user and electronic equipment 100.It is described
Input/output module 110 may be, but not limited to, mouse and keyboard etc..
Audio-frequency module 112 provides a user COBBAIF, and it may include one or more microphones, one or more raises
Sound device and voicefrequency circuit.
Display module 114 provides an interactive interface (such as user interface) between electronic equipment 100 and user
Or referred to for display image data to user.In the present embodiment, the display module 114 can be liquid crystal display or touch
Control display.If touch control display, it can be that the capacitance type touch control screen or resistance-type for supporting single-point and multi-point touch operation touch
Control screen etc..Single-point and multi-point touch operation is supported to refer to that touch control display can sense on the touch control display one or more
Individual opening position is with caused touch control operation, and the touch control operation that this is sensed transfers to processor 106 to be calculated and handled.
Radio-frequency module 116 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.
It is appreciated that structure shown in Fig. 1 is only to illustrate, electronic equipment 100 may also include it is more more than shown in Fig. 1 or
Less component, or there is the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its
Combination is realized.
In the embodiment of the present invention, electronic equipment 100 can be used as user terminal, or as server.User terminal
Can be PC (personal computer) computer, tablet personal computer, mobile phone, notebook computer, intelligent television, set top box, vehicle-mounted
The terminal devices such as terminal.
First embodiment
Referring to Fig. 2, the embodiments of the invention provide a kind of residual stress value-acquiring method, methods described includes:Step
S200, step S210, step S220, step S230 and step S240.
Step S200:Explicit result fileinfo to be calculated is read, is shown corresponding to the explicit result fileinfo
Visualized objects.
In the present embodiment, the explicit result fileinfo can be explicit dynamical cutting calculating object information such as odb
Fileinfo.As shown in figure 3,10 represent cutting finite element, and after the completion of explicit cutting analysis, cutting finite element 10
In simultaneously 12 two parts of workpiece 11 and cutter be present.Workpiece 11 includes unsegregated remaining workpiece material 11a and separated
Chip 11b, unsegregated remaining workpiece material 11a can not be directly used in follow-up implicit analysis of Residual Stress, because cutting
Be likely present on bevel " illegal " unit of rigid body mode either unit set (such as by a node or two nodes
The volume elements of connection or its set), in addition, the influence constringent unit of residual stress calculation or its set (such as pass through a node
The flat unit of connection or its set).
Step S210:Based on visualized objects corresponding to the explicit result file and default overlap joint search rule, obtain
Obtain main body material cell set.
Based on step S210, further, one of visualized objects corresponding to the explicit result fileinfo is obtained
Unit, since the unit, unit of the connecting node number in the visualized objects not less than N is overlapped, obtains main body
Material cell set.The default overlap joint search rule can be since the unit, will be connected in the visualized objects
Unit of the nodes not less than N is overlapped.
Specifically, the cell node is regarded as hinged joint, the geometrically stable system principle based on structural mechanics, from the unit
Start, unit overlap joint of the connecting node number not less than N is come in, ultimately forms the main body material that can be directly used for residual stress calculation
Material unit set.N value can be 2 and 3.N takes the dimension problem of 2 expression 2, and N takes 3 expression 3-dimensional problems.
Step S220:Based on original file information and the material of main part corresponding to the explicit result file read
Unit set, the explicit result fileinfo after being reconstructed.
Based on step S220, further, according to original file information corresponding to the explicit result file read
Analysis set, established using the material of main part unit set and restart Study document, then after restarting analyzing and processing,
Explicit result fileinfo after being reconstructed.
In the present embodiment, by taking Abaqus software implementations as an example, original document corresponding to the explicit result file is read
Information, set according to the analysis of original file information corresponding to the explicit result file read, utilize the main body of search
Bill of materials metaset is established and restarts Study document;Corresponding to the explicit result file on original file information carry out it is one short
Temporary restarts analysis, for example, by * restart analysis realizations, to ensure to write material of main part in file in all restart
Collect information;Explicit result fileinfo after being reconstructed.
Step S230:Based on the explicit result fileinfo after the reconstruct and default setting rule, output is remaining should
Power calculation document information.
The default setting rule sets rule, analyzes related setting rule and applies model about including basic solution
Beam rule, based on step S230, further, set rule, analysis correlation that rule is set and applied according to the basic solution
Add model constraint rule, carry out basic solution to the display destination file information after the reconstruct respectively and set, analyze correlation
After rule is set and applies model constraint, residual stress calculation fileinfo is exported.
The model constraint rule that applies can include the regular and manual constraint rule of automatic inertial release restraint application
Then.
In the present embodiment, by taking Abaqus software implementations as an example, for example, it is necessary to use during residual stress calculation
From display solver to the data transfer of Implicit Method device, analyzing related setting rule can be realized by * import analyses, it
It is a kind of mode that data transfer is carried out between Abaqus/Standard and Abaqus/Explicit.
Step S240:Perform and calculate the residual stress calculation fileinfo, show residual stress calculation result.
In order to further illustrate simple to operate, the beneficial effect of residual stress value-acquiring method provided in an embodiment of the present invention
Fruit, in the present embodiment, plug-in unit journey is carried out to the residual stress calculation of metal cutting process using Abaqus script interfaces
Sequence designs (RSC, Residual Stress Calculator), including kernel and gui program design.Have with Abaqus softwares
Body is realized.In numerous finite element analysis softwares, the second development interface tool that Abaqus softwares provide has great advantage, and it is carried
The interface of confession includes following two:User's favorite subroutine interface and Abaqus script interfaces.User's favorite subroutine interface (User
Subroutine), the interface is developed using Fortran language, is mainly used in self-defined constitutive relation, self-defined unit
Deng.Conventional user's favorite subroutine includes (V) UMAT, (V) UEL, (V) FRIC and (V) DLOAD etc..Abaqus script interfaces
(Abaqus Scripting Interface), the interface is the customized development carried out on the basis of Python, and it expands
Python object model and data type have been filled, has made the function of Abaqus script interfaces more powerful.Generally,
Abaqus script interfaces are mainly used in pre-treatment (for example, rapid modeling), post processing (for example, creating and accessing output data
Storehouse), custom block (for example, automatic post-processing module) etc..
Plug-in card program (plug-in) is a kind of comparatively simpler method for defining Abaqus/CAE graphic user interfaces (GUI),
Following two plug-in card programs can be created in Abaqus:Kernel plug-in card program and GUI plug-in card programs.Abaqus plug-in card programs have
Following characteristics:Plug-in card program filename is terminated with _ plugin.py;Ability is registered in Abaqus/CAE Plug-ins menus
Use;Kernel plug-in card program will perform corresponding function in specified module.
RSC plug-in units are mainly used in the residual stress of 2D or 3D cutting process simulations (structure or thermal-structure coupled process)
Calculate.To use RSC plug-in units to carry out residual stress calculation, meet following condition:Plug-in card program is located at abaqus_plugins mesh
Under record, generally, the catalogue is located at C:Users Administrator abaqus_plugins, needed before use by
Plug-in card program is copied under the catalogue;The calculation document of original explicit dynamical working angles is exported with non-assembly method;Remnants should
It is consistent with explicit dynamic analysis that power calculates the software version number used.
Further, residual stress calculation is correctly carried out, working directory includes the following original text of explicit cutting analysis
Part:jobname.inp、jobname.res、jobname.abq、jobname.stt、jobname.pac、jobname.prt、
These files of jobname.prt, jobname.prt, jobname.odb by for restarting during residual stress calculation and
State initialization.
The master file of residual stress calculation generation is as follows:
Residual_Stress.cae is Abaqus/CAE model files, and the whole comprising residual stress calculation is set;
Jobname_rsc.inp is the INP files of residual stress calculation;
Jobname_rsc.odb is the ODB files of residual stress calculation.
The material type that RSC plug-in units are supported and the material type one that Abaqus/Standard * IMPORT analyses are supported
Cause, the material type that * IMPORT analyses are supported in latest edition Abaqus2016 at present is as follows:
linear elasticity
Mises plasticity(including the kinematic hardening models)
extended Drucker-Prager plasticity
crushable foam plasticity
Mohr-Coulomb plasticity
critical state(clay)plasticity
cast iron plasticity
concrete damaged plasticity
Johnson-Cook plasticity
hyperelasticity(including Mullins effect)
hyperfoam
viscoelasticity
traction-separation response with damage for cohesive elements
damage for ductile metals
damage for fiber-reinforced composites
connector behavior
materials defined in user subroutines UMAT and VUMAT
materials defined using the parallel rheological framework for
nonlinear viscoelastic-elastoplastic behavior
Other materials type supports the importing of stress state.
Specifically, it is as follows using RSC plug-in units progress residual stress calculation:
Abaqus/CAE is opened, explicit dynamical cutting calculating result (ODB files) to be calculated is loaded into active view
Window.RSC plug-in units are opened, user can select to carry out related setting, " Parameters setting " regional choices are built
The dimension (Modeling space) of modular space, " 3D " are three-dimensional problem, and " 2D Planar " are two dimensional surface problem, are defaulted as
“3D”;" unit pick up (Pick an element) ", picking up one in view area needs to carry out residual stress calculation region
One unit, the start element that this element will separate as material of main part;Time setting (Restart time) is restarted, to subtract
Few amount of calculation, need exist for setting a less time, acquiescence takes 1E-10;Initial gain amount step-length sets (Initial
Increment size), the initial gain amount step-length of setting residual stress calculation process, default value 0.1;Maximal increment step-length is set
Put (Maximum increment size), the maximal increment step-length of residual stress calculation process, default value 0.1 are set;Most
Big increment step number sets (Maximum increment size), sets the maximal increment step number of residual stress calculation process, writes from memory
Value is recognized for 200;Multiprocessor sets (Use multiple processors), sets the cpu access number of residual stress calculation,
Explicitly restart due to having been used during residual stress calculation, therefore set when the port number solves with preamble Explicit Dynamics
Number of active lanes it is consistent, the port number will also be used for implicit residual stress calculation, default value 1.
Further, the way of restraint of residual stress calculation model is set in " Constraints " region.It is silent to apply rule
Think automatic inertial release restraint, i.e. selection overcomes rigid body displacement to discharge (Use inertia relief) by inertia,
When selecting which to calculate residual stress, follow-up manual setting constraint option is unavailable, after being provided with, proceeds by residual
Residue stress calculates.In addition, the way of restraint can also include manual constraint rule, the constraint side of oneself is manually selected
Formula, first pre-processed, all pre-treatments except constraint can be provided with by preprocessing process Program, and view area individually shows
Model for residual stress calculation is shown, then carries out boundary condition manager (Boundary Condition Manager)
The setting of the inside, now user's can be arranged as required to desired the way of restraint.If defined in Explicit Analysis
Node set, here can also directly using gather into row constraint apply.After the completion of constraint applies, residual stress calculation is submitted;
When residual stress calculation is completed, program will show residual stress calculation result automatically in view area.
It should be noted that in the present embodiment, residual stress value-acquiring method provided in an embodiment of the present invention is to cut
Exemplified by cutting emulation, realized using RSC plug-in units, but it uses the residual stress calculation for being not only limited to cutting process,
The residual stress calculation of other materials processing or simulation process (element failure does not fail) can also be included, for example, plate
Punch forming, penetration etc..
A kind of residual stress value-acquiring method provided in an embodiment of the present invention, first read explicit result file letter to be calculated
Breath, shows visualized objects corresponding to the explicit result fileinfo;Based on visualization corresponding to the explicit result file
Object and default overlap joint search rule, obtain material of main part unit set;Again based on the explicit result file read
Corresponding original file information and the material of main part unit set, the explicit result fileinfo after being reconstructed;Then base
Explicit result fileinfo and default setting rule after the reconstruct, export residual stress calculation fileinfo;Perform
The residual stress calculation fileinfo is calculated, shows residual stress calculation result, is separated with this realization body material, is obtained residual
Residue stress result of calculation, drastically increases computational efficiency, gives practice and provides theory directive significance.
Second embodiment
Referring to Fig. 4, the embodiments of the invention provide a kind of residual-stress value acquisition device 300, described device 300 includes
Reading unit 310, overlap joint unit 320, reconfiguration unit 330, output unit 340 and display unit 350.
Reading unit 310, for reading explicit result fileinfo to be calculated, show the explicit result fileinfo
Corresponding visualized objects.
Unit 320 is overlapped, for based on visualized objects corresponding to the explicit result file and default overlap joint search
Rule, obtain material of main part unit set.
Overlap joint subelement 331 can be included by overlapping unit 330.
Subelement 331 is overlapped, for obtaining a unit of visualized objects corresponding to the explicit result fileinfo,
Since the unit, unit of the connecting node number in the visualized objects not less than N is overlapped, obtains material of main part list
Member set.
Reconfiguration unit 340, for based on original file information corresponding to the explicit result file read and described
Material of main part unit set, the explicit result fileinfo after being reconstructed.
Reconfiguration unit 340 can include reconstruct subelement 341.
Subelement 341 is reconstructed, point for the original file information according to corresponding to the explicit result file read
Analysis is set, and is established using the material of main part unit set and is restarted Study document, then after restarting analyzing and processing, is obtained
Explicit result fileinfo after reconstruct.
Output unit 350, for based on the explicit result fileinfo after the reconstruct and default setting rule, output
Residual stress calculation fileinfo.
Output unit 350 can include output subelement 351.
The default setting rule sets rule, analyzes related setting rule and applies model about including basic solution
Beam rule.
Subelement 351 is exported, for setting rule, analysis correlation to set rule according to the basic solution and applying mould
Type constraint rule, basic solution is carried out to the display destination file information after the reconstruct respectively and sets, analyze related set
After rule and application model constraint, residual stress calculation fileinfo is exported.
The model constraint rule that applies includes the regular and manual constraint rule of automatic inertial release restraint application.
Display unit 360, the residual stress calculation fileinfo is calculated for performing, shows residual stress calculation knot
Fruit.
Above each unit can be that now, above-mentioned each unit can be stored in memory 110 by software code realization.
Above each unit can equally be realized by hardware such as IC chip.
Residual-stress value acquisition device 400 provided in an embodiment of the present invention, its realization principle and caused technique effect and
Preceding method embodiment is identical, and to briefly describe, device embodiment part does not refer to part, refers in preceding method embodiment
Corresponding contents.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function
Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation any this reality be present
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including
The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.