CN114492119A - Electrochemical actuator structure optimization analysis method and system based on genetic algorithm - Google Patents

Electrochemical actuator structure optimization analysis method and system based on genetic algorithm Download PDF

Info

Publication number
CN114492119A
CN114492119A CN202210026720.XA CN202210026720A CN114492119A CN 114492119 A CN114492119 A CN 114492119A CN 202210026720 A CN202210026720 A CN 202210026720A CN 114492119 A CN114492119 A CN 114492119A
Authority
CN
China
Prior art keywords
genetic algorithm
finite element
model
setting
electrochemical actuator
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
CN202210026720.XA
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN202210026720.XA priority Critical patent/CN114492119A/en
Publication of CN114492119A publication Critical patent/CN114492119A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C60/00Computational materials science, i.e. ICT specially adapted for investigating the physical or chemical properties of materials or phenomena associated with their design, synthesis, processing, characterisation or utilisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/10Numerical modelling

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Biophysics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Evolutionary Biology (AREA)
  • Artificial Intelligence (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Genetics & Genomics (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Molecular Biology (AREA)
  • Physiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an electrochemical actuator structure optimization analysis method and system based on a genetic algorithm, which are suitable for finite element method numerical simulation calculation of an electrochemical actuation reaction process of a material in electrolyte, and simultaneously achieve the aim of optimizing the actuation performance of the material by combining the genetic algorithm. The method is based on an intrinsic stress model, combines a finite element method, realizes automatic random modeling through a program to effectively calculate the macroscopic strain of the material under different structures, optimizes the structure of the material to increase the macroscopic strain of the material under the condition of combining a genetic algorithm, and effectively improves the actuating performance of the material. The method can realize automatic random modeling by using a finite element method, simulate various electrochemical actuators with different configurations, automatically extract the macroscopic strain of the structure by applying surface stress, and finally reversely optimize the structure of the material by combining a genetic algorithm, so that the required computing resources and computing time are less, the efficiency is higher, and the cost is lower.

Description

Electrochemical actuator structure optimization analysis method and system based on genetic algorithm
Technical Field
The invention relates to an electrochemical actuator structure optimization analysis method and system, which are suitable for numerical simulation calculation of a finite element method in an electrochemical actuation reaction process of a material in electrolyte, and simultaneously achieve the aim of optimizing the actuation performance of the material by combining a genetic algorithm.
Background
Electrochemical devices that convert electrical energy into mechanical energy range from soft robotics, auto-focusing microlenses to artificial muscles, all with great potential. Achieving large strains has heretofore remained challenging for electrochemical actuators.
The electrochemical actuator has the outstanding advantage of low operating voltage and operation in an electrolyte solution. It has been found that ligament size and configuration of electrochemical actuators can affect macroscopic deformation of materials in electrolyte solutions, thereby altering material properties. Therefore, before the electrochemical actuator material is tested and produced, if the electrochemical actuator material can be screened to give the optimal configuration, the test cost can be reduced, and the actuating performance of the material can be improved.
Finite Element Analysis (FEA) is a modern computational method that has been rapidly developed for structural mechanics analysis. The ABAQUS is one of the most advanced international large-scale general finite element calculation analysis software, and is widely applied to the fields of hydraulic engineering, civil engineering, bridges, machinery, mechanics, physics and almost all scientific research and engineering technologies. The electrochemical actuation phenomenon can be simulated by using finite element software (ABAQUS), the macroscopic strain of the material is analyzed by adjusting the structure of the material, and the structure of the material is optimized reversely. The realization of the whole process and the result data are very valuable to industrial production and scientific research, and how to combine the finite element analysis method with the research of the electrochemical actuator becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to solve the problems in the prior art, the present invention aims to overcome the defects in the prior art, and provides a method and a system for optimizing and analyzing a structure of an electrochemical actuator based on a genetic algorithm, wherein finite element analysis is adopted in the design of a material structure to realize controllable material deformation behavior. The invention develops a method for simulating the actuation phenomenon of a material in electrolyte by combining a finite element method based on an intrinsic stress model, realizes automatic random modeling by a program, achieves the purpose of effectively calculating the macroscopic strain of the material under different structures, optimizes the structure of the material to increase the macroscopic strain of the material under the condition of combining a genetic algorithm, and effectively improves the actuation performance of the material. The method can realize automatic random modeling by using a finite element method, simulate various electrochemical actuators with different configurations, realize automatic extraction of macroscopic strain of the structure by applying surface stress, and finally reversely optimize the structure of the material by combining a genetic algorithm.
In order to achieve the purpose of the invention, the invention adopts the following inventive concept:
a method for simulating the actuation phenomenon of a material in an electrolyte comprises the following steps:
(1) based on the intrinsic stress model, corresponding automatic random modeling finite element program codes are compiled, and the corresponding finite element program codes and the finite element software are combined and called, so that models with different shapes formed by random sequences can be generated. The modeling part is skillfully completed by coding, and digital modeling can be realized.
(2) Finite element pre-processing is carried out, corresponding automatic pre-processing program codes are written, and then the constitutive relation of the materials is defined by writing subprogram umat so as to expand the functions of the programs. In order to simulate the actuation phenomenon of the material in the electrolyte, program codes are written to realize the application of the surface stress of the material based on an intrinsic stress model, the interaction between components and the setting of boundary conditions.
(3) In order to analyze the results quickly and intuitively, a script program needs to be written to perform post-processing on the model. And calculating the maximum displacement distance and strain by extracting node information of the model. The method for simulating the actuation phenomenon of the material in the electrolyte can calculate the macroscopic strain generated by the materials with different configurations under the induction of the surface stress.
Second, optimize the actuation effect of the material
By using the biological evolution theory for reference, the problem to be solved by the genetic algorithm is simulated into a biological evolution process, the next generation solution is generated through operations such as copying, crossing, mutation and the like, the solution with low fitness function value is gradually eliminated, and the solution with high fitness function value is increased. Therefore, the evolution of N generations can be used for further developing individuals with high fitness function values. This implementation is actually like the evolution process in nature. First a scheme is sought to "digitally" encode the problem potential solution. A mapping relationship between phenotype and genotype is established for the model configuration, and a population is initialized with random numbers, and the individuals in the population are the digitized codes. And then, after a proper decoding process (obtaining a specific configuration of the model in the finite element software), carrying out fitness evaluation on each gene individual by using a fitness function (carrying out finite element method preprocessing, calculation and result extraction on the model, wherein the larger the strain is, the better the actuating effect of the material is, and the higher the fitness is correspondingly). The selection function is used to select preferentially according to a certain specification. Allowing individual gene variation. Progeny are then generated (it is desired that the more adaptable configuration be retained and inherited to the next generation).
According to the inventive concept, the invention adopts the following technical scheme:
a method for analyzing the structure optimization of an electrochemical actuator based on a genetic algorithm comprises the following steps:
a. digital modeling, namely mapping the genotype and the phenotype of the model:
firstly, establishing a cube based on an origin of a coordinate system, and numbering each surface of the cube; because the structure is a symmetrical structure, a symmetrical part is constructed on a two-dimensional plane; on the basis of stipulating the starting point and the end point of the two-dimensional plane structure, representing a path by using the numbered figures, obtaining the two-dimensional structure, then carrying out rotary mirror image to generate a complete material structure, and defining the constitutive relation of the material by using a umat subprogram; mapping the genotype and the phenotype of the model to obtain a material model;
b. simulation of deformation under the induction of surface stress of a material:
according to the model obtained in the step a, a finite element method is adopted to simulate the deformation of the material under the induction of the surface stress, and the method comprises the following steps:
(1) writing a Fortran script, namely a for file, and providing a Jacobian (Jacobian) matrix of an outer shell material constitutive structure, namely the change rate of the stress increment to the strain increment;
(2) the python script, i.e. the py file, is written, and mainly comprises the following simulation parameters:
(2-1) performing solid processing on the built model to form a shell to obtain a shell part; material constants were defined by General-UserMaterial;
(2-2) adding an analysis Step-1, setting the time length to be 1, setting the maximum increment Step number to be 100, setting the minimum increment Step number to be 1e-5, and opening geometric nonlinearity;
(2-3) after the solid part and the shell part are assembled, setting the two parts to interact, wherein the property is binding;
and (2-4) setting the midpoint in the outermost layer plane in all directions of the solid part as a point set, setting a boundary condition of hinging U1 (U2) U3 (0) to the body center of the model, namely (0,0), and constraining all translational degrees of freedom. Wherein, U1, U2 and U3 are X, Y, Z directions under a rectangular coordinate system respectively;
(2-5) using a free meshing method to perform tetrahedral meshing on the solid part using C3D10 cells in Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-6) performing linear and reduction integral and quadrilateral shell unit (S4R) meshing on the shell component by using a free meshing method and adopting a step algorithm in the Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-7) calling a Umat subprogram and submitting a task and calculation;
(3) operating the script program by using Abaqus finite element software to obtain a calculation result, so as to simulate the actuation phenomenon of the material in the electrolyte and calculate the macroscopic strain of the materials with different configurations under the induction of surface stress;
in the step b, the structure of the material is optimized by using a genetic algorithm, and the result is automatically extracted by using parametric modeling.
Preferably, in the step a, finite element preprocessing is performed, a corresponding automatic preprocessing program code is written, and then the umat subprogram is used for defining the constitutive relation of the material so as to expand the functions of the program; in order to simulate the actuation phenomenon of the material in the electrolyte, program codes are written to realize the application of the surface stress of the material, the interaction between the components and the setting of boundary conditions based on an intrinsic stress model.
Preferably, in the step (3), the result obtained by the simulation is analyzed through post-processing, the point set in the model is marked, extracted and operated in a python program file form, and finally output in a txt file form, and the result obtained through post-processing represents the actuation effect data of the structure.
Preferably, by utilizing the mapping relation between the genotype and the phenotype of the structure, the algorithm and the finite element software Abaqus are mutually called in a form of a digital sequence, and by using the biological evolution theory, the configuration with poor actuating effect is gradually eliminated, the solution with good actuating effect is added, and the finite element simulation calculation is carried out aiming at the actuating reaction of the material in the electrolyte, so that the finite element simulation process is completed.
Preferably, in the step b, the step of optimizing the structure of the material by using a genetic algorithm comprises the following steps:
b-1, setting evolution algebra and starting circulation;
b-2, evaluating the fitness of the individual corresponding to each gene sequence;
b-3, selecting two individuals from the population as a father party and a mother party according to the principle that the higher the fitness and the higher the selection probability;
b-4, extracting chromosomes of the parents and the parents, and performing crossing to generate offspring;
b-5, carrying out mutation on the chromosomes of the offspring;
b-6, repeating the steps b-3, b-4 and b-5 until a new population is generated;
b-7, ending the cycle.
An electrochemical actuator structure optimization analysis system based on genetic algorithm mainly comprises a memory and a processor; wherein the memory is to store a computer program; the processor is used for executing the computer program of the electrochemical actuator structure optimization analysis method based on the genetic algorithm.
Preferably, the material actuation effect optimization program is an iterative optimization using a written python program.
Preferably, the invention utilizes the secondary development of Abaqus and Python, combines a genetic algorithm program to carry out iterative optimization, and calls finite element software Abaqus to obtain the strain value of each individual during each iteration; and then, carrying out fitness value evaluation by utilizing the obtained strain value substituting function, then carrying out probability redistribution by utilizing the obtained fitness value, carrying out selective cross variation on the gene to transmit the optimal configuration to the next generation, and finally, automatically finishing the cycle when the set evolution algebra is reached.
Preferably, the method is used for simulating the actuation phenomenon of the material in the electrolyte under the induction of surface stress, and the actuation effect is optimized by combining a genetic algorithm for the process so as to select the optimal configuration capable of generating the maximum actuation strain.
Compared with the prior art, the invention has the following obvious and prominent substantive characteristics and remarkable advantages:
1. the method realizes parametric modeling, establishes a mapping relation between the phenotype and the genotype of the model, can quickly and effectively simulate the deformation process of different configurations, and provides a faster modeling method for quickly researching the actuation behavior of the material;
2. the method is a finite element method calculation simulation developed based on an intrinsic stress model, further promotes the application of the finite element method in the direction of the electrochemical actuator, completely realizes an automatic flow through a script program, and can effectively improve the pretreatment efficiency and promote the simulation research process;
3. the method has guiding significance on experiments through material macroscopic strain obtained through finite element software Abaqus simulation calculation, and can provide an optimal configuration for related researches to a certain extent so as to achieve the maximum actuating strain, save materials and optimize the configuration.
Drawings
FIG. 1 is a flow chart of the deformation of a model with different configurations under the induction of surface stress calculated by finite element simulation in combination with a genetic algorithm according to a preferred embodiment of the present invention.
FIG. 2 is an illustration derived from Abaqus2020 finite element software modeling of a preferred embodiment of the present invention, and represents a mapping between genotypes and phenotypes for the model, for example, as a single gene sequence.
Fig. 3 is a stress cloud derived from modeling calculation in Abaqus2020 finite element software according to a preferred embodiment of the present invention, and a graph of a model deformation result under the induction of a simulated surface stress is calculated by taking a graphene material as an example.
Fig. 4 is a schematic diagram of an optimal configuration of the gene sequences of 100 sample models, which are selected after 50 times of selection, mutation and recombination, which are calculated by combining a genetic algorithm with a graphene material as an example in the preferred embodiment of the present invention.
Detailed Description
The above-described embodiments are further described below with reference to specific examples. The preferred embodiments of the invention are detailed below:
the first embodiment is as follows:
as shown in fig. 1 and fig. 2, taking graphene as an example, the method for analyzing the structure optimization of an electrochemical actuator based on a genetic algorithm in this embodiment includes the following steps:
a. digital modeling, namely mapping the genotype and the phenotype of the model:
firstly, establishing a cube based on an origin of a coordinate system, and numbering each face of the cube; because the structure is a symmetrical structure, a symmetrical part is constructed on a two-dimensional plane; on the basis of stipulating the starting point and the end point of the two-dimensional plane structure, representing a path by using the numbered figures, obtaining the two-dimensional structure, then carrying out rotary mirror image to generate a complete material structure, and defining the constitutive relation of the material by using a umat subprogram; mapping the genotype and the phenotype of the model to obtain a material model;
b. simulation of deformation under the induction of surface stress of a material:
according to the model obtained in the step a, a finite element method is adopted to simulate the deformation of the material under the induction of the surface stress, and the method comprises the following steps:
(1) writing a Fortran script, namely a for file, and providing a Jacobian (Jacobian) matrix of an outer shell material constitutive structure, namely the change rate of the stress increment to the strain increment;
(2) the python script, i.e., the py file, is written, mainly containing the following simulation parameters:
(2-1) performing solid processing on the built model to form a shell to obtain a shell part; material constants were defined by General-UserMaterial; including modulus of elasticity and Poisson's ratio, and endowing the corresponding component with the modulus of elasticity and Poisson's ratio;
(2-2) adding an analysis Step-1, setting the time length to be 1, setting the maximum increment Step number to be 100, setting the minimum increment Step number to be 1e-5, and opening geometric nonlinearity;
(2-3) after the solid part and the shell part are assembled, setting the two parts to interact, wherein the property is binding;
and (2-4) setting the midpoint in the outermost layer plane in all directions of the solid part as a point set, setting a boundary condition of hinging U1 (U2) U3 (0) to the body center of the model, namely (0,0), and constraining all translational degrees of freedom. Wherein, U1, U2 and U3 are X, Y, Z directions under a rectangular coordinate system respectively;
(2-5) using a free meshing method to perform tetrahedral meshing on the solid part using C3D10 cells in Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-6) performing linear and reduction integral and quadrilateral shell unit (S4R) meshing on the shell component by using a free meshing method and adopting a step algorithm in the Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-7) calling a Umat subprogram and submitting a task and calculation;
(3) operating the script program by using Abaqus finite element software to obtain a calculation result, so as to simulate the actuation phenomenon of the material in the electrolyte and calculate the macroscopic strain of the materials with different configurations under the induction of surface stress;
in the step b, the structure of the material is optimized by using a genetic algorithm, and the result is automatically extracted by using parametric modeling.
The simulation results are shown in fig. 3. It can be seen from the figure that the in-plane load applied by the outer shell unit can affect the internal entity, and the stress distribution is uniform and has appropriate strain, which conforms to the actuation reaction phenomenon of graphene in the electrolyte. The embodiment realizes parametric modeling, establishes a mapping relation between the phenotype and the genotype of the model, can quickly and effectively simulate the deformation processes of different configurations, and provides a faster modeling method for quickly researching the actuation behavior of the material; the method is a finite element method calculation simulation developed based on an intrinsic stress model, promotes the application of the finite element method in the direction of the electrochemical actuator, completely realizes an automatic process through a script program, and can effectively improve the pretreatment efficiency and promote the simulation research process; the macroscopic strain of the material obtained by finite element software Abaqus simulation calculation in the method has guiding significance for experiments, and the optimal configuration is provided for related researches to a certain extent so as to achieve the maximum actuating strain, save materials and optimize the configuration.
Example two:
in this embodiment, in the step a, finite element preprocessing is performed, a corresponding automatic preprocessing program code is written, and then the umat subprogram is used to define the constitutive relation of the material, so as to expand the functions of the program; in order to simulate the actuation phenomenon of the material in the electrolyte, program codes are written to realize the application of the surface stress of the material, the interaction between the components and the setting of boundary conditions based on an intrinsic stress model.
In this embodiment, in the step (3), the result obtained by the simulation is analyzed through post-processing, the point set in the model is labeled, extracted and operated in a python program file form, and finally output in a txt file form, and the result of the post-processing represents the actuation effect data of the structure. The results of the simulation are shown in table 1.
TABLE 1 Gene sequence of the present invention and maximum strain information table extracted from the material configuration corresponding to the sequence by simulation calculation
Figure BDA0003464279690000071
Table 1 shows an example of graphene materials, and after model deformation under the induction of simulated surface stress is calculated, post-processing is performed, and the configuration and the maximum strain are extracted and written in a table. The embodiment realizes parametric modeling, establishes a mapping relation between the phenotype and the genotype of the model, can quickly and effectively simulate the deformation processes of different configurations, and provides a faster modeling method for quickly researching the actuation behavior of the material.
In this embodiment, the mapping relationship between the genotype and the phenotype of the structure is utilized, the algorithm and the finite element software Abaqus are mutually called in a form of a digital sequence, and by referring to the biological evolution theory, the configuration with poor actuation effect is gradually eliminated, the solution with good actuation effect is added, and the finite element simulation calculation is performed to complete the finite element simulation process aiming at the actuation reaction of the material in the electrolyte. The finite element simulation calculation developed by the embodiment aiming at the actuation reaction of the graphene material in the electrolyte further promotes the development of the finite element simulation for the reaction mechanism.
In this embodiment, in step b, the step of optimizing the structure of the material by using a genetic algorithm is as follows:
b-1, setting evolution algebra and starting circulation;
b-2, evaluating the fitness of the individual corresponding to each gene sequence;
b-3, selecting two individuals from the population as a father party and a mother party according to the principle that the higher the fitness and the higher the selection probability;
b-4, extracting chromosomes of the parents and the parents, and performing crossing to generate offspring;
b-5, carrying out mutation on the chromosomes of the offspring;
b-6, repeating the steps b-3, b-4 and b-5 until a new population is generated;
b-7, ending the cycle.
Fig. 4 is a schematic diagram of an optimal configuration obtained by calculating gene sequences of 100 sample models through a genetic algorithm after 50 times of selection, mutation, and recombination, taking a graphene material as an example, in this embodiment. The method is suitable for numerical simulation calculation of a finite element method in the process of electrochemical actuation reaction of the material in the electrolyte, and simultaneously achieves the aim of optimizing the actuation performance of the material by combining a genetic algorithm. The method is based on an intrinsic stress model, a method which can be used for simulating the actuation phenomenon of a material in electrolyte is developed by combining a finite element method, automatic random modeling is realized by a program to effectively calculate the macroscopic strain of the material under different structures, the structure of the material is optimized to increase the macroscopic strain of the material under the condition of combining a genetic algorithm, and the actuation performance of the material is effectively improved. The method can realize automatic random modeling by using a finite element method, simulate various electrochemical actuators with different configurations, automatically extract the macroscopic strain of the structure by applying surface stress, and finally reversely optimize the structure of the material by combining a genetic algorithm.
Example three:
this embodiment is substantially the same as the above embodiment, and is characterized in that:
in this embodiment, an electrochemical actuator structure optimization analysis system based on genetic algorithm comprises a memory and a processor; wherein the memory is to store a computer program; the processor is used for executing the computer program of the electrochemical actuator structure optimization analysis method based on the genetic algorithm.
The electrochemical actuator structure optimization analysis system based on the genetic algorithm can realize automatic random modeling by using a finite element method, simulate electrochemical actuators with various different configurations, automatically extract macroscopic strain of the structure by applying surface stress, and finally reversely optimize the structure of the material by combining the genetic algorithm.
The embodiments of the present invention have been described with reference to the accompanying drawings, but the present invention is not limited to the embodiments, and various changes and modifications can be made according to the purpose of the invention, and any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principle of the technical solution of the present invention shall be equivalent substitutions, as long as the purpose of the present invention is met, and the present invention shall fall within the protection scope of the present invention without departing from the technical principle and inventive concept of the present invention.

