CN109920486A - A method of molecular dynamics batch modeling efficiency is improved based on Shell language - Google Patents

A method of molecular dynamics batch modeling efficiency is improved based on Shell language Download PDF

Info

Publication number
CN109920486A
CN109920486A CN201910021513.3A CN201910021513A CN109920486A CN 109920486 A CN109920486 A CN 109920486A CN 201910021513 A CN201910021513 A CN 201910021513A CN 109920486 A CN109920486 A CN 109920486A
Authority
CN
China
Prior art keywords
undetermined
object module
parameter
shell
model
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.)
Granted
Application number
CN201910021513.3A
Other languages
Chinese (zh)
Other versions
CN109920486B (en
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.)
Jiangsu University of Technology
Original Assignee
Jiangsu University of 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 Jiangsu University of Technology filed Critical Jiangsu University of Technology
Priority to CN201910021513.3A priority Critical patent/CN109920486B/en
Publication of CN109920486A publication Critical patent/CN109920486A/en
Application granted granted Critical
Publication of CN109920486B publication Critical patent/CN109920486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of improvement of modeling method, in particular to a kind of methods for improving molecular dynamics batch modeling efficiency based on Shell language, comprising the following steps: Step 1: establishing Molecular Dynamics Calculation basic model;Step 2: the major parameter in modification basic model is undetermined parameter, basic model is revised as model undetermined;The object module containing undetermined parameter is obtained Step 3: passing through Shell speech reproduction model undetermined and renaming;Step 4: it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language;Step 5: not only significantly improving batch modeling efficiency by Shell language loop control Mass production object module, alleviating the working strength of scientific research personnel, and avoid a possibility that manual operation malfunctions.

Description

