文档库 最新最全的文档下载
当前位置:文档库 › Matrine Inhibits Disturbed Flow–Enhanced Migration via Downregulation of ERK12–MLCK Signaling VSMC

Matrine Inhibits Disturbed Flow–Enhanced Migration via Downregulation of ERK12–MLCK Signaling VSMC

Matrine Inhibits Disturbed Flow e Enhanced Migration via Downregulation of ERK1/2e MLCK Signaling Vascular Smooth Muscle Cells

Ping Zhu,1Ji-Mei Chen,1Hui-Ming Guo,1Xiao-Ping Fan,1Xiao-Shen Zhang,1Rui-Xin Fan,1Shao-Yi Zheng,1Ruo-Bin Wu,1Xue-Jun Xiao,1Huan-Lei Huang,1Xiao-Lan Zhu,1Huai-Pu Liu,1Guang Long,2Yan-Fang Chen,3and Jian Zhuang,1Guangzhou and Hengyang,People’s Republic of China and Dayton,Ohio

Background:To investigate the effects of matrine on the vascular smooth muscle cell (VSMC)migration modulated by disturbed ?ow and their underlying molecular mechanisms in vitro.Methods:Isolated rat aortic VSMCs were grown to con?uence on 20-?80-mm ?bronectin-coated glass cover slides,and then,denuded zones were made at the position calculated to be the oscillating ?ow-reattachment zone and also in the downstream laminar ?ow region.VSMCs were treated with different doses of matrine (0,10,20,30,and 40mg/L),or PD98059(30m M),ML-7(10m M)combined with matrine (40mg/L)for 30minutes before and during the experiments.Then,the wounded monolayers were kept under static conditions or were subjected to laminar or disturbed ?ow for 21hours or 10hours.The VSMC migration was assessed by microscopic images.The extracellular signal-regulated kinase 1/2(ERK1/2)and myosin light chain kinase (MLCK)proteins were determined by Western blot.

Results:Disturbed ?ow signi?cantly increased phosphorylation of ERK1/2.Selective inhibition of ERK1/2phosphorylation by inhibitor PD98059and matrine signi?cantly suppressed VSMC migration under disturbed ?ow.Disturbed ?ow signi?cantly enhanced phosphorylation of MLCK,whereas both matrine and PD98059inhibited the phosphorylation of MLCK under disturbed ?ow.The complete inhibition of MLCK phosphorylation using the selective MLCK inhibitor ML-7signi?cantly inhibited VSMC migration under disturbed ?ow.

Conclusion:Matrine inhibits VSMC migration under disturbed ?ow,in part,by downregulation of ERK1/2e MLCK signaling pathway.

INTRODUCTION

The development of atherosclerosis and vascular restenosis after angioplasty has been attributed to hemodynamic changes at the site of injury.In particular,the progression of atherosclerosis and vascular restenosis was attenuated in areas where shear stress in the blood ?ow is high and was exac-erbated in areas with low shear stress.1,2Abnormal migration and proliferation of vascular smooth muscle cells (VSMCs)are considered the hallmarks for the development of vascular restenosis.Previous study showed that in animal models of balloon cath-eter injury,intimal thickening was accelerated by low shear stress in the absence of the inner endothe-lial cell (EC)lining,suggesting that VSMCs could

P.Z.,J-.M.C.,H-.M.G.authors have equal contribution to this work.

1

Cardiovascular Surgery Department,Guangdong Cardiovascular Institute,Guangdong General Hospital,Guangdong Academic of Medical Sciences,Guangzhou,People’s Republic of China.

2Medical School,Nan Hua University,Hengyang,People’s Republic of China.

3Department of Pharmacology and Toxicology,Boonshoft School of Medicine,Wright State University,Dayton,OH.

Correspondence to:Jian Zhuang,MD,PhD,Guangdong Cardiovas-cular Institute,Guangdong General Hospital,Guangdong Academic of Medical Sciences,96Dongchuan Road,Guangzhou 510100,Guang-dong,People’s Republic of China;E-mail:zhuangjianzggd@https://www.wendangku.net/doc/3c5134567.html, Ann Vasc Surg 2012;26:268–275DOI:10.1016/j.avsg.2011.10.006óAnnals of Vascular Surgery Inc.

268

respond directly to changes in blood?ow.Further-

more,in that study,2the intimal thickening that

occurred in response to decreased?ow levels was

a result of increased VSMC migration.Thus,dysre-

gulation of blood?ow may play an important role

in the development of pathophysiological states in

blood vessels.

In vitro studies investigating the effects of shear

stress on vascular cells have been focused primarily

on ECs because they are directly exposed to the

shear stress of?owing blood under normal physio-

logical conditions.3It had long been thought that

the underlying VSMCs were shielded from blood

?ow and were only subjected to shear stress when

the EC layer was removed,as occurs in balloon

angioplasty.However,recent studies have shown

that even in the presence of an intact endothelium,

VSMCs are subjected to shear stress through their

exposure to interstitial?ow driven by the transmu-

ral pressure gradient.4,5Although it has been shown

that disturbed?ow with altered?uid shear stress

gradients modulates VSMC migration and neointi-

mal hyperplasia in vivo,6data on differences in

VSMC migration between laminar and disturbed

?ows in vitro are scarce.Furthermore,the molec-

ular mechanisms by which blood?ow modulates

VSMCs migration have not been clearly de?ned.

Radix Sophorae Flavescentis is a commonly used

drug in traditional Chinese medicine for many

diseases,including hepatitis B7and cancer.8Matrine

is one of the major components of Radix Sophorae

Flavescentis.Unpublished data from our lab have

shown that matrine inhibited rat VSMC growth in

a dose-dependent manner.As many drugs that

inhibit cell cycle progression normally also inhibit

migration,9we hypothesized that matrine may

also inhibit rat VSMC migration.

This study aimed to elucidate the underlying

molecular mechanisms by which disturbed?ow

modulates VSMC migration in a modi?ed parallel-

plate?ow chamber,and to investigate the role of

matrine in VSMC migration under different laminar

and disturbed?uid?ows.

MATERIALS AND METHODS

Chemicals

Matrine was obtained from the National Institute

for the Control of Pharmaceutical and Biological

Products(Beijing,China),and its purity was >99%.Matrine stock solution was prepared in PBS with10mM4-(2-hydroxyethyl)piperazine-1-

ethanesulfonic acid(HEPES).Flow System and Chamber Design

The perfusion medium for all experiments consisted of Dulbecco’s modi?ed Eagle’s medium(GIBCO) supplemented with2%fetal bovine serum(GIBCO) and0.5U/mL penicillin.The?ow chambers and accompanying apparatuses were maintained at 37 C throughout the experiment.Time-matched controls consisted of slides mounted on?ow cham-bers without?ow and were performed for all exper-imental groups.

A vertical-step?ow(VSF)chamber was used as previously described.10,11Brie?y,in the test section of the VSF,the channel width(w)was80mm,the entrance height(h)was0.75mm,and the main channel height(h)was1.5mm(Fig.1).The total and entrance lengths were150mm and50mm, respectively.The Reynolds number used in the experiment was1,300,based on?ow rate and channel geometry.The disturbed?ow pattern is shown schematically in Figure1.Wall shear stress and distance to the reattachment points were predicted using Computational Fluid Dynamics package FLUENT(version6.1,Fluent Inc.,Lebanon, NH).Position‘‘a’’represents the stagnation?ow area;‘‘b’’is the area below the center of

the Fig.1.Diagram of denudation procedure under disturbed and laminar?ows.Strips of con?uent vascular smooth muscle cell(VSMC)monolayer were denuded with a cell scraper at the positions of(a)oscillating?ow-reattachment zone and(b)pulsatile laminar?ow area and were then subjected to?ow.The microscopic images were taken every7hours.The?ow direction was from left to right.The size of the vortex excursion in the oscillating ?ow-reattachment zone was w22.5mm.The size of the denuded zone was w400m m.

Vol.26,No.2,February2012Matrine inhibits disturbed?ow e enhanced migration269

recirculation eddy;‘‘c’’is the reattachment?ow area;and‘‘d’’is the area where laminar?ow has been redeveloped.The locations of areas a,b,c, and d were calculated to be about3.2,9.6,16.1, and22.5mm from the step,respectively.All exper-iments were performed at a mean?ow rate of2,700 mL/min,corresponding to a downstream laminar shear stress of10dyne/cm2.

Cell Culture

