colincaprani.com » Visual Basic
-
Upload
wejnrooney -
Category
Documents
-
view
77 -
download
0
Transcript of colincaprani.com » Visual Basic
colincaprani.comStructural Engineering, Bridge Research, Programming, and more…
Entries Comments
Search:
Visual BasicThe following programs are written in Visual Basic 6. Mostly they are useful for the code snippets, but there are some fully-fledged applications here also. The source codes are given, as are some of the installation programs. Note that the inclusion ofthe run time files bloats the download. The programs are released under the terms of the GNU General Public License (1353hits).
FEBeam
This program is the most comprehensive I’ve written in Visual Basic. It is a finite-element analysis package for beams alone. Itsbenefits are that the second moment of area, as well as the modulus of elasticity can be varied throughout the beam, in steps orcurves or even a mixture of the two. All regular forms of loading are allowed for as are fixed displacements and spring supports.An automatic meshing routine, as well as a user-defined mesh density also feature. This combination make it very useful forchecking unusual design scenarios not covered by regular analysis software. There are some limitations to it though, for examplethe output is not comprehensive and neither is the error checking. But it is still a useful program, and a good introduction toprogramming the finite element method. There are an endless list of possible upgrades to this program, but at the moment Idon’t have any intention of doing more work on it.
Note that Section 15 of the GNU GPL (1353 hits), Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularlypertinent to this engineering design program.
Source (305 KB) — Installation (5.61 MB)
(510 hits)
TrussMaster
This is a fairly functional truss analysis program that features common CAD commands. A user-defined grid can be set up andnodes snapped to grid points and members drawn between nodes. Loads and supports can be defined in the data entry grid, orby generation. Members and nodes can also be created using the node/member generation boxes. Member properties can begenerated for any sequence of members, or input via the data entry grid. Note that a pinned support is input as a “1″ and aroller support as a “2″. The member and nodal results are output in a grid, whilst the deflected shape is drawn to a user-definedscale, and can also be animated to examine the structural behaviour. There are features required before the program is reallyuseful, such as:
member forces to be drawn in window;
animation re-scale;
better support conditions definitions;
better output of results;
member selection and editing;
move node feature;
better drawings of loads and supports.
I’m not sure when I’ll get around to these features (if ever!) so you get it as it is – it’s still very useful though.
Welcome!See About for more informationabout this site.
PagesHome
Structural Engineering
Forum
Courses
Lecture Notes
Structural Analysis III
Structural Analysis IV
BTech Structural Analysis
Project III
Final Year Project
IStructE RoI Branch CM ExamPrep Course
Research
Publications
Presentations
Projects
TEAM Project Talk
Simba
BridgeTrafficLoadSim
PhD Dissertation
Programming
Visual Basic
C++
MS Excel
MultiFeedSnap
Matlab
TrussMaster
Links
Related Feeds
About
Personal
Recent CommentsJohn Wanjohi on StructuralEngineering
Moses Mashinini on StructuralAnalysis III
Home Structural Engineering Research Programming Links About
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
1 of 7 5/8/2013 9:31 PM
Note that Section 15 of the GNU GPL (1353 hits), Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularlypertinent to this engineering design program.
Source (96 KB) — Installation (4.33 MB)
TrussGenerator
For some standard trusses, it is laborious to type all joint/member coordinates and loadings into TrussMaster. Therefore thislittle program generates a TrussMaster file for standard truss configurations. (Actually I lie – it only does the Pratt or “N”configuration for now ).
Source (19 KB) — Installation (2.73 MB)
EC5 Joist
This program is a useful design tool for checking domestic joist designs to Eurocode 5. All usual configurations of span, joistspacing, joist size and material grade are allowed for. Design checks include bending, shear, end-bearing and deflections. Thematerial properties are held on a database file that must reside in the same directory as the exe file. Definitely useful as a fullyinstalled program.
Note that Section 15 of the GNU GPL (1353 hits), Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularlypertinent to this engineering design program.
Source (20 KB) — Installation (6.21 MB)
Steel Sections Database
This is a simple program that renders the section properties and an image of a selected steel section from the included
database. The sections included are UB, UC, UBP and PFC (though I think the PFC crashes it ). It’s a basic introduction to howone might include a sections-library into a larger program.
Admin on MS Excel
Fazal Rehman Safi on MS Excel
Shabz on Lecture Notes
Recent PostsQualitative Analysis
Peter Rice – 20 yearAnniversary
Micro-cracks in steel
BCRI Young ResearcherAwardThe Golden Gate Bridge 75thAnniversary
BlogrollGreat Excel and EngineeringBlog
CategoriesEngineering (16)
General (28)
Lectures (5)
Programming (4)
Research (10)
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
2 of 7 5/8/2013 9:31 PM
Source and exe (43 KB)
(205 hits)
Graph Displacement
This is a small program that graphs the Euler-Bernoulli shape function for a flexural member when the end translations androtations are given. It then finds the location and value of the maximum displacement along the element. Sort-of useful in itsown. It was included into FEBeam to visualize individual element displacements.
Source and exe (43 KB)
(176 hits)
Recently Used Files
This program demonstrates the use of a module that manages the recently used files list in the File menu. This version is anupdate of the previous one that has been downloaded over 36,000 times (here (158 hits))! This program’s main use is to providethe RUF module for inclusion in your own package. Therefore the installation program really only serves to provide the runtimefiles if needed.
Source (15 KB) — Installation (2.83 MB)
Linear Simultaneous Equations
This program demonstrates two modules written for the solution of matrix equations. The modules are for Gauss Elimination andCholesky Decomposition. These modules are useful in larger programs, such as finite-element or stiffness method solutions. BothFEBeam and TrussMaster use the Gauss Elimination module as it is found to be more robust than the Cholesky Decompositionmodule, which (strangely) is the preferred solution method of commercial programs. Not tremendously useful as an installedprogram.
Source (17 KB) — Installation (2.61 MB)
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
3 of 7 5/8/2013 9:31 PM
Stochastic Beam Design
This program uses the Monte Carlo method to calculate the probability of failure of a simply-supported beam in which allvariables are stochastic. Each variable can have one of the five different probability distributions which are allowed for. Possiblyinteresting as an installed program to investigate safety levels in a potential design.
Source (23 KB) — Installation (3.7 MB)
Operations Time
This program finds the time required by different operators (+, -, x, /) on your particular machine.
Source and exe (43 KB)
CommentsComment from salahTime: 28 August, 2008, 11:32
very happy to find this site and thanks for the team who run this site
Comment from apparaoTime: 7 November, 2008, 15:24
very interesting and useful programs presented
Comment from eng.zarzourTime: 24 January, 2009, 18:36
thanks for every thing it’s a great site and i will tell all my friends about it
Comment from ugoTime: 2 February, 2009, 15:51
great work!
Comment from ordiah evans vansTime: 12 May, 2009, 11:38
This is programs source codes are the best free engineering source codes I have seen. God bless you real good for giving this out. Iam a civil /structural engineer and I lecturer in a university in Nigeria. I will appreciate having more of this free codes and booksin visual basic/visual basic.net.Thank you sir.
Comment from JasonTime: 3 September, 2009, 17:25
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
4 of 7 5/8/2013 9:31 PM
Thank you for this great share. I used to be a visual basic programmer (vb5 and vb6, i know it’s old lol) and i can see the qualityin your programs. Thank you so much for this great share. Jason
Comment from Sanjay DesaiTime: 2 November, 2009, 20:44
Just stumbled upon this great site while looking for programming material on Beam design. Thank you for sharing the VB SourceCodes. Greatly appreciated.
Comment from Ayman AtmehTime: 2 April, 2010, 17:16
Thank You Very much for this program but i want ask you how can we find a moment on specific distance in your Code you putmoments only on Nodes
Comment from isaac muriithiTime: 17 July, 2010, 08:21
I am very pleased with the program. Its quite a lot of efforts.
Comment from Gelbert R. SilotTime: 8 September, 2010, 09:50
Thanks for this program. I’ve been longing for this free great stuff.
Comment from shrikantTime: 7 October, 2010, 20:19
sir,do you have any program on structural analysis…
Comment from mehdiTime: 14 October, 2010, 06:47
tanks for your excellent app’sthey are so usefull for me.
Comment from mghozi2002Time: 12 December, 2010, 15:54
great works!! thanks for share the code which very usefull for my study.it will be so complete if i can get the code for 3D truss, sir (please).god bless us all.
Comment from Ahmad MansourTime: 22 December, 2010, 11:51
Great works, i am very happy that i found such website, appreciations
Comment from rezaTime: 26 April, 2011, 13:44
this is really nice.i’m really happy to find you.thank you alot.
Comment from RobTime: 11 July, 2011, 17:55
Great resource for bridge engineers, Thanks.
I recently launched a bridge assessment program, a free version is available at bridgeassessment.co.uk
Comment from ColinTime: 11 July, 2011, 21:44
Rob,Looks really slick – well done, and the best of luck with success for it. Did you write it in C#?Colin
Comment from RobTime: 12 July, 2011, 11:39
Hi Colin thanks very much, Yea it’s written in C#, it’s a great language and combined with windows presentation foundation(WPF) you can get some great UI’s and sharp looking reports using the XPS document format.
Kind RegardsRob
Comment from Mak UD’s
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
5 of 7 5/8/2013 9:31 PM
Time: 6 August, 2011, 10:07
Dude u r awesome !!
Comment from SohailTime: 16 September, 2011, 18:38
Hey there ! its really nice work i have also created some civil engg related softwares e.g. Trruss Analysis and beam solution forindeterminate beams. hit me on email
Comment from Tim EckertTime: 19 September, 2011, 01:39
On the joist program- can anyone tell me the major equation differences from the Eurocode to the International Building Code orBOCA building Code? It seems like a useful program that i can use. I could take the force effects and then design independently.
Comment from Osman ŞahinoğluTime: 22 September, 2011, 15:39
Visual Basic ile yazılmış programlarınızı takip ediyorum.
Comment from OSUNDE TOYIN ANTHONYTime: 8 October, 2011, 16:51
i am studying production engineering in the university of Benin,Benin city NIGERIA.THANKS FOR THE WONDERFUL JOB ANDALLOWING PEOPLE TO HAVE ACCESS TO YOUR WORK.PLEASE,KEEP UP THE GOOD WORK.
Comment from J.McTime: 20 January, 2012, 13:18
You guys are legends. Some great stuff here
Comment from Abhijeet OundhakarTime: 1 June, 2012, 11:35
Dear Dr Caprani, thanks for sharing the source code to your excellent programs. I downloaded the source for trussmaster, butthere does not seem to be any project file. Could you guide me to set up the project for compilation?
Comment from Wilfred MathiasTime: 9 June, 2012, 11:21
Pls guys i try to write a vb6 program to calculate a simultanous equation with three variable pls can someone hlp me out
Comment from klarkTime: 3 August, 2012, 09:01
Based on the GUI of the program, I think ETABS were programmed using Visual Basic.Anyone who agree with me?
Comment from WilliamsTime: 15 November, 2012, 05:18
Thanks for this great sacrifice. Can help with any step by step manual on VB6.0 as am new to it. I will kindly request sourcecodes for solving upto 10 by 10 matrixes. thanks
Write a commentName:
E-mail:
Website:
Comment:
Submit
© 2013 colincaprani.comPowered by WordPress - Theme design by Andreas Viklund
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
6 of 7 5/8/2013 9:31 PM
colincaprani.com » Visual Basic http://www.colincaprani.com/programming/visual-basic/
7 of 7 5/8/2013 9:31 PM