A method of molecular dynamics batch modeling efficiency is improved based on Shell language
Technical field
The present invention relates to a kind of improvement of modeling method, in particular to a kind of Shell language that is based on to improve molecular dynamics The method of batch modeling efficiency.
Background technique
Molecular Dynamics method is a kind of method of Computer Simulation Experiment, is the important tool for studying nanometer material science. The motion profile of the technology not only available atom, it can also be observed that various micro details in material deformation process, it is To the strong supplement of theory analysis and experiment test.The extensive utilization of molecular dynamics simulation, for pushing nano material The reach of science is significant.
After material enters nanoscale, the physicochemical characteristics different from macro-scale material is shown, one of effect It should be dimensional effect, refer to that the property of nano material is related with the size of nano material size.Therefore whether micro-nano-scale Experiment or molecular dynamics simulation, will consider the size of nano material, a series of nano material of sizes can be tested.
Such as the tensile property with molecular dynamics simulation research nano wire, it is different to need to establish a series of three-dimensional dimensions Nanometer line model, it is few then tens, it is how then several hundred a.The geometrical model for establishing a cuboid nano wire needs length three A geometric dimension needs constantly to replicate basic model, opens model, repairs if each geometrical model is manual operation Change the three-dimensional dimension in model, workload is huge, time and effort consuming, and is easy to appear mistake.
Summary of the invention
For above-mentioned deficiency in the prior art, the present invention provides a kind of based on Shell language raising molecular dynamics batch The method for measuring modeling efficiency, not only significantly improves batch modeling efficiency, alleviates the working strength of scientific research personnel, and keep away A possibility that having exempted from manual operation error.
To realize the above technical purpose, the technical scheme is that a kind of improve molecular dynamics based on Shell language The method of batch modeling efficiency, comprising the following steps:
Step 1: establishing Molecular Dynamics Calculation basic model;
Step 2: the major parameter in modification basic model is undetermined parameter, basic model is revised as model undetermined;
The object module containing undetermined parameter is obtained Step 3: passing through Shell speech reproduction model undetermined and renaming;
Step 4: it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language;
Step 5: passing through Shell language loop control Mass production object module.
Preferably, the major parameter modified in basic model is undetermined parameter in step 2, basic model is revised as Model undetermined refers to that the geometric dimension parameter that basic model is arranged in file is revised as undetermined parameter, basic model is modified For geometric dimension model undetermined undetermined.
Preferably, passing through Shell speech reproduction model undetermined in step 3 and renaming being obtained containing undetermined parameter Object module refers to the cp order by Shell language, geometric dimension model undetermined undetermined is replicated, and with target Parameter, which is characterized, to be renamed, and the object module containing undetermined parameter is obtained.
Preferably, it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language in step 4, it is Refer to the sed order for passing through Shell language, sets target component for the undetermined parameter that object module is arranged in file, obtain institute The object module needed.
Preferably, by Shell language loop control Mass production object module, referring in step 5 and passing through Shell The loop control of language repeats step 3 and step 4, Mass production object module.
Above description can be seen that the present invention and have following advantages: improve molecule based on Shell language using of the invention The method of dynamics batch modeling efficiency not only significantly improves batch modeling efficiency, and the work for alleviating scientific research personnel is strong Degree, and avoid a possibility that manual operation malfunctions.
Detailed description of the invention
Fig. 1 is the method for the invention for improving molecular dynamics batch modeling efficiency based on Shell language.
Specific embodiment
Below with reference to the given attached drawing of the present invention and specific example, the present invention is further explained, it should be understood that these embodiments It is only illustrative of the invention and is not intended to limit the scope of the invention, based on the embodiment of the present invention, ordinary skill people Member's every other embodiment obtained under the premise of no creative work.Belong to protection scope of the present invention.
In the specific implementation, in conjunction with shown in attached drawing 1, Step 1: establishing Molecular Dynamics Calculation basic model:
The basic geometrical model established is the cuboid nano wire that three-dimensional dimension is 10a*2a*3a, and wherein a is material Lattice constant is described as with LAMMPS program language
region nanowire block 0 10 0 2 0 3
The geometrical model is stored in setting file in.nanowire, since other settings are not the weights that the present invention is implemented Point, therefore without repeating.All setting files are placed in file nanowire, this document folder is basic model, Ke Yiyong Molecular dynamics software LAMMPS runs to obtain reasonable result.
Step 2: the major parameter in modification basic model is undetermined parameter, basic model is revised as model undetermined:
The main geometric parameters in file, the i.e. three-dimensional dimension of cuboid are arranged in the basic model established in step 1 It is revised as undetermined parameter, such as TBDX, TBDY, TBDZ, is described as with LAMMPS program language
region nanowire block 0TBDX 0TBDY 0TBDZ
Meanwhile the file nanowire at place is revised as TBD_nanowire, as geometric dimension is undetermined to cover half Type.
The object module containing undetermined parameter is obtained Step 3: passing through Shell speech reproduction model undetermined and renaming:
By the cp order of Shell language, model TBD_nanowire undetermined is replicated, and is renamed, title Comprising target three-dimensional dimension parameter $ X, $ Y, $ Z, it is with Shell language description
cp-r TBD_nanowire $X_$Y_$Z_nanowire
Step 4: it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language:
By the sed order of Shell language, target is set by the undetermined parameter TBDX, TBDY, TBDZ in object module Three-dimensional dimension parameter is with Shell language description
sed-i“s/TBDX/$X/g”in.nanowire
sed-i“s/TBDY/$Y/g”in.nanowire
sed-i“s/TBDZ/$Z/g”in.nanowire
Step 5: passing through Shell language loop control Mass production object module:
By the loop control of Shell language, step 3 and step 4, Mass production object module, such as length X are repeated Selection three having a size of 10a, 20a, 30a, width Y select four having a size of 2a, 3a, 4a, 5a, height Z select two having a size of 3a, 6a are with Shell language description
10 10 30`# of for X in`seq (one, X of circulation is followed successively by 10a, 20a, 30a)
do
21 5`# of for Y in`seq (two, Y of circulation is followed successively by 2a, 3a, 4a, 5a)
do
33 6`# of for Z in`seq (three, Z of circulation is followed successively by 3a, 6a)
do
Cp-r TBD_nanowire $ X_ $ Y_ $ Z_nanowire# (step 3)
Cd $ X_ $ Y_ $ Z_nanowire# (the undetermined model undetermined into geometric dimension)
Sed-i " s/TBDX/ $ X/g " in.nanowire# (step 4)
sed-i“s/TBDY/$Y/g”in.nanowire
sed-i“s/TBDZ/$Z/g”in.nanowire
Cd..# (exits object module)
done
done
done
It is respectively 10a, 20a, 30a that the present embodiment, which can quickly generate length X, and width Y is respectively 2a, 3a, 4a, 5a, height Degree Z is respectively 3a, 6a, amounts to 3*4*2=24 object module.
The present invention and its embodiments have been described above, description is not limiting, it is shown in the drawings also only It is one of embodiments of the present invention, actual structure is not limited to this.All in all if the ordinary skill people of this field Member is enlightened by it, without departing from the spirit of the invention, is not inventively designed similar to the technical solution Frame mode and embodiment, be within the scope of protection of the invention.