VSMCs were isolated from rat aorta.12Cells were grown in DMEM(GIBCO)containing10%calf serum(GIBCO)at37 C in a5%CO2-humidi?ed chamber.The purity of VSMC population was deter-mined by immunostaining with a-smooth muscle actin antibody.Experiments were performed on cells cultured for less than10passages.

Analysis of Migration

VSMCs were grown to con?uence on20-?80-mm ?bronectin-coated glass cover slides.A strip of VSMCs perpendicular to?ow direction was removed from the con?uent VSMC monolayer by using a cell scraper.Such denuded zones,which had a width of400±20m m(mean±standard devi-ation),were made at the position calculated to be the oscillating?ow-reattachment zone and also in the downstream laminar?ow region(Fig.1).The wounded VSMC monolayer was subjected to?ow in the step chamber for various periods.Because the width of the denuded zone(400m m)under disturbed?ow was smaller than that of the vortex excursion,the cells on both sides of the denuded zone were within the zone of oscillating disturbed ?ow.Shear stress experiments that measured migration were performed in the presence of2% FBS after incubation in serum-free media for24 hours and in the presence or absence of the selective ERK1/2pathway inhibitor PD98059(30m M) (Sigma Chemical Company,St.Louis,MO),the MLCK inhibitor ML-7(10m M)(Sigma),or at different concentrations of matrine for30minutes before and during the?ow stimulation.

Western Blot

The same cells used for aforementioned experi-ments were also used for Western blot analysis. Cells were lysed in lysis buffer containing20mM Tris-HCl(pH7.4),0.4M KCl,2mM dithiothreitol, and10%glycerol.Protein concentrations in the cell lysates were determined with bicinchoninic acid kit(Sigma Chemical Company,St.Louis, MO).Total protein lysates were separated using a sodium dodecyl sulfate polyacrylamide gel and transferred to polyvinylidene di?uoride membrane (Bio-Rad Laboratories,Hercules,CA).The blot was subsequently incubated with a primary antibody against ERK1/2(1:1,000,Santa Cruz Biotechnology,Santa Cruz,CA),phospho-ERK1/2 (1:1,000,Santa Cruz,CA),MLCK(1:1,000,Santa Cruz,CA),phospho-MLCK(1:1,000,Santa Cruz, CA),and then,a horseradish peroxidase e conju-gated secondary antibody(1:2,000,Santa Cruz, CA).The proteins were visualized using the enhanced chemiluminescence detection reagents (Roche Applied Science,Basel,Switzerland)and subsequent X-ray radiography.The densities of bands on the?lm were scanned and quanti?ed through densitometry.The results are expressed as the ratio of band intensities of cell cycle e related proteins to b-actin.All Western blot experiments were repeated at least thrice with a different cell preparation.

Statistical Analysis

The data are expressed as mean±standard deviation and analyzed using the statistical software package SPSS12.0(SPSS Inc,Chicago,IL).1-way analysis of variance was performed,and P<0.05was consid-ered to be statistically signi?cant.

RESULTS

Disturbed Flow e Promoted VSMC

Migration

To determine the effects of different?ow patterns on VSMC migration,a strip of con?uent VSMCs was removed(w400m m in width)and subjected to disturbed and laminar?ows or kept under static ?ow(control).Microscopic images were taken every7hours.The disturbed?ow enhanced VSMC migration into the denuded area,whereas laminar?ow inhibited VSMC migration as compared with the VSMCs receiving static?ow. The direction of?ow was from left to right (Fig.2A);therefore,the left side of the denuded zone is the upstream side and the right side is the downstream https://www.wendangku.net/doc/3c5134567.html,ing the DIAS software,the centroids of the cells were determined at7-hour intervals,and the net migration distance was calcu-lated from the positions of centroids.In all cases,the net migration distance increased linearly with time (Fig.2B).In the static controls and under disturbed ?ow,the migration of cells occurred from both sides, but the rate of migration of the cells was signi?-cantly increased under disturbed?ow as compared with that under static conditions.Under laminar

270Zhu et al.Annals of Vascular Surgery

?ow,the average net migration distance of the cells at the upstream edge (along the ?ow direction)was signi?cantly larger than that of the cells at the downstream edge (against the ?ow direction).

Matrine-Inhibited VSMC Migration and ERK1/2Phosphorylation

Treatment with matrine-inhibited VSMC migration under laminar ?ow,disturbed ?ow,and static condi-tions in a dose-dependent manner (Fig.3A,B).Treat-ment with the MEK1pharmacological inhibitor

PD98059(30m M)signi?cantly suppressed VSMC migration in all ?ow patterns (Fig.4A,B)as well.Disturbed ?ow signi?cantly enhanced the phos-phorylation of ERK1/2protein,whereas laminar ?ow signi?cantly inhibited phosphorylation of ERK1/2in VSMCs,as compared with the static control (Fig.4C,D).Treatment with the MEK1pharmacological inhibitor PD98059(30m M)completely inhibited the phosphorylation of ERK1/2(Fig.4C,D),and the phosphorylation of ERK1/2was also signi?cantly suppressed by matrine under disturbed ?ow,laminar ?ow and static condition (Fig.4C,

D).

Fig.2.Disturbed ?ow promoted VSMC migration.The wounded VSMC monolayers were kept under static conditions or subjected to laminar or disturbed ?ow,and the VSMC migration process was recorded at 7-hour intervals.The direction of laminar ?ow was from left to right.The left-hand side of the zone is denoted as ‘‘upstream’’side,and the right-hand side,as ‘‘downstream.’’(A )Phase-contrast images of the VSMC migration over the 21-hour period.Black vertical lines indicate the locations of wound edges at the beginning of the experiment.(B )The net migration distance as a function of time for the cells in the ?rst row at wound

edges.The centroids of the cells at the wound edges were determined,and the net migration distance into the denuded zone was calculated from the positions of the centroids.The values represent mean ±standard devia-tion (SD)from three experiments.All statistical compar-isons were made on the same side of the denuded zone with the same cell numbers.*denotes P <0.05when compared with the migration distance at the beginning of the experiment under the same ?ow condition.y denotes P <0.05when compared with static condition at the same moment.

Vol.26,No.2,February 2012Matrine inhibits disturbed ?ow e enhanced migration 271

Matrine-Inhibited Disturbed Flow e Induced Phosphorylation of MLCK in VSMCs

The phosphorylation of MLCK in VSMCs was signif-icantly increased by disturbed ?ow,but was signi?-cantly inhibited by laminar ?ow,in comparison with static control (Fig.4E,F).Complete inhibition of MLCK phosphorylation with ML-7(an inhibitor for MLCK)signi?cantly decreased VSMC migration under disturbed ?ow,laminar ?ow,and static

condition (Fig.4A,B).Treatment with PD-98059(30m M)or matrine (40mg/L)signi?cantly decreased the enhanced phosphorylation of MLCK under disturbed ?ow (Fig.4E,F).However,no synergistic inhibitory effect was observed on phos-phorylation of MLCK under different ?ow condi-tions by cotreatment with matrine (40mg/L)and PD-98059(30m M)(Fig.4E,F),only the increased inhibitory effect of matrine on VSMCs migration was shown (Fig.4A,

B).

Fig. 3.VSMCs were treated with different doses of matrine (0,10,20,30,and 40mg/L)for 30minutes before and during the experiments.Then,the wounded monolayers were kept under static conditions or were subjected to laminar or disturbed ?ow for 21hours.The direction of laminar ?ow was from left to right.(A )Phase-contrast images of the VSMC migration over the 21-hour period.Black vertical lines indicate the loca-tions of wound edges at the beginning of the experiment.(B )The net migration distance as a function of time for the cells in the ?rst row at wound edges.The centroids

of the cells at the wound edges were determined,and the net migration distance into the denuded zone was calculated from the positions of the centroids.The values represent mean ±SD from three experiments.All statis-tical comparisons were made between the same cell row number and on the same side of the denuded zone.y denotes P <0.05when compared with static condition under the same treatment.*denotes P <0.05when compared with untreated controls under the same ?ow condition.

272Zhu et al.Annals of Vascular Surgery

Vol.26,No.2,February2012Matrine inhibits disturbed?ow e enhanced migration273

DISCUSSION

The results of this study demonstrated that VSMC migration into the denuded area was modulated by different ?ow patterns.The VSMC migration rate was signi?cantly increased under disturbed ?ow compared with static conditions,but signi?-cantly decreased under laminar ?ow.The regenera-tion of the denuded VSMC monolayer may be involved in both VSMC proliferation and migration.Our data showed no signi?cant increase in VSMC proliferation during the 21-hour procedure.Thus,cell spreading and migration appeared to be the major mechanism for the in vitro VSMC wound closure in our present study.Treatment with matrine markedly inhibited VSMC migration in all ?ow patterns.