Claims (6)

1. An electrochemical actuator structure optimization analysis method based on genetic algorithm is characterized by comprising the following steps:
a. digital modeling, namely mapping the genotype and the phenotype of the model:
firstly, establishing a cube based on an origin of a coordinate system, and numbering each surface of the cube; because the structure is a symmetrical structure, a symmetrical part is constructed on a two-dimensional plane; on the basis of stipulating the starting point and the end point of the two-dimensional plane structure, representing a path by using the numbered figures, obtaining the two-dimensional structure, then carrying out rotary mirror image to generate a complete material structure, and defining the constitutive relation of the material by using a umat subprogram; mapping the genotype and the phenotype of the model to obtain a material model;
b. simulation of deformation under the induction of surface stress of a material:
according to the model obtained in the step a, a finite element method is adopted to simulate the deformation of the material under the induction of the surface stress, and the method comprises the following steps:
(1) writing a Fortran script, namely a for file, and providing a Jacobian (Jacobian) matrix of an outer shell material constitutive structure, namely the change rate of the stress increment to the strain increment;
(2) the python script, i.e., the py file, is written, mainly containing the following simulation parameters:
(2-1) performing solid processing on the built model to form a shell to obtain a shell part; defining Material constants by General-User Material;
(2-2) adding an analysis Step-1, setting the time length to be 1, setting the maximum increment Step number to be 100, setting the minimum increment Step number to be 1e-5, and opening geometric nonlinearity;
(2-3) after the solid part and the shell part are assembled, setting the two parts to interact, wherein the property is binding;
(2-4) setting the midpoint in the outermost layer plane of each direction of the solid part as a point set, setting a boundary condition of hinging the body center of the model, namely (0,0), namely setting U1-U2-U3-0, and constraining all translation degrees of freedom; wherein, U1, U2 and U3 are X, Y, Z directions under a rectangular coordinate system respectively;
(2-5) using a free meshing method to perform tetrahedral meshing on the solid part using C3D10 cells in Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-6) performing linear and reduction integral and quadrilateral shell unit (S4R) meshing on the shell component by using a free meshing method and adopting a step algorithm in the Abaqus/Standard, wherein the size of the mesh is 2.5;
(2-7) calling a Umat subprogram and submitting a task and calculation;
(3) operating the script program by using Abaqus finite element software to obtain a calculation result, so as to simulate the actuation phenomenon of the material in the electrolyte and calculate the macroscopic strain of the materials with different configurations under the induction of surface stress;
in the step b, the structure of the material is optimized by using a genetic algorithm, and the result is automatically extracted by using parametric modeling.
2. The genetic algorithm-based electrochemical actuator structural optimization analysis method of claim 1, wherein: in the step a, finite element pretreatment is carried out, corresponding automatic pretreatment program codes are compiled, and then the constitutive relation of the materials is defined through umat subprograms so as to expand the functions of the programs; in order to simulate the actuation phenomenon of the material in the electrolyte, program codes are written to realize the application of the surface stress of the material, the interaction between the components and the setting of boundary conditions based on an intrinsic stress model.
3. The genetic algorithm-based electrochemical actuator structural optimization analysis method of claim 1, wherein: in the step (3), the result obtained by simulation is analyzed through post-processing, the point set in the model is subjected to marking extraction and operation in a python program file form, and finally output in a txt file form, and the result obtained by post-processing represents the actuation effect data of the structure.
4. The genetic algorithm-based electrochemical actuator structural optimization analysis method of claim 1, wherein: by utilizing the mapping relation between the genotype and the phenotype of the structure, the algorithm and the finite element software Abaqus are mutually called in a digital sequence mode, and by using the biological evolution theory, the configuration with poor actuating effect is gradually eliminated, the solution with good actuating effect is added, and the finite element simulation calculation is carried out aiming at the actuating reaction of the material in the electrolyte, so that the finite element simulation process is completed.
5. The genetic algorithm-based electrochemical actuator structural optimization analysis method of claim 1, wherein: in step b, the step of optimizing the structure of the material by using a genetic algorithm comprises the following steps:
b-1, setting evolution algebra and starting circulation;
b-2, evaluating the fitness of the individual corresponding to each gene sequence;
b-3, selecting two individuals from the population as a father party and a mother party according to the principle that the higher the fitness and the higher the selection probability;
b-4, extracting chromosomes of the parents and the parents, and performing crossing to generate offspring;
b-5, carrying out mutation on the chromosomes of the offspring;
b-6, repeating the steps b-3, b-4 and b-5 until a new population is generated;
b-7, ending the cycle.
6. An electrochemical actuator structure optimization analysis system based on genetic algorithm, which is characterized in that: mainly comprises a memory and a processor; wherein the memory is to store a computer program; the processor for executing the computer program of the electrochemical actuator structure optimization analysis method based on genetic algorithm according to any one of claims 1 to 5.
CN202210026720.XA 2022-01-11 2022-01-11 Electrochemical actuator structure optimization analysis method and system based on genetic algorithm Pending CN114492119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210026720.XA CN114492119A (en) 2022-01-11 2022-01-11 Electrochemical actuator structure optimization analysis method and system based on genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210026720.XA CN114492119A (en) 2022-01-11 2022-01-11 Electrochemical actuator structure optimization analysis method and system based on genetic algorithm