Claims (5)

1. a kind of method for improving molecular dynamics batch modeling efficiency based on Shell language, it is characterised in that: including following step It is rapid:
Step 1: establishing Molecular Dynamics Calculation basic model;
Step 2: the major parameter in modification basic model is undetermined parameter, basic model is revised as model undetermined;
The object module containing undetermined parameter is obtained Step 3: passing through Shell speech reproduction model undetermined and renaming;
Step 4: it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language;
Step 5: passing through Shell language loop control Mass production object module.
2. the method according to claim 1 for improving molecular dynamics batch modeling efficiency based on Shell language, feature Be: in step 2, the major parameter modified in basic model is undetermined parameter, and basic model is revised as model undetermined, is Refer to that the geometric dimension parameter that basic model is arranged in file is revised as undetermined parameter, basic model is revised as geometric dimension and is waited for Fixed model undetermined.
3. the method according to claim 1 for improving molecular dynamics batch modeling efficiency based on Shell language, feature It is: in step 3, passes through Shell speech reproduction model undetermined and renaming obtains the object module containing undetermined parameter, be Refer to the cp order for passing through Shell language, geometric dimension model undetermined undetermined is replicated, and the weight characterized by target component New name, obtains the object module containing undetermined parameter.
4. the method according to claim 1 for improving molecular dynamics batch modeling efficiency based on Shell language, feature Be: in step 4, it is that target component obtains object module that undetermined parameter, which is arranged, by Shell language, is referred to through Shell language The sed order of speech sets target component for the undetermined parameter that object module is arranged in file, obtains required object module.
5. the method according to claim 1 for improving molecular dynamics batch modeling efficiency based on Shell language, feature It is: in step 5, by Shell language loop control Mass production object module, refers to the circulation control by Shell language System repeats step 3 and step 4, Mass production object module.
CN201910021513.3A 2019-01-10 2019-01-10 Method for improving molecular dynamics batch modeling efficiency based on Shell language Active CN109920486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910021513.3A CN109920486B (en) 2019-01-10 2019-01-10 Method for improving molecular dynamics batch modeling efficiency based on Shell language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910021513.3A CN109920486B (en) 2019-01-10 2019-01-10 Method for improving molecular dynamics batch modeling efficiency based on Shell language

Publications (2)

Publication Number Publication Date
CN109920486A true CN109920486A (en) 2019-06-21
CN109920486B CN109920486B (en) 2021-03-16

Family

ID=66960197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910021513.3A Active CN109920486B (en) 2019-01-10 2019-01-10 Method for improving molecular dynamics batch modeling efficiency based on Shell language

Country Status (1)