The ERK1/2signaling cascade has been shown to be a critical regulator of cell function,and its blockade could inhibit rat VSMC migration.13,14Furthermore,ERK1/2may also regulate shear stress e dependent VSMC migration in a modi?ed vein graft model.6In a three-dimensional ?ow study,interstitial ?ow induces VSMC migration in collagen I gels via an ERK1/2-dependent mecha-nism.15To verify whether ERK1/2is modulated in our model,we determined the phosphorylation levels of ERK1/2in migrated VSMCs under different ?ow conditions.Our data showed that compared with static conditions,disturbed ?ow signi?cantly increased the phosphorylation levels of ERK1/2,whereas laminar ?ow signi?cantly decreased ERK1/2phosphorylation levels.Furthermore,treat-ment with the pharmacological inhibitor PD-98059completely inhibited the activity of ERK1/2and signi?cantly suppressed VSMC migration under disturbed ?ow.Additionally,matrine could mark-edly decrease phosphorylation of ERK1/2under disturbed ?ow,an effect similar to that of PD-98059.Taken together,these data suggest that

disturbed shear stress regulates VSMC migration,at least in part,via modulation of ERK1/2activity and that matrine acts upstream of this pathway.Although the exact mechanism by which ERK1/2regulates cell migration is not fully understood,it is thought that MLCK-mediated regulation of ERK1/2signaling may be involved.A previous study showed that ERK1/2in cultured carcinoma cells can phos-phorylate MLCK,which in turn phosphorylates myosin light chain and induces actin e myosin II interactions,thereby enhancing cell migration.16To verify whether MLCK is involved in our experi-ment model,we examined the effect of MLCK inhi-bition on VSMC migration by using ML-7(an inhibitor for MLCK)and determined the effect of ERK1/2inhibition on the activity of MLCK.Our results showed that MLCK inhibition markedly sup-pressed VSMC migration under different ?ows and that inhibition of ERK1/2inhibited MLCK activity,suggesting that ERK1/2may regulate VSMC migra-tion,in part,by the modulation of MLCK in the present model.Our results also demonstrated that treatment with matrine markedly inhibited MLCK phosphorylation under different ?ows.However,the inhibitory effect of matrine on MLCK activity may be independent of ERK1/2activity,as cotreat-ment with matrine and PD-98059did not enhance the inhibitory effect of PD-98059on phosphoryla-tion of MLCK under different ?ows.After PD-98059or ML-7treatment,VSMC migration could still be observed,albeit to a much lower extent.These results suggest that factors other than ERK1/2and MLCK may also be involved in the regulation of VSMC migration.

Recently,p38mitogen-activated protein kinase (MAPK)signaling has been demonstrated to be involved in migration of VSMCs.17However,it seems that p38MAPK does not play a major role in ?ow-induced VSMC migration in a three-dimensional ?ow ?eld.15Thus,it deserves further

Fig.4.VSMCs were treated with PD98059(30m M),ML-7(10m M),or matrine (40mg/L)for 30minutes before and during the experiments.Then,the wounded monolayers were kept under static conditions or were subjected to laminar or disturbed ?ow for 10hours.The direction of laminar ?ow was from left to right.(A )Phase-contrast images of the VSMC migration over the 10-hour period.Black vertical lines indicate the locations of wound edges at the beginning of the experiment.(B )The net migration distance as a function of time for the cells in the ?rst row at wound edges.The centroids of the cells at the wound edges were determined,and the net migration distance into the denuded zone was calculated from the positions of the centroids.(C )Western blot analysis (the protein samples were collected from total cells in the ?ow chamber)of extracellular signal-regulated kinase 1/2(ERK1/2)expression (top )and phosphorylation (bottom )of ERK1/2.(D )Relative phosphorylation activity of ERK1/2.(E )Western blot analysis (the protein samples were collected from total cells in the ?ow chamber)of expression (top )and phosphorylation (bottom )of myosin light chain kinase.(F )Relative phosphorylation activity of myosin light chain kinase.The values represent mean ±SD from three experiments.All migration analyses were made on the same side of the denuded zone with the same cell numbers.y denotes P <0.05when compared with static condition under the same treatment.*denotes P <0.05when compared with untreated controls under the same ?ow condition.

=

274Zhu et al.Annals of Vascular Surgery

study whether p38MAPK plays a major role in VSMC migration in our model.

The migration of VSMCs between upstream and downstream is very different in the laminar?ow in our model;one possible reason is that the?uid ?ow impeded VSMCs in downstream from migrating towards the center.Certainly,we do not distinguish difference of phosphorylation levels of ERK1/2and MLCK of VSMCs between upstream and downstream,thus we cannot rule out that impact of direction of water?ow causes different phosphorylation levels of ERK1/2and MLCK of VSMCs between upstream and downstream. CONCLUSION

In summary,our data demonstrated that matrine ERK1/2e MLCK signaling is involved in disturbed ?ow e mediated VSMC migration.Matrine could inhibit VSMC migration under all?ow conditions, in part,by downregulation of ERK1/2e MLCK signaling,indicating a potential treatment of vascular restenosis related to shear stress.

This work was supported by the Major International(Regional) Joint Research Project(2008DFA31140,2010DFA32660) and the Guangdong Natural Science Foundation Project(10251008002000002,S2011010005836).

J.Z.,designed the study;X.P.F.,X.S.Z.,R.X.F.,S.Y.Z., R.B.W.,X.J.X.,H.L.H.,X.L.Z.,H.P.L.,and G.L.,performed research;J.M.C.and H.M.G.,analyzed data;P.Z.,wrote the manuscript;Y.F.C.,revised the manuscript. REFERENCES

1.Asakura T,Karino T.Flow patterns and spatial distribution

of atherosclerotic lesions in human coronary arteries.Circ Res1990;66:1045e66.

2.Kohler TR,Jawien A.Flow affects development of intimal

hyperplasia after arterial injury in rats.Arterioscler Thromb 1992;12:963e71.

3.Lipowsky H.Shear stress in the circulation.In:Bevan JA,

Kaley G,Rubanyi GM eds.Flow-dependent regulation of vascular function.Bethesda,MD:American Physical Society,1995.pp28e45.

4.Tada S,Tarbell JM.Interstitial?ow through the internal elastic

lamina affects shear stress on arterial smooth muscle cells.Am J Physiol Heart Circ Physiol2000;278:H1589e97.

5.Wang DM,Tarbell JM.Modeling interstitial?ow in an

artery wall allows estimation of wall shear stress on smooth muscle cells.J Biomech Eng1995;117:358e63.

6.Goldman J,Zhong L,Liu SQ.Negative regulation of vascular

smooth muscle cell migration by blood shear stress.Am J Physiol Heart Circ Physiol2007;292:H928e38.

7.Li Y,Yang Y,Fang L,et al.Anti-hepatitis activities in the

broth of Ganoderma lucidum supplemented with a Chinese herbal medicine.Am J Chin Med2006;34:341e9.

https://www.wendangku.net/doc/3c5134567.html,u FY,Chui CH,Gambari R,et al.Antiproliferative and

apoptosis-inducing activity of Brucea javanica extract on human carcinoma cells.Int J Mol Med2005;16:1157e62.

9.Gerthoffer WT.Mechanisms of vascular smooth muscle cell

migration.Circ Res2007;100:607e21.

10.Chiu JJ,Chen CN,Lee PL,et al.Analysis of the effect of

disturbed?ow on monocytic adhesion to endothelial cells.

J Biomech2003;36:1883e95.

11.Chiu JJ,Wang DL,Chien S,et al.Effects of disturbed?ow

on endothelial cells.J Biomech Eng1998;120:2e8.

12.Ross R,Glomset J,Kariva B,et al.A platelet-dependent

serum factor that stimulates the proliferation of arterial smooth muscle cells in vitro.Proc Natl Acad Sci USA 1974;7:1207e10.

13.Graf K,Xi XP,Yang D,et al.Mitogen-activated protein

kinase activation is involved in platelet-derived growth factor-directed migration by vascular smooth muscle cells.

Hypertension1997;29:334e9.

14.Shi ZD,Tarbell JM.Fluid?ow mechanotransduction in

vascular smooth muscle cells and?broblasts.Ann Biomed Eng2011;39:1608e19.

15.Shi ZD,Ji XY,Berardi DE,et al.Interstitial?ow induces MMP-