Publications (1)

Publication Number Publication Date
CN114492119A true CN114492119A (en) 2022-05-13

Family

ID=81509398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210026720.XA Pending CN114492119A (en) 2022-01-11 2022-01-11 Electrochemical actuator structure optimization analysis method and system based on genetic algorithm

Country Status (1)

Country Link
CN (1) CN114492119A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115312133A (en) * 2022-10-12 2022-11-08 之江实验室 Cross-scale method and device based on constitutive equation automatic construction and parameter extraction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115312133A (en) * 2022-10-12 2022-11-08 之江实验室 Cross-scale method and device based on constitutive equation automatic construction and parameter extraction
CN115312133B (en) * 2022-10-12 2023-01-31 之江实验室 Cross-scale method and device based on constitutive equation automatic construction and parameter extraction

Similar Documents

Publication Publication Date Title
WO2023273045A1 (en) Method and apparatus for acquiring ground state of quantum system, device, medium and program product
Lefik et al. Artificial neural network as an incremental non-linear constitutive model for a finite element code
McCabe et al. Optimizing the shape of a surge-and-pitch wave energy collector using a genetic algorithm
CN107563067A (en) Analysis of structural reliability method based on Adaptive proxy model
Bidlo On routine evolution of complex cellular automata
CN114492119A (en) Electrochemical actuator structure optimization analysis method and system based on genetic algorithm
Zhang et al. Pattpim: A practical reram-based dnn accelerator by reusing weight pattern repetitions
Vasicek et al. A global postsynthesis optimization method for combinational circuits
CN110362912B (en) Mesoscopic structure optimization method
Šešok et al. Global optimization of trusses with a modified genetic algorithm
Sang et al. Particle swarm optimization for curved beams in multistable structures
Chen et al. Structural topology optimization using genetic algorithms
Basso et al. Computational morphogenesis in architecture: Cost optimization of free-form grid shells
CN115547431A (en) Short-cut fiber composite material fatigue performance prediction method based on machine learning and progressive damage
Cortés-Antonio et al. Design and implementation of differential evolution algorithm on FPGA for double-precision floating-point representation
CN114372539B (en) Machine learning framework-based classification method and related equipment
Nicolas et al. Improved adaptive mesh refinement for conformal hexahedral meshes
Gusel et al. Genetic based approach to predicting the elongation of drawn alloy
Zheng et al. A Flexible Yet Efficient DNN Pruning Approach for Crossbar-Based Processing-in-Memory Architectures
CN113505929A (en) Topological optimal structure prediction method based on embedded physical constraint deep learning technology
CN117854643B (en) MEMS membrane simulation method and system based on graphic neural network
Khan et al. Supporting expensive physical models with geometric moment invariants to accelerate sensitivity analysis for shape optimisation
CN114638366B (en) Quantum address data analysis method and device, storage medium and electronic device
CN117235916A (en) Method for optimizing variable density impact-resistant structure based on artificial intelligence
Mo et al. Research on evolution hardware design based on memetic algorithm

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