CN106021167A - Element stiffness matrix calculating system based on Android platform - Google Patents
Element stiffness matrix calculating system based on Android platform Download PDFInfo
- Publication number
- CN106021167A CN106021167A CN201610194565.7A CN201610194565A CN106021167A CN 106021167 A CN106021167 A CN 106021167A CN 201610194565 A CN201610194565 A CN 201610194565A CN 106021167 A CN106021167 A CN 106021167A
- Authority
- CN
- China
- Prior art keywords
- input
- matrix
- calculating
- user
- calculation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/025—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
- G06F15/0275—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for measuring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
Abstract
The invention relates to an element stiffness matrix calculating system based on an Android platform. The system comprises a user input module, a calculation module, and a display module. The user input module comprises rod length l, cross-sectional area A of a component, inertia moment I, elasticity modulus E, and an included angle [alpha] of a rod piece on a horizontal direction in a global coordinate system. The calculation module comprises calculation of an element stiffness matrix, calculation of an element coordinate transformation matrix T, calculation of a transposed matrix TT of the element coordinate transformation matrix in a local coordinate system, and calculation of an element stiffness matrix ke in a global coordinate system. The display module comprises five different interfaces, respectively used to display main interface controls and matrixes obtained by each calculation module. The system is concise in program and convenient and fast in operation, and is practical in functions. Combined with good development trend and wide application prospect of an Android platform, the system provides technical support for complex calculation related to element stiffness matrixes in civil engineering.
Description
Technical field
The present invention relates to a kind of element stiffness matrix based on Android platform and calculate system.
Background technology
When calculating the rod member stress system of civil engineering complexity, often apply to matrix displacement method, wherein
The calculating of the element stiffness matrix related to can bring the biggest amount of calculation undoubtedly.Auxiliary without instant instrument
Help calculating, the accuracy of work efficiency and calculating will necessarily be affected.Although there being MATLAB etc. to be correlated with
Software for mathematical computing, but because its operation complexity, the professional shortcoming such as the strongest, it is impossible to be well adapted to list
In the middle of the calculating of unit's stiffness matrix.And along with the fast development of science and technology, smart mobile phone is the most gradually popularized, and
It is little that mobile phone has volume, lightweight, it is simple to the advantage such as carries, and is the most instant a kind of aid.As
Fruit has the cell phone system that a kind of special reply element stiffness matrix calculates, will necessarily give in civil engineering that some are answered
The calculating of miscellaneous stress system brings great convenience.
Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of element stiffness based on Android platform and calculate
System, utilizes that smart mobile phone volume is little, is easy to carry, the feature such as low cost, open system, complete function,
In conjunction with the good development trend of platform be widely applied prospect, it is proposed that the civil engineering meter on mobile phone
Calculate the design cycle of class software, provide skill for complicated calculations relevant to element stiffness matrix in civil engineering
Art is supported.
For achieving the above object, the technical scheme that the present invention takes is: a kind of list based on Android platform
Unit's stiffness matrix calculates system, including user's input module, computing module and display module.
User's input module includes calculating parameter l, the input of A, I, E and α.
Calculating the length that parameter l is known rod member, unit is m.
Calculating parameter A is known bar cross section area, and unit is m2。
Calculating the moment of inertia that parameter I is known rod member, unit is m4。
Calculating parameter E is elastic modelling quantity, and unit is × 104kPa。
Calculating parameter alpha is the angle of known rod member and horizontal direction under global coordinate system, and unit is °.
User's input module uses text box input parameter, and text box type is " numberDecimal ", i.e.
User can only input numeral, and can only input positive number, it is to avoid causes program not because of input text type mistake
The situation that energy is properly functioning.
Described computing module includes local coordinate system lower unit stiffness matrixCalculating, unit Coordinate Conversion square
The battle array calculating of T, the transposed matrix T of unit coordinate conversion matrixTCalculating, global coordinate system lower unit rigidity
Matrix keCalculating.
DescribedUnder the theories integration of local coordinate system specific stiffness matrix equation, the meter inputted by user
Calculate parameter l, A, I and E try to achieve under the logical operations of program setting;
Described T passes through setting program under conditions of the angle α of known rod member and global coordinate system horizontal direction
Logical operations try to achieve;
Described TTTried to achieve after unit coordinate conversion matrix T transposition by setting program;
Described keBy setting program to matrixThe calculating that is multiplied is tried to achieve;
In described computing module, if user forgets to input the required calculating parameter of a certain computing module, screen
Can automatically jump out a prompting frame, remind user which calculating parameter forgets input, and make corresponding text box
Obtain input cursor.
Described display module includes 5 different interfaces, is respectively used to show main interface control and matrixT、
TT、ke, wherein non-master interface is additionally provided with button control, facilitates user to return main interface modification parameter and again
Computing.
Described display module, is additionally operable to describe input keyboard and realize the monitoring of keyboard, when user clicks on defeated
When entering frame, automatic spring input keyboard;When user clicks on other positions of mobile phone screen, input keyboard is certainly
Dynamic hiding.
Described display module, is additionally provided with interface Locale Holding function, i.e. interrupts this calculating system as user temporarily
(such as receiving calls, tangent screen etc. operates) during system, the data of user's input can be preserved in time, prevents Android
This process is destroyed by system on backstage.
The present invention has a following excellent effect:
Utilize that smart mobile phone volume is little, be easy to carry, the feature such as low cost, open system, complete function, knot
Close the good development trend of platform and be widely applied prospect, it is proposed that the civil engineering on mobile phone calculates
The design cycle of class software, provides technology for complicated calculations relevant to element stiffness matrix in civil engineering
Support.
Accompanying drawing explanation
Fig. 1 is the system structure schematic diagram of the present invention;
Fig. 2 is the local coordinate system lower unit stiffness matrix of the present invention
Fig. 3 is the unit coordinate conversion matrix T of the present invention;
Fig. 4 be the present invention global coordinate system under the angle schematic diagram of known rod member and horizontal direction;
Fig. 5 is the user operation flow chart of the present invention.
Detailed description of the invention
In conjunction with the accompanying drawings, the present invention is further detailed explanation.
As it is shown in figure 1, a kind of element stiffness matrix based on Android platform calculates system, including user
Input module, computing module and display module.
Described user's input module: user inputs calculating parameter.
Described computing module: be provided with different computed push-buttom, after user clicks on, obtains the input value of user
The logical operations being set.
Described display module: the result of calculation for computing module provides display platform.
As it is shown in figure 1, described user's input module includes calculating parameter l, the input of A, I, E and α.
Described calculating parameter l is the length of known rod member, and unit is m.
Described calculating parameter A is known bar cross section area, and unit is m2。
Described calculating parameter I is the moment of inertia of known rod member, and unit is m4。
Described calculating parameter E is elastic modelling quantity, and unit is × 104kPa。
Described calculating parameter alpha is the angle of known rod member and horizontal direction under global coordinate system, and unit is °.
Described user's input module uses text box input parameter, and text box type is " numberDecimal ",
I.e. user can only input numeral, and can only input positive number, it is to avoid causes program because of input text type mistake
Situation about being not normally functioning.
As it is shown in figure 1, described computing module includes matrixT、TT、keCalculating.
As it is shown in figure 1, described display module includes 5 different interfaces, it is respectively used to show main interface control
With each computing module gained matrix, wherein non-master interface is additionally provided with button control, is used for returning to main interface.
Described display module, is additionally operable to describe input keyboard and realize the monitoring of keyboard, when user clicks on defeated
When entering frame, automatic spring input keyboard;When user clicks on other positions of mobile phone screen, input keyboard is certainly
Dynamic hiding.
The important code of part is as follows:
Described display module, is additionally provided with interface Locale Holding function, i.e. interrupts this calculating system as user temporarily
(such as receiving calls, tangent screen etc. operates) during system, the data of user's input can be preserved in time, prevents Android
This process is destroyed by system on backstage.
The important code of part is as follows:
As in figure 2 it is shown, it is describedFor local coordinate system specific stiffness matrix.Firm according to local coordinate system unit
Degree matrix equationIt is appreciated thatIt is 6 × 6 square formations, program realizes the portion of this arithmetic logic
Divide important code as follows:
1. acquisition user's input parameter value (as a example by obtaining l value):
2. create encapsulation class CalculateDemo.java, it is achieved basic logic operations (withAs a example by):
3. passing through to call encapsulation class CalculateDemo.java is matrix each element assignment:
The most described T is unit coordinate conversion matrix.Known rod member is level side under global coordinate system
To angle α, transformed matrix as shown in Figure 3 can be drawn as shown in Figure 4.
The important code of part realizing this arithmetic logic in program is as follows:
Described TTTried to achieve after unit coordinate conversion matrix T transposition by setting program, program realizes this fortune
The important code of part calculating logic is as follows:
Described keFor matrix by setting program to matrix TT、T-phase takes advantage of calculating to try to achieve;Program is wanted reality
Reality this arithmetic logic existing needs to use triple loop structure, and the important code of part is as follows:
If as it is shown in figure 5, user forgets to input the required calculating parameter of a certain computing module, screen can be certainly
Move and jump out a prompting frame, remind user which calculating parameter forgets input, and make corresponding text box obtain
Input cursor.
Realize the important code of part of this function as follows (as a example by forgetting to input l value):
With the above-mentioned desirable embodiment according to the present invention for enlightenment, by above-mentioned description, related work
Personnel can carry out various change and amendment completely in the range of without departing from this invention technological thought.
The content that the technical scope of this invention is not limited in description, it is necessary to according to right
Determine its technical scope.
Claims (1)
1. an element stiffness matrix based on Android platform calculates system, it is characterised in that: include using
Family input module, computing module and display module;
Described user's input module includes calculating the long l of parameter bar, member section area A, the moment of inertia I, elasticity
Modulus E and rod member be the input of the angle α of rod member and horizontal direction under global coordinate system;
Described computing module includes local coordinate system lower unit stiffness matrixCalculating, unit Coordinate Conversion square
The battle array calculating of T, the transposed matrix T of unit coordinate conversion matrixTCalculating, global coordinate system lower unit rigidity
Matrix keCalculating;
Described display module includes 5 different interfaces, is respectively used to show main interface control and matrixT、
TT、ke, wherein non-master interface is additionally provided with button control, facilitates user to return main interface modification parameter and again
Computing;
Described user's input module uses text box input parameter, and text box type is " numberDecimal ",
I.e. user can only input numeral, and can only input positive number, it is to avoid causes program because of input text type mistake
Situation about being not normally functioning;
DescribedUnder the theories integration of local coordinate system specific stiffness matrix equation, the meter inputted by user
Calculate parameter l, A, I and E try to achieve under the logical operations of program setting;
Described T passes through setting program under conditions of the angle α of known rod member and global coordinate system horizontal direction
Logical operations try to achieve;
Described TTTried to achieve after unit coordinate conversion matrix T transposition by setting program;
Described keBy setting program to matrix TT The calculating that is multiplied is tried to achieve;
In described computing module, user forgets to input the required calculating parameter of a certain computing module, and screen can be certainly
Move and jump out a prompting frame, remind user which calculating parameter forgets input, and make corresponding text box obtain
Input cursor;
Described display module, for describing input keyboard and realize the monitoring of keyboard, when user clicks on defeated
When entering frame, automatic spring input keyboard;When user clicks on other positions of mobile phone screen, input keyboard is certainly
Dynamic hiding;
Described display module is provided with interface Locale Holding function, uses when user interrupts this calculating system temporarily
The data of family input can be preserved in time, prevents android system from this process being destroyed on backstage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194565.7A CN106021167B (en) | 2016-03-31 | 2016-03-31 | A kind of element stiffness matrix computing system based on Android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194565.7A CN106021167B (en) | 2016-03-31 | 2016-03-31 | A kind of element stiffness matrix computing system based on Android platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106021167A true CN106021167A (en) | 2016-10-12 |
CN106021167B CN106021167B (en) | 2018-12-07 |
Family
ID=57080977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610194565.7A Active CN106021167B (en) | 2016-03-31 | 2016-03-31 | A kind of element stiffness matrix computing system based on Android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106021167B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5267185A (en) * | 1989-04-14 | 1993-11-30 | Sharp Kabushiki Kaisha | Apparatus for calculating matrices |
US20030041078A1 (en) * | 2001-08-24 | 2003-02-27 | Child J. Douglas | Interactive object transformation based expert system for symbolic mathematics on a handheld device |
CN202563499U (en) * | 2012-02-28 | 2012-11-28 | 叶璋礼 | Calculator capable of calculating real interest rates |
CN103499348A (en) * | 2013-09-24 | 2014-01-08 | 成都市星达通科技有限公司 | High-precision attitude data calculation method for AHRS (Attitude and Heading Reference System) |
-
2016
- 2016-03-31 CN CN201610194565.7A patent/CN106021167B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5267185A (en) * | 1989-04-14 | 1993-11-30 | Sharp Kabushiki Kaisha | Apparatus for calculating matrices |
US20030041078A1 (en) * | 2001-08-24 | 2003-02-27 | Child J. Douglas | Interactive object transformation based expert system for symbolic mathematics on a handheld device |
CN202563499U (en) * | 2012-02-28 | 2012-11-28 | 叶璋礼 | Calculator capable of calculating real interest rates |
CN103499348A (en) * | 2013-09-24 | 2014-01-08 | 成都市星达通科技有限公司 | High-precision attitude data calculation method for AHRS (Attitude and Heading Reference System) |
Non-Patent Citations (2)
Title |
---|
传光红等: "变截面Timoshenko梁的单元刚度矩阵", 《计算力学学报》 * |
刘铁林等: "面内变形曲梁的显式单元刚度矩阵", 《沈阳建筑大学学报(自然科学版)》 * |
Also Published As
Publication number | Publication date |
---|---|
CN106021167B (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461503B (en) | It is dynamically composed the method and system of software interface | |
WO2005114394A3 (en) | Graphical data flow programming environment with first model of computation that includes a structure supporting second model of computation | |
RU2011134386A (en) | TASK OF SIMPLE AND COMPLEX ANIMATIONS | |
CN102968542B (en) | Application ANSYS software carries out the method for electric power pylon structure analysis | |
CN107766182A (en) | Button positioning, manipulation, method of testing and the device of entering method keyboard | |
Leonetti et al. | A composite mixed finite element model for plane structural problems | |
L’vov et al. | Quasi-gaussian statistics of hydrodynamic turbulence in 4 3+ ϵ dimensions | |
CN106021167A (en) | Element stiffness matrix calculating system based on Android platform | |
CN104123411A (en) | Automobile powertrain system rotational inertia synthetic method | |
KR102130361B1 (en) | Method and portable electronic device for changing graphics processing resolution according to scenario | |
CN103942146A (en) | Visual Monkey test method and device | |
CN104750386A (en) | Gesture recognition method and device | |
CN106155529A (en) | Method for controlling mobile terminal and mobile terminal | |
CN111857690A (en) | Animation effect debugging method and device, computer equipment and storage medium | |
CN106372359A (en) | Universal framework for equipment virtual prototype system | |
CN109213662A (en) | A kind of user's touch-control behavioral data collection method and terminal | |
CN106021186B (en) | A kind of multiple dimensioned alternative manner of Efficient Solution large-scale nonlinear Random Structural Systems state | |
CN107844245A (en) | Computation processing method, device, terminal device and computer-readable recording medium | |
CN103310002A (en) | Web service encapsulation method and system for weather forecasting calculating system mesoscale model 5 (MM5) | |
CN102938009A (en) | Automobile body main section parameter computation method and device | |
CN106843572A (en) | Mobile terminal and its control method | |
CN104156185A (en) | Three-dimensional font display method and device | |
CN108563610A (en) | A kind of mathematical function CAI software based on mixed reality | |
CN104267926A (en) | Method and device for acquiring elliptic curve cryptography data | |
CN106528952A (en) | Pseudorandom vector-based assumed mode set construction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230726 Address after: 201199 Room C319, No. 66, Miaojing Road, Minhang District, Shanghai Patentee after: Code by Code (Shanghai) Technology Co.,Ltd. Address before: Gehu Lake Road Wujin District 213164 Jiangsu city of Changzhou province No. 1 Patentee before: CHANGZHOU University |