1expression and vascular SMC migration in collagen I gels via an ERK1/2-dependent and c-Jun-mediated mechanism.Am J Physiol Heart Circ Physiol2010;298:H127e35.

16.Klemke RL,Cai S,Giannini AL,et al.Regulation of cell

motility by mitogen-activated protein kinase.J Cell Biol 1997;137:481e92.

17.Mugabe BE,Yaghini FA,Song CY,et al.Angiotensin

II-induced migration of vascular smooth muscle cells is mediated by p38mitogen-activated protein kinase-activated c-Src through spleen tyrosine kinase and epidermal growth factor receptor transactivation.J Pharma-col Exp Ther2010;332:116e24.

Vol.26,No.2,February2012Matrine inhibits disturbed?ow e enhanced migration275

BP神经网络实验——【机器学习与算法分析 精品资源池】

实验算法BP神经网络实验 【实验名称】 BP神经网络实验 【实验要求】 掌握BP神经网络模型应用过程,根据模型要求进行数据预处理,建模,评价与应用; 【背景描述】 神经网络:是一种应用类似于大脑神经突触联接的结构进行信息处理的数学模型。BP神经网络是一种按照误差逆向传播算法训练的多层前馈神经网络,是目前应用最广泛的神经网络。其基本组成单元是感知器神经元。 【知识准备】 了解BP神经网络模型的使用场景,数据标准。掌握Python/TensorFlow数据处理一般方法。了解keras神经网络模型搭建,训练以及应用方法 【实验设备】 Windows或Linux操作系统的计算机。部署TensorFlow,Python。本实验提供centos6.8环境。 【实验说明】 采用UCI机器学习库中的wine数据集作为算法数据,把数据集随机划分为训练集和测试集,分别对模型进行训练和测试。 【实验环境】 Pyrhon3.X,实验在命令行python中进行,或者把代码写在py脚本,由于本次为实验,以学习模型为主,所以在命令行中逐步执行代码,以便更加清晰地了解整个建模流程。 【实验步骤】 第一步:启动python: 1

命令行中键入python。 第二步:导入用到的包,并读取数据: (1).导入所需第三方包 import pandas as pd import numpy as np from keras.models import Sequential from https://www.wendangku.net/doc/3c5134567.html,yers import Dense import keras (2).导入数据源,数据源地址:/opt/algorithm/BPNet/wine.txt df_wine = pd.read_csv("/opt/algorithm/BPNet/wine.txt", header=None).sample(frac=1) (3).查看数据 df_wine.head() 1

有限元网格划分心得

有限元网格划分的基本原则 划分网格是建立有限元模型的一个重要环节,它要求考虑的问题较多,需要的工作量较大,所划分的网格形式对计算精度和计算规模将产生直接影响。为建立正确、合理的有限元模型,这里介绍划分网格时应考虑的一些基本原则。 1网格数量 网格数量的多少将影响计算结果的精度和计算规模的大小。一般来讲,网格数量增加,计算精度会有所提高,但同时计算规模也会增加,所以在确定网格数量时应权衡两个因数综合考虑。 图1中的曲线1表示结构中的位移随网格数量收敛的一般曲线,曲线2代表计算时间随网格数量的变化。可以看出,网格较少时增加网格数量可以使计算精度明显提高,而计算时间不会有大的增加。当网格数量增加到一定程度后,再继续增加网格时精度提高甚微,而计算时间却有大幅度增加。所以应注意增加网格的经济性。实际应用时可以比较两种网格划分的计算结果,如果两次计算结果相差较大,可以继续增加网格,相反则停止计算。 图1位移精度和计算时间随网格数量的变化 在决定网格数量时应考虑分析数据的类型。在静力分析时,如果仅仅是计算结构的变形,网格数量可以少一些。如果需要计算应力,则在精度要求相同的情况下应取相对较多的网格。同样在响应计算中,计算应力响应所取的网格数应比计算位移响应多。在计算结构固有动力特性时,若仅仅是计算少数低阶模态,可以选择较少的网格,如果计算的模态阶次较高,则应选择较多的网格。在热分析中,结构内部的温度梯度不大,不需要大量的内部单元,这时可划分较少的网格。 2网格疏密 网格疏密是指在结构不同部位采用大小不同的网格,这是为了适应计算数据的分布特点。在计算数据变化梯度较大的部位(如应力集中处),为了较好地反映数据变化规律,需要采用比较密集的网格。而在计算数据变化梯度较小的部位,为减小模型规模,则应划分相对稀疏的网格。这样,整个结构便表现出疏密不同的网格划分形式。 图2是中心带圆孔方板的四分之一模型,其网格反映了疏密不同的划分原则。小圆孔附近存在应力集中,采用了比较密的网格。板的四周应力梯度较小,网格分得较稀。其中图b中网格疏密相差更大,它比图a中的网格少48个,但计算出的孔缘最大应力相差1%,而计算时间却减小了36%。由此可见,采用疏密不同的网格划分,既可以保持相当的计算精度,又可使网格数量减小。因此,网格数量应增加到结构的关键部位,在次要部位增加网格是不必要的,也是不经济的。

数据挖掘常用资源及工具

资源Github,kaggle Python工具库:Numpy,Pandas,Matplotlib,Scikit-Learn,tensorflow Numpy支持大量维度数组与矩阵运算,也针对数组提供大量的数学函数库 Numpy : 1.aaa = Numpy.genfromtxt(“文件路径”,delimiter = “,”,dtype = str)delimiter以指定字符分割,dtype 指定类型该函数能读取文件所以内容 aaa.dtype 返回aaa的类型 2.aaa = numpy.array([5,6,7,8]) 创建一个一维数组里面的东西都是同一个类型的 bbb = numpy.array([[1,2,3,4,5],[6,7,8,9,0],[11,22,33,44,55]]) 创建一个二维数组aaa.shape 返回数组的维度print(bbb[:,2]) 输出第二列 3.bbb = aaa.astype(int) 类型转换 4.aaa.min() 返回最小值 5.常见函数 aaa = numpy.arange(20) bbb = aaa.reshape(4,5)

numpy.arange(20) 生成0到19 aaa.reshape(4,5) 把数组转换成矩阵aaa.reshape(4,-1)自动计算列用-1 aaa.ravel()把矩阵转化成数组 bbb.ndim 返回bbb的维度 bbb.size 返回里面有多少元素 aaa = numpy.zeros((5,5)) 初始化一个全为0 的矩阵需要传进一个元组的格式默认是float aaa = numpy.ones((3,3,3),dtype = numpy.int) 需要指定dtype 为numpy.int aaa = np 随机函数aaa = numpy.random.random((3,3)) 生成三行三列 linspace 等差数列创建函数linspace(起始值,终止值,数量) 矩阵乘法: aaa = numpy.array([[1,2],[3,4]]) bbb = numpy.array([[5,6],[7,8]]) print(aaa*bbb) *是对应位置相乘 print(aaa.dot(bbb)) .dot是矩阵乘法行乘以列 print(numpy.dot(aaa,bbb)) 同上 6.矩阵常见操作

_基于ANSYS的有限元法网格划分浅析

