project-1 (1)

1
Project 1 / Implementation of an H-Profile Class 11.12.2010 Project 1 Please implement the total code for an H-Profile into our Python package Profiles. The following features should be considered. The H profile should be implemented within a class HProfile (like we have done it with the UProfile class). The implementation should be able to handle all H profiles of the profile tables. The class Profile should be extended by methods which are able to calculate and list the profile’s section properties according to the script appendix A. A testing code should be implemented which should create 3 different H profiles. The calculated section property values should be printed with the log function of the class Base. The results should be discussed comparing them with the values of the profile table. It’s recommended to use parts of the code we have developed in the lecture. Please don’t forget the error checking in the code. The code should be able to detect wrong input data and should also be able to handle special cases. The report for this project should content a section, which describes the theory of the problem. One section should describe the usage of the developed program (like a user’s manual) and one section should describe the code (like a programmer’s guild). And don’t forget the layout. Computational Mechanics / Analysis of Structures

Upload: sujaydsouza1987

Post on 16-Nov-2015

4 views

Category:

Documents


0 download

DESCRIPTION

Implementation of an H-Profile Class

TRANSCRIPT

  • Project 1 / Implementation of an H-Profile Class 11.12.2010

    Project 1

    Please implement the total code for an H-Profile into our Python package Profiles. The following featuresshould be considered.

    The H profile should be implemented within a class HProfile (like we have done it with the UProfileclass). The implementation should be able to handle all H profiles of the profile tables.

    The class Profile should be extended by methods which are able to calculate and list the profilessection properties according to the script appendix A.

    A testing code should be implemented which should create 3 different H profiles. The calculatedsection property values should be printed with the log function of the class Base.

    The results should be discussed comparing them with the values of the profile table.

    Its recommended to use parts of the code we have developed in the lecture. Please dont forget the errorchecking in the code. The code should be able to detect wrong input data and should also be able tohandle special cases.

    The report for this project should content a section, which describes the theory of the problem. Onesection should describe the usage of the developed program (like a users manual) and one section shoulddescribe the code (like a programmers guild). And dont forget the layout.

    Computational Mechanics / Analysis of Structures