Country Link
CN (1) CN109920486B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930666A (en) * 2016-04-27 2016-09-07 厦门大学 Online soft measurement method for temperature of hearth of Shell entrained-bed gasifier
EP3107018A2 (en) * 2015-06-19 2016-12-21 Penso Holdings Ltd. Method for use in the analysis of a composite component and a design tool
CN106354898A (en) * 2016-06-28 2017-01-25 湖南工业大学 Weld seam fatigue life calculation method based on total strain energy density
CN106600700A (en) * 2015-10-20 2017-04-26 星际空间(天津)科技发展有限公司 Three-dimensional model data processing system
CN107423823A (en) * 2017-08-11 2017-12-01 成都优易数据有限公司 A kind of machine learning Modeling Platform architecture design method based on R language
CN107729254A (en) * 2017-11-10 2018-02-23 郑州云海信息技术有限公司 A kind of implementation method for safeguarding Batch orders technique automatically by shell scripts
CN108829919A (en) * 2018-05-02 2018-11-16 嘉兴学院 The method of multi-scale Simulation core-shell structure multiphase current body dynamics
CN108897918A (en) * 2018-06-01 2018-11-27 燕山大学 A method of based on molecular dynamics measurement free volume distribution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3107018A2 (en) * 2015-06-19 2016-12-21 Penso Holdings Ltd. Method for use in the analysis of a composite component and a design tool
CN106600700A (en) * 2015-10-20 2017-04-26 星际空间(天津)科技发展有限公司 Three-dimensional model data processing system
CN105930666A (en) * 2016-04-27 2016-09-07 厦门大学 Online soft measurement method for temperature of hearth of Shell entrained-bed gasifier
CN106354898A (en) * 2016-06-28 2017-01-25 湖南工业大学 Weld seam fatigue life calculation method based on total strain energy density
CN107423823A (en) * 2017-08-11 2017-12-01 成都优易数据有限公司 A kind of machine learning Modeling Platform architecture design method based on R language
CN107729254A (en) * 2017-11-10 2018-02-23 郑州云海信息技术有限公司 A kind of implementation method for safeguarding Batch orders technique automatically by shell scripts
CN108829919A (en) * 2018-05-02 2018-11-16 嘉兴学院 The method of multi-scale Simulation core-shell structure multiphase current body dynamics
CN108897918A (en) * 2018-06-01 2018-11-27 燕山大学 A method of based on molecular dynamics measurement free volume distribution

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BRANDON CORBETT等: "Quality control of variable duration batch processes via subspace identification", 《2017 AMERICAN CONTROL CONFERENCE (ACC)》 *
贾彦丽: "基于力学流变特性的高模量沥青老化性能研究", 《材料导报》 *

Also Published As

Publication number Publication date
CN109920486B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
McMillan et al. Programmatic lattice generation for additive manufacture
CN109063275A (en) The construction method of three-dimensional polycrystalline microstructure material model based on FEAP
CN105787167B (en) The prediction technique of polymer matrix composite effective stress coefficient of relaxation
CN108875159A (en) A kind of rate correlation hysteresis modeling method of piezoelectric actuator
CN101050971A (en) Dynamic soft measuring and form establishing method base pulse response formwork and parameter optumization
CN107633105B (en) Improved hybrid frog-leaping algorithm-based quad-rotor unmanned aerial vehicle parameter identification method
Wang et al. Optimization of LQR controller for inverted pendulum system with artificial bee colony algorithm
CN111445965A (en) Design method of carbon fiber reinforced cement-based material based on deep learning
Lu et al. A hybrid numerical method for vibration analysis of linear multibody systems with flexible components
McMillan et al. Programmatic generation of computationally efficient lattice structures for additive manufacture
CN109920486A (en) A method of molecular dynamics batch modeling efficiency is improved based on Shell language
Dizangian et al. Ranked-based sensitivity analysis for size optimization of structures
Friese et al. Biologically inspiried load adapted 3D textile reinforcement structures
CN104407547A (en) General waveform reproduction control method and device
CN103870681B (en) Band sawing machine mixed type fail-safe analysis computational methods
CN103362741B (en) Wind turbine generator set system identification method based on ADALINE technology
Al-Ratrout et al. Optimization methods in fractional order control of electric drives: A comparative study
CN104915490A (en) Method and device for pneumatically anti-designing motor train unit head type
CN110162815A (en) The eight connecting rod mechanical press Multipurpose Optimal Methods based on NSGA-II algorithm
Roy et al. Modified shuffled frog leaping algorithm for solving economic load dispatch problem
CN107390519A (en) A kind of screening technique of direct current cables material prescription
CN109284580A (en) A kind of serial manipulator dynamic parameters identification method
CN110309524B (en) Method for calculating strength of magnetostatic interaction field between magnetic particles
Orvananos-Guerrero et al. Using fully cartesian coordinates to calculate the support reactions of multi-scale mechanisms
Zepeda-Ruiz et al. Metal hardening in atomistic detail

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
GR01 Patent grant
GR01 Patent grant