文章编号:1003-0794(2005)01-0038-02 基于ANSYS的有限元法网格划分浅析 杨小兰,刘极峰,陈 旋 (南京工程学院,南京210013) 摘要:为提高有限元数值的计算精度和对复杂结构力学分析的准确性,针对不同分析类型采用了不同的网格划分方法,结合实例阐述了ANSYS有限元网格划分的方法和技巧,指出了采用ANSYS有限元软件在网格划分时应注意的技术问题。 关键词:ANSYS;有限元;网格;计算精度 中图号:O241 82;TP391 7文献标识码:A 1 引言 ANSYS有限元分析程序是著名的C AE供应商美国ANSYS公司的产品,主要用于结构、热、流体和电磁四大物理场独立或耦合分析的CAE应用,功能强大,应用广泛,是一个便于学习和使用的优秀有限元分析程序。在ANSYS得到广泛应用的同时,许多技术人员对ANSYS程序的了解和认识还不够系统全面,在工作和研究中存在许多隐患和障碍,尤为突出的是有限元网格划分技术。本文结合工程实例,就如何合理地进行网格划分作一浅析。 2 网格划分对有限元法求解的影响 有限元法的基本思想是把复杂的形体拆分为若干个形状简单的单元,利用单元节点变量对单元内部变量进行插值来实现对总体结构的分析,将连续体进行离散化即称网格划分,离散而成的有限元集合将替代原来的弹性连续体,所有的计算分析都将在这个模型上进行。因此,网格划分将关系到有限元分析的规模、速度和精度以及计算的成败。实验表明:随着网格数量的增加,计算精确度逐渐提高,计算时间增加不多;但当网格数量增加到一定程度后,再继续增加网格数量,计算精确度提高甚微,而计算时间却大大增加。在进行网格划分时,应注意网格划分的有效性和合理性。 3 网格划分的有效性和合理性 (1)根据分析数据的类型选择合理的网格划分数量 在决定网格数量时应考虑分析数据的类型。在静力分析时,如果仅仅是计算结构的变形,网格数量可以少一些。如果需要计算应力,则在精度要求相同的情况下取相对较多的网格。同样在响应计算中,计算应力响应所取的网格数应比计算位移响应多。在计算结构固有动力特性时,若仅仅是计算少数低阶模态,可以选择较少的网格。如果计算的模态阶次较高,则应选择较多的网格。在热分析中,结构内部的温度梯度不大,不需要大量的内部单元,可划分较少的网格。 (2)根据分析数据的分布特点选择合理的网格疏密度 在决定网格疏密度时应考虑计算数据的分布特点,在计算固有特性时,因为固有频率和振型主要取决于结构质量分布和刚度分布,采用均匀网格可使结构刚度矩阵和质量矩阵的元素不致相差很大,可减小数值计算误差。同样,在结构温度场计算中也趋于采用均匀的网格形式。在计算数据变化梯度较大的部位时,为了更好地反映数据变化规律,需要采用比较密集的网格,而在计算数据变化梯度较小的部位,为了减小模型规模,则应划分相对稀疏的网格,这样整个结构就表现出疏密不同的网格划分形式。 以齿轮轮齿的有限元分析模型为例,由于分析的目的是求出齿轮啮合传动过程中齿根部分的弯曲应力,因此,分析计算时并不需要对整个齿轮进行计算,可根据圣文男原理将整个区域缩小到直接参与啮合的轮齿。虽然实际上参与啮合的齿数总大于1,但考虑到真正起作用的是单齿,通常只取一个轮齿作为分析对象,这样作可以大大节省计算机内存。考虑到轮齿应力在齿根过渡圆角和靠近齿面处变化较大,网格可划分得密一些。在进行疏密不同网格划分操作时可采用ANSYS提供的网格细化工具调整网格的疏密,也可采用分块建模法设置网格疏密度。 图1所示即为采用分块建模法进行网格划分。图1(a)为内燃机中重要运动零件连杆的有限元应力分析图,由于连杆结构对称于其摆动的中间平面,其厚度方向的尺寸远小于长度方向的尺寸,且载荷沿厚度方向近似均匀分布,故可按平面应力分析处 38 煤 矿 机 械 2005年第1期

题库深度学习面试题型介绍及解析--第7期

1.简述激活函数的作用 使用激活函数的目的是为了向网络中加入非线性因素;加强网络的表示能力,解决线性模型无法解决的问题 2.那为什么要使用非线性激活函数? 为什么加入非线性因素能够加强网络的表示能力?——神经网络的万能近似定理 ?神经网络的万能近似定理认为主要神经网络具有至少一个非线性隐藏层,那么只要给予网络足够数量的隐藏单元,它就可以以任意的精度来近似任何从一个有限维空间到另一个有限维空间的函数。 ?如果不使用非线性激活函数,那么每一层输出都是上层输入的线性组合;此时无论网络有多少层,其整体也将是线性的,这会导致失去万能近似的性质 ?但仅部分层是纯线性是可以接受的,这有助于减少网络中的参数。3.如何解决训练样本少的问题? 1.利用预训练模型进行迁移微调(fine-tuning),预训练模型通常在特征上拥有很好的语义表达。此时,只需将模型在小数据集上进行微调就能取得不错的效果。CV 有 ImageNet,NLP 有 BERT 等。 2.数据集进行下采样操作,使得符合数据同分布。

3.数据集增强、正则或者半监督学习等方式来解决小样本数据集的训练问题。 4.如何提升模型的稳定性? 1.正则化(L2, L1, dropout):模型方差大,很可能来自于过拟合。正则化能有效的降低模型的复杂度,增加对更多分布的适应性。 2.前停止训练:提前停止是指模型在验证集上取得不错的性能时停止训练。这种方式本质和正则化是一个道理,能减少方差的同时增加的偏差。目的为了平衡训练集和未知数据之间在模型的表现差异。 3.扩充训练集:正则化通过控制模型复杂度,来增加更多样本的适应性。 4.特征选择:过高的特征维度会使模型过拟合,减少特征维度和正则一样可能会处理好方差问题,但是同时会增大偏差。 5.你有哪些改善模型的思路? 1.数据角度 增强数据集。无论是有监督还是无监督学习,数据永远是最重要的驱动力。更多的类型数据对良好的模型能带来更好的稳定性和对未知数据的可预见性。对模型来说,“看到过的总比没看到的更具有判别的信心”。 2.模型角度

VFP常用函数大全整理

VFP常用函数大全整理 一.字符及字符串处理函数:字符及字符串处理函数的处理对象均为字符型数据,但其返回值类型各异. 1.取子串函数: 格式:substr(c,n1,n2) 功能:取字符串C第n1个字符起的n2个字符.返回值类型是字符型. 例:取姓名字符串中的姓. store \"王小风\" to xm ?substr(xm,1,2) 结果为:王 2.删除空格函数:以下3个函数可以删除字符串中的多余空格,3个函数的返回值均为字符型. trim(字符串):删除字符串的尾部空格 alltrim(字符串):删除字符串的前后空格 ltrim(字符串):删除字符串的前面的空格 例:去掉第一个字符串的尾空格后与第二个字符串连接 store \"abcd \" to x store \"efg\" to y ?trim(x)+y abcdefg 3.空格函数: 格式:space(n) 说明:该函数的功能是产生指定个数的空格字符串(n用于指定空格个数). 例:定义一个变量dh,其初值为8个空格 store space(8) to dh 4.取左子串函数: 格式:left(c,n) 功能:取字符串C左边n个字符. 5.取右子串函数: 格式:right(c,n) 功能:取字符串c右边的n个字符 例:a=\"我是中国人\" ?right(a,4) 国人 ?left(a,2) 我 6.empty(c):用于测试字符串C是否为空格. 7.求子串位置函数: 格式:At(字符串1,字符串2) 功能:返回字符串1在字符串2的位置 例:?At(\"教授\",\"副教授\") 2

8.大小写转换函数: 格式: lower(字符串) upper(字符串) 功能:lower()将字符串中的字母一律变小写;upper()将字符串中的字母一律变大写 例: bl=\"FoxBASE\" ?lower(bl)+space(2)+upper(bl) foxbase FOXBASE 9.求字符串长度函数: 格式:len(字符串) 功能:求指定字符串的长度 例:a=\"中国人\" ?len(a) 6 二.数学运算函数: 1.取整函数: 格式:int(数值) 功能:取指定数值的整数部分. 例:取整并显示结果 ?int(25.69) 25 2.四舍五入函数: 格式:round(数值表达式,小数位数) 功能:根据给出的四舍五入小数位数,对数值表达式的计算结果做四舍五入处理 例:对下面给出的数四舍五入并显示其结果 ?round(3.14159,4),round(2048.9962,0),round(2048.9962,-3) 3.1416 2049 2000 3.求平方根函数: 格式:sqrt(数值) 功能:求指定数值的算术平方根 例:?sqrt(100) 10 4.最大值、最小值函数: 格式: Max(数值表达式1,数值表达式2) Min(数值表达式1,数值表达式2) 功能:返回两个数值表达式中的最大值和最小值 例:

CATIA有限元高级划分网格教程

CATIA有限元高级网格划分教程 盛选禹李明志 1.1进入高级网格划分工作台 (1)打开例题中的文件Sample01.CATPart。 (2)点击主菜单中的【开始】→【分析与模拟】→【Advanced Meshing Tools】(高级网格划分工具),就进入【Advanced Meshing Tools】(高级网格划分工具)工作台,如图1-1所示。进入工作台后,生成一个新的分析文件,并且显示一个【New Analysis Case】(新分析算题)对话框,如图1-2所示。 图1-1【开始】→【分析与模拟】→【Advanced Meshing Tools】(高级网格划分工具)(3)在【New Analysis Case】(新分析算题)对话框内选择【Static Analysis】(静力分析)选项。如果以后打开该对话框的时候均希望是计算静力分析,可以把对话框内的【Keep as default starting analysis case】(在开始时保持为默认选项)勾选。这样,下次进入本工作台时,将自动选择静力分析。 (4)点击【新分析算题】对话框内的【确定】按钮,关闭对话框。 1.2定义曲面网格划分参数 本节说明如何定义一个曲面零件的网格类型和全局参数。 (1)点击【Meshing Method】(网格划分方法)工具栏内的【高级曲面划分】按钮

,如图1-3所示。需要在【Meshing Method】(网格划分方法)工具栏内点击中间按钮的下拉箭头才能够显示出【高级曲 面划分】按钮。 图1-2【New Analysis Case】(新分析算题)对话框图1-3【高级曲面划分】按钮

人工智能实践:Tensorflow笔记 北京大学 7 第七讲卷积网络基础 (7.3.1) 助教的Tenso

Tensorflow笔记:第七讲 卷积神经网络 本节目标:学会使用CNN实现对手写数字的识别。 7.1 √全连接NN:每个神经元与前后相邻层的每一个神经元都有连接关系,输入是特征,输出为预测的结果。 参数个数:∑(前层×后层+后层) 一张分辨率仅仅是28x28的黑白图像,就有近40万个待优化的参数。现实生活中高分辨率的彩色图像,像素点更多,且为红绿蓝三通道信息。 待优化的参数过多,容易导致模型过拟合。为避免这种现象,实际应用中一般不会将原始图片直接喂入全连接网络。 √在实际应用中,会先对原始图像进行特征提取,把提取到的特征喂给全连接网络,再让全连接网络计算出分类评估值。

例:先将此图进行多次特征提取,再把提取后的计算机可读特征喂给全连接网络。 √卷积Convolutional 卷积是一种有效提取图片特征的方法。一般用一个正方形卷积核,遍历图片上的每一个像素点。图片与卷积核重合区域内相对应的每一个像素值乘卷积核内相对应点的权重,然后求和,再加上偏置后,最后得到输出图片中的一个像素值。 例:上面是5x5x1的灰度图片,1表示单通道,5x5表示分辨率,共有5行5列个灰度值。若用一个3x3x1的卷积核对此5x5x1的灰度图片进行卷积,偏置项

b=1,则求卷积的计算是:(-1)x1+0x0+1x2+(-1)x5+0x4+1x2+(-1)x3+0x4+1x5+1=1(注意不要忘记加偏置1)。 输出图片边长=(输入图片边长–卷积核长+1)/步长,此图为:(5 – 3 + 1)/ 1 = 3,输出图片是3x3的分辨率,用了1个卷积核,输出深度是1,最后输出的是3x3x1的图片。 √全零填充Padding 有时会在输入图片周围进行全零填充,这样可以保证输出图片的尺寸和输入图片一致。 例:在前面5x5x1的图片周围进行全零填充,可使输出图片仍保持5x5x1的维度。这个全零填充的过程叫做padding。 输出数据体的尺寸=(W?F+2P)/S+1 W:输入数据体尺寸,F:卷积层中神经元感知域,S:步长,P:零填充的数量。 例:输入是7×7,滤波器是3×3,步长为1,填充为0,那么就能得到一个5×5的输出。如果步长为2,输出就是3×3。 如果输入量是32x32x3,核是5x5x3,不用全零填充,输出是(32-5+1)/1=28,如果要让输出量保持在32x32x3,可以对该层加一个大小为2的零填充。可以根据需求计算出需要填充几层零。32=(32-5+2P)/1 +1,计算出P=2,即需填充2

常用函数 类参考

全局函数1、common.func.php 公用函数 获得当前的脚本网址 function GetCurUrl() 返回格林威治标准时间 function MyDate($format='Y-m-d H:i:s',$timest=0) 把全角数字转为半角 function GetAlabNum($fnum) 把含HTML的内容转为纯text function Html2Text($str,$r=0) 把文本转HTML function Text2Html($txt) 输出Ajax头 function AjaxHead() 中文截取2,单字节截取模式 function cn_substr($str,$slen,$startdd=0) 把标准时间转为Unix时间戳 function GetMkTime($dtime) 获得一个0000-00-00 00:00:00 标准格式的时间 function GetDateTimeMk($mktime) 获得一个0000-00-00 标准格式的日期 function GetDateMk($mktime) 获得用户IP function GetIP() 获取拼音以gbk编码为准 function GetPinyin($str,$ishead=0,$isclose=1)

dedecms通用消息提示框 function ShowMsg($msg,$gourl,$onlymsg=0,$limittime=0) 保存一个cookie function PutCookie($key,$value,$kptime=0,$pa="/") 删除一个cookie function DropCookie($key) 获取cookie function GetCookie($key) 获取验证码 function GetCkVdValue() 过滤前台用户输入的文本内容 // $rptype = 0 表示仅替换html标记 // $rptype = 1 表示替换html标记同时去除连续空白字符// $rptype = 2 表示替换html标记同时去除所有空白字符// $rptype = -1 表示仅替换html危险的标记 function HtmlReplace($str,$rptype=0) 获得某文档的所有tag function GetTags($aid) 过滤用于搜索的字符串 function FilterSearch($keyword) 处理禁用HTML但允许换行的内容 function TrimMsg($msg) 获取单篇文档信息 function GetOneArchive($aid)

有限元网格划分

有限元网格划分 摘要:总结近十年有限元网格划分技术发展状况。首先,研究和分析有限元网格划分的基本原则;其次,对当前典型网格划分方法进行科学地分类,结合实例,系统地分析各种网格划分方法的机理、特点及其适用范围,如映射法、基于栅格法、节点连元法、拓扑分解法、几何分解法和扫描法等;再次,阐述当前网格划分的研究热点,综述六面体网格和曲面网格划分技术;最后,展望有限元网格划分的发展趋势。 关键词:有限元网格划分;映射法;节点连元法;拓扑分解法;几何分解法;扫描法;六面体网格 1 引言 有限元网格划分是进行有限元数值模拟分析至关重要的一步,它直接影响着后续数值计算分析结果的精确性。网格划分涉及单元的形状及其拓扑类型、单元类型、网格生成器的选择、网格的密度、单元的编号以及几何体素。在有限元数值求解中,单元的等效节点力、刚度矩阵、质量矩阵等均用数值积分生成,连续体单元以及壳、板、梁单元的面内均采用高斯(Gauss)积分,而壳、板、梁单元的厚度方向采用辛普生(Simpson)积分。 2 有限元网格划分的基本原则 有限元方法的基本思想是将结构离散化,即对连续体进行离散化,利用简化几何单元来近似逼近连续体,然后根据变形协调条件综合求解。所以有限元网格的划分一方面要考虑对各物体几何形状的准确描述,另一方面也要考虑变形梯度的准确描述。为正确、合理地建立有限元模型,这里介绍划分网格时应考虑的一些基本原则。 2.1 网格数量 网格数量直接影响计算精度和计算时耗,网格数量增加会提高计

算精度,但同时计算时耗也会增加。当网格数量较少时增加网格,计算精度可明显提高,但计算时耗不会有明显增加;当网格数量增加到一定程度后,再继续增加网格时精度提高就很小,而计算时耗却大幅度增加。所以在确定网格数量时应权衡这两个因素综合考虑。 2.2 网格密度 为了适应应力等计算数据的分布特点,在结构不同部位需要采用大小不同的网格。在孔的附近有集中应力,因此网格需要加密;周边应力梯度相对较小,网格划分较稀。由此反映了疏密不同的网格划分原则:在计算数据变化梯度较大的部位,为了较好地反映数据变化规律,需要采用比较密集的网格;而在计算数据变化梯度较小的部位,为减小模型规模,网格则应相对稀疏。 2.3 单元阶次 单元阶次与有限元的计算精度有着密切的关联,单元一般具有线性、二次和三次等形式,其中二次和三次形式的单元称为高阶单元。高阶单元的曲线或曲面边界能够更好地逼近结构的曲线和曲面边界,且高次插值函数可更高精度地逼近复杂场函数,所以增加单元阶次可提高计算精度。但增加单元阶次的同时网格的节点数也会随之增加,在网格数量相同的情况下由高阶单元组成的模型规模相对较大,因此在使用时应权衡考虑计算精度和时耗。 2.4 单元形状 网格单元形状的好坏对计算精度有着很大的影响,单元形状太差的网格甚至会中止计算。单元形状评价一般有以下几个指标: (1)单元的边长比、面积比或体积比以正三角形、正四面体、正六面体为参考基准。 (2)扭曲度:单元面内的扭转和面外的翘曲程度。 (3)节点编号:节点编号对于求解过程中总刚矩阵的带宽和波前因数有较大的影响,从而影响计算时耗和存储容量的大小 2.5 单元协调性 单元协调是指单元上的力和力矩能够通过节点传递给相邻单元。为保证单元协调,必须满足的条件是: (1)一个单元的节点必须同时也是相邻点,而不应是内点或边界

人工智能实践:Tensorflow笔记 北京大学 4 第四讲神经网络优化 (4.6.1) 助教的Tenso

Tensorflow笔记:第四讲 神经网络优化 4.1 √神经元模型:用数学公式表示为:f(∑i x i w i+b),f为激活函数。神经网络是以神经元为基本单元构成的。 √激活函数:引入非线性激活因素,提高模型的表达力。 常用的激活函数有relu、sigmoid、tanh等。 ①激活函数relu: 在Tensorflow中,用tf.nn.relu()表示 r elu()数学表达式 relu()数学图形 ②激活函数sigmoid:在Tensorflow中,用tf.nn.sigmoid()表示 sigmoid ()数学表达式 sigmoid()数学图形 ③激活函数tanh:在Tensorflow中,用tf.nn.tanh()表示 tanh()数学表达式 tanh()数学图形 √神经网络的复杂度:可用神经网络的层数和神经网络中待优化参数个数表示 √神经网路的层数:一般不计入输入层,层数 = n个隐藏层 + 1个输出层

√神经网路待优化的参数:神经网络中所有参数w 的个数 + 所有参数b 的个数 例如: 输入层 隐藏层 输出层 在该神经网络中,包含1个输入层、1个隐藏层和1个输出层,该神经网络的层数为2层。 在该神经网络中,参数的个数是所有参数w 的个数加上所有参数b 的总数,第一层参数用三行四列的二阶张量表示(即12个线上的权重w )再加上4个偏置b ;第二层参数是四行两列的二阶张量()即8个线上的权重w )再加上2个偏置b 。总参数 = 3*4+4 + 4*2+2 = 26。 √损失函数(loss ):用来表示预测值(y )与已知答案(y_)的差距。在训练神经网络时,通过不断改变神经网络中所有参数,使损失函数不断减小,从而训练出更高准确率的神经网络模型。 √常用的损失函数有均方误差、自定义和交叉熵等。 √均方误差mse :n 个样本的预测值y 与已知答案y_之差的平方和,再求平均值。 MSE(y_, y) = ?i=1n (y?y_) 2n 在Tensorflow 中用loss_mse = tf.reduce_mean(tf.square(y_ - y)) 例如: 预测酸奶日销量y ,x1和x2是影响日销量的两个因素。 应提前采集的数据有:一段时间内,每日的x1因素、x2因素和销量y_。采集的数据尽量多。 在本例中用销量预测产量,最优的产量应该等于销量。由于目前没有数据集,所以拟造了一套数据集。利用Tensorflow 中函数随机生成 x1、 x2,制造标准答案y_ = x1 + x2,为了更真实,求和后还加了正负0.05的随机噪声。 我们把这套自制的数据集喂入神经网络,构建一个一层的神经网络,拟合预测酸奶日销量的函数。

有限元网格划分和收敛性

一、基本有限元网格概念 1.单元概述?几何体划分网格之前需要确定单元类型.单元类型的选择应该根据分析类型、形状特征、计算数据特点、精度要求和计算的硬件条件等因素综合考虑。为适应特殊的分析对象和边界条件,一些问题需要采用多种单元进行组合建模。? 2.单元分类选择单元首先需要明确单元的类型,在结构有限元分析中主要有以下一些单元类型:平面应力单元、平面应变单元、轴对称实体单元、空间实体单元、板单元、壳单元、轴对称壳单元、杆单元、梁单元、弹簧单元、间隙单元、质量单元、摩擦单元、刚体单元和约束单元等。根据不同的分类方法,上述单元可以分成以下不同的形式。?3。按照维度进行单元分类 根据单元的维数特征,单元可以分为一维单元、二维单元和三维单元。?一维单元的网格为一条直线或者曲线。直线表示由两个节点确定的线性单元。曲线代表由两个以上的节点确定的高次单元,或者由具有确定形状的线性单元。杆单元、梁单元和轴对称壳单元属于一维单元,如图1~图3所示。 ?二维单元的网 格是一个平面或者曲面,它没有厚度方向的尺寸.这类单元包括平面单元、轴对称实体单元、板单元、壳单元和复合材料壳单元等,如图4所示。二维单元的形状通常具有三角形和四边形两种,在使用自动网格剖分时,这类单元要求的几何形状是表面模型或者实体模型的边界面。采用薄壳单元通常具有相当好的计算效率。

??三维单元的网格具有空间三个方向的尺寸,其形状具有四面体、五面体和六面体,这类单元包括空间实体单元和厚壳单元,如图5所示.在自动网格划分时,它要求的是几何模型是实体模型(厚壳单元是曲面也可以)。 ? 4.按照插值函数进行单元分类 根据单元插值函数多项式的最高阶数多少,单元可以分为线性单元、二次单元、三次单元和更高次的单元。 线性单元具有线性形式的插值函数,其网格通常只具有角节点而无边节点,网格边界为直线或者平面.这类单元的优点是节点数量少,在精度要求不高或者结果数据梯度不太大的情况下,采用线性单元可以得到较小的模型规模.但是由于单元位移函数是线性的,单元内的位移呈线性变化,而应力是常数,因此会造成单元间的应力不连续,单元边界上存在着应力突变,如图6所示。

比较PageRank算法和HITS算法的优缺点

题目:请比较PageRank算法和HITS算法的优缺点,除此之外,请再介绍2种用于搜索引擎检索结果的排序算法,并举例说明。 答: 1998年,Sergey Brin和Lawrence Page[1]提出了PageRank算法。该算法基于“从许多优质的网页链接过来的网页,必定还是优质网页”的回归关系,来判定网页的重要性。该算法认为从网页A导向网页B的链接可以看作是页面A对页面B的支持投票,根据这个投票数来判断页面的重要性。当然,不仅仅只看投票数,还要对投票的页面进行重要性分析,越是重要的页面所投票的评价也就越高。根据这样的分析,得到了高评价的重要页面会被给予较高的PageRank值,在检索结果内的名次也会提高。PageRank是基于对“使用复杂的算法而得到的链接构造”的分析,从而得出的各网页本身的特性。 HITS 算法是由康奈尔大学( Cornell University ) 的JonKleinberg 博士于1998 年首先提出。Kleinberg认为既然搜索是开始于用户的检索提问,那么每个页面的重要性也就依赖于用户的检索提问。他将用户检索提问分为如下三种:特指主题检索提问(specific queries,也称窄主题检索提问)、泛指主题检索提问(Broad-topic queries,也称宽主题检索提问)和相似网页检索提问(Similar-page queries)。HITS 算法专注于改善泛指主题检索的结果。 Kleinberg将网页(或网站)分为两类,即hubs和authorities,而且每个页面也有两个级别,即hubs(中心级别)和authorities(权威级别)。Authorities 是具有较高价值的网页,依赖于指向它的页面;hubs为指向较多authorities的网页,依赖于它指向的页面。HITS算法的目标就是通过迭代计算得到针对某个检索提问的排名最高的authority的网页。 通常HITS算法是作用在一定范围的,例如一个以程序开发为主题的网页,指向另一个以程序开发为主题的网页,则另一个网页的重要性就可能比较高,但是指向另一个购物类的网页则不一定。在限定范围之后根据网页的出度和入度建立一个矩阵,通过矩阵的迭代运算和定义收敛的阈值不断对两个向量authority 和hub值进行更新直至收敛。 从上面的分析可见,PageRank算法和HITS算法都是基于链接分析的搜索引擎排序算法,并且在算法中两者都利用了特征向量作为理论基础和收敛性依据。

数据库常用函数

数据库常用函数

一、基础 1、说明:创建数据库 CREATE DATABASE database-name 2、说明:删除数据库 drop database dbname 3、说明:备份和还原 备份:exp dsscount/sa@dsscount owner=dsscount file=C:\dsscount_data_backup\dsscount.dmp log=C:\dsscount_data_backup\outputa.log 还原:imp dsscount/sa@dsscount file=C:\dsscount_data_backup\dsscount.dmp full=y ignore=y log=C:\dsscount_data_backup\dsscount.log statistics=none 4、说明:创建新表 create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..) CREATE TABLE ceshi(id INT not null identity(1,1) PRIMARY KEY,NAME VARCHAR(50),age INT) id为主键,不为空,自增长 根据已有的表创建新表: A:create table tab_new like tab_old (使用旧表创建新表) B:create table tab_new as select col1,col2… from tab_old definition only 5、说明:删除新表 drop table tabname 6、说明:增加一个列 Alter table tabname add column col type 注:列增加后将不能删除。DB2中列加上后数据类型也不能改变,唯一能改变的是增加varchar类型的长度。 7、说明:添加主键: Alter table tabname add primary key(col) 说明:删除主键: Alter table tabname drop primary key(col) 8、说明:创建索引:create [unique] index idxname on tabname(col….) 删除索引:drop index idxname 注:索引是不可更改的,想更改必须删除重新建。 9、说明:创建视图:create view viewname as select statement 删除视图:drop view viewname 10、说明:几个简单的基本的sql语句 选择:select * from table1 where 范围 插入:insert into table1(field1,field2) values(value1,value2) 删除:delete from table1 where 范围 更新:update table1 set field1=value1 where 范围

ANSYS有限元网格划分的基本要点

ANSYS有限元网格划分的基本要点 1引言 ANSYS有限元网格划分是进行数值模拟分析至关重要的一步,它直接影响着后续数值计算分析结果的精确性。网格划分涉及单元的形状及其拓扑类型、单元类型、网格生成器的选择、网格的密度、单元的编号以及几何体素。从几何表达上讲,梁和杆是相同的,从物理和数值求解上讲则是有区别的。同理,平面应力和平面应变情况设计的单元求解方程也不相同。在有限元数值求解中,单元的等效节点力、刚度矩阵、质量矩阵等均用数值积分生成,连续体单元以及壳、板、梁单元的面内均采用高斯(Gauss)积分,而壳、板、梁单元的厚度方向采用辛普生(Simpson)积分。辛普生积分点的间隔是一定的,沿厚度分成奇数积分点。由于不同单元的刚度矩阵不同,采用数值积分的求解方式不同,因此实际应用中,一定要采用合理的单元来模拟求解。 2ANSYS网格划分的指导思想 ANSYS网格划分的指导思想是首先进行总体模型规划,包括物理模型的构造、单元类型的选择、网格密度的确定等多方面的内容。在网格划分和初步求解时,做到先简单后复杂,先粗后精,2D单元和3D单元合理搭配使用。为提高求解的效率要充分利用重复与对称等特征,由于工程结构一般具有重复对称或轴对称、镜象对称等特点,采用子结构或对称模型可以提高求解的效率和精度。利用轴对称或子结构时要注意场合,如在进行模态分析、屈曲分析整体求解时,则应采用整体模型,同时选择合理的起点并设置合理的坐标系,可以提高求解的精度和效率,例如,轴对称场合多采用柱坐标系。有限元分析的精度和效率与单元的密度和几何形状有着密切的关系,按照相应的误差准则和网格疏密程度,避免网格的畸形。在网格重划分过程中常采用曲率控制、单元尺寸与数量控制、穿透控制等控制准则。在选用单元时要注意剪力自锁、沙漏和网格扭曲、不可压缩材料的体积自锁等问题 ANSYS软件平台提供了网格映射划分和自由适应划分的策略。映射划分用于曲线、曲面、实体的网格划分方法,可使用三角形、四边形、四面体、五面体和六面体,通过指定单元边长、网格数量等参数对网格进行严格控制,映射划分只用于规则的几何图素,对于裁剪曲面或者空间自由曲面等复杂几何体则难以

人工智能tensorflow实验报告

一、软件下载 为了更好的达到预期的效果,本次tensorflow开源框架实验在Linux环境下进行,所需的软件及相关下载信息如下: 1.CentOS 软件介绍: CentOS 是一个基于Red Hat Linux 提供的可自由使用源代码的企业级Linux 发行版本。每个版本的CentOS都会获得十年的支持(通过安全更新方式)。新版本的CentOS 大约每两年发行一次,而每个版本的CentOS 会定期(大概每六个月)更新一次,以便支持新的硬件。这样,建立一个安全、低维护、稳定、高预测性、高重复性的Linux 环境。CentOS是Community Enterprise Operating System的缩写。CentOS 是RHEL(Red Hat Enterprise Linux)源代码再编译的产物,而且在RHEL的基础上修正了不少已知的Bug ,相对于其他Linux 发行版,其稳定性值得信赖。 软件下载: 本次实验所用的CentOS版本为CentOS7,可在CentOS官网上直接下载DVD ISO镜像文件。 下载链接: https://www.wendangku.net/doc/3c5134567.html,/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1611.i so. 2.Tensorflow 软件介绍: TensorFlow是谷歌基于DistBelief进行研发的第二代人工智能学习系统,其命名来源于本身的运行原理。Tensor(张量)意味着N维数组,Flow(流)意味着基于数据流图的计算,TensorFlow为张量从流图的一端流动到另一端计算过程。TensorFlow是将复杂的数据结构传输至人工智能神经网中进行分析和处理过程的系统。TensorFlow可被用于语音识别或图像识别等多项机器深度学习领域,对2011年开发的深度学习基础架构DistBelief进行了各方面的改进,它可在小到一部智能手机、大到数千台数据中心服务器的各种设备上运行。TensorFlow将完全开源,任何人都可以用。

ANSYS有限元分析中的网格划分

ANSYS有限元分析中的网格划分 有限元分析中的网格划分好坏直接关系到模型计算的准确性。本文简述了网格划分应用的基本理论,并以ANSYS限元分析中的网格划分为实例对象,详细讲述了网格划分基本理论及其在工程中的实际应用,具有一定的指导意义。 作者: 张洪才 关键字: CAE ANSYS 网格划分有限元 1 引言 ANSYS有限元网格划分是进行数值模拟分析至关重要的一步,它直接影响着后续数值计算分析结果的精确性。网格划分涉及单元的形状及其拓扑类型、单元类型、网格生成器的选择、网格的密度、单元的编号以及几何体素。从几何表达上讲,梁和杆是相同的,从物理和数值求解上讲则是有区别的。同理,平面应力和平面应变情况设计的单元求解方程也不相同。在有限元数值求解中,单元的等效节点力、刚度矩阵、质量矩阵等均用数值积分生成,连续体单元以及壳、板、梁单元的面内均采用高斯(Gauss)积分,而壳、板、梁单元的厚度方向采用辛普生(Simpson)积分。辛普生积分点的间隔是一定的,沿厚度分成奇数积分点。由于不同单元的刚度矩阵不同,采用数值积分的求解方式不同,因此实际应用中,一定要采用合理的单元来模拟求解。 2 ANSYS网格划分的指导思想 ANSYS网格划分的指导思想是首先进行总体模型规划,包括物理模型的构造、单元类型的选择、网格密度的确定等多方面的内容。在网格划分和初步求解时,做到先简单后复杂,先粗后精,2D单元和3D单元合理搭配使用。为提高求解的效率要充分利用重复与对称等特征,由于工程结构一般具有重复对称或轴对称、镜象对称等特点,采用子结构或对称模型可以提高求解的效率和精度。利用轴对称或子结构时要注意场合,如在进行模态分析、屈曲分析整体求解时,则应采用整体模型,同时选择合理的起点并设置合理的坐标系,可以提高求解的精度和效率,例如,轴对称场合多采用柱坐标系。有限元分析的精度和效率与单元的密度和几何形状有着密切的关系,按照相应的误差准则和网格疏密程度,避免网格的畸形。在网格重划分过程中常采用曲率控制、单元尺寸与数量控制、穿透控制等控制准则。在选用单元时要注意剪力自锁、沙漏和网格扭曲、不可压缩材料的体积自锁等问题ANSYS软件平台提供了网格映射划分和自由适应划分的策略。映射划分用于曲线、曲面、实体的网格划分方法,可使用三角形、四边形、四面体、五面体和六面体,通过指定单元边长、网格数量等参数对网格进行严格控制,映射划分只用于规则的几何图素,对于裁剪曲面或者空间自由曲面等复杂几何体则难以控制。自由网格划分用于空间自由曲面和复杂实体,采用三角形、四边形、四面体进行划分,采用网格数量、边长及曲率来控制网格的质量。 3 ANSYS网格划分基本原则 3.1 网格数量 网格数量的多少将影响计算结果的精度和计算规模的大小。一般来讲,网格数量增加,计算精度会有所提高,但同时计算规模也会增加,所以在确定网格数量时应权衡两个因数综合考虑。 图1 位移精度和计算时间随网格数量的变化 图1中的曲线1表示结构中的位移随网格数量收敛的一般曲线,曲线2代表计算时间随

相关文档
相关文档 最新文档