Skip to content

keweili/feappv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FEAPpv

FEAPpv is a simplifed and free version of FEAP and does not included many advanced features such as a parallel capability, contact, fe2, igafeap. It only supports a limited number of material models. The programming architecture of FEAPpv is generally similar to that of FEAP but often is a bit behind in development. The official website of FEAPpv can be found at http://projects.ce.berkeley.edu/feap/feappv.

The FEAPpv source code in this repository is an updated version with some corrections not avaialbe in the official version.

Compiling and Installation of FEAPpv on Windows

The following workflow demonstrates how to compile and build FEAPpv from source code. The advantage of this new method is that you can build the FEAPpv main program and all the subroutines at once. In this method, we will create a Visual Studio solution which consists of two projects: the FEAPpv main program and a static library. At first, we will create a QuickWin Application for FEAPpv main program and then another project for the static library.

  1. Open Visual Studio.
    a. Select File -> New -> Project...
    b. Select "QuickWin Application" in the left column under Intel(R) Visual Fortran, then select "QuickWin Application" option in the middle column.
    c. At the bottom, name the project for the main program of FEAPpv, e.g. feappv.
    d. Select a directory and note it down, e.g. C:\Users\***\projects\
    e. Add a solution name, e.g. FEAPpv41
    f. Click OK

  2. At the top select "Release" build (as opposed to Debug)

  3. Right-click the project name (feappv) in the "Solution Explorer" window on the right and select Add -> Existing Item...
    a. Set the file format to show "All Files (.)" in the window if needed
    b. Add "feappv.f" from the "main" subdirectory of FEAPpv source code, e.g.
    C:\users\***\feappv41\main

  4. Right-click the project name (feappv) again and select Properties
    a. Select Fortran on the left, then General
    b. Add following FEAPpv include directories to the "Additional Include Directories" :
    C:\users\xxx\feappv41\include
    and the appropriate directory for 32-bit Windows machine:
    C:\users\xxx\feappv41\include\integer4
    or for 64-bit Windows machine
    C:\users\xxx\feappv41\include\integer8.
    You only need one of them for your machine.

  5. Right-click the solution name (FEAPpv41) -> Add -> New Project...
    a. Select "Library" under "Intel(R) Visual Fortran" in the left column:
    b. Select "Static Library"
    c. Name library, e.g. lib41
    d. Click OK

  6. At top "Release" build should be selected already. If not, select Release build.

  7. Right-click the "lib41" Project and select Properties
    a. Select Fortran, then General on the left
    b. Add following FEAPpv include directories to the "Additional Include Directories":
    C:\users\xxx\feappv41\include
    and the appropriate directory for 32-bit Windows machine
    C:\users\xxx\feappv41\include\integer4,
    or 64-bit Windows machine,
    C:\users\xxx\feappv41\include\integer8
    Again, you only need one of them.

  8. Right-click the lib41 Project and select Add -> New Folder. This will create a new forlder with the defult name, e.g. "NewFolder1"
    a. Rigth click that folder and change the name to elements.
    b. Right-click the folder elements and Add -> Existing Item...
    c. Navigate to the FEAPpv source folder at
    C:\Users\***\feappv41\elements
    d. Select all the Fortran source (.f) files in that folder and click Add button.

  9. Repeat Step 8 to add the following folders and their subfolders under the FEAPpv root directory C:\Users\***\feappv41\: plot, program, user, and windows' (do not add UNIX, include, and main folders in this step).

  10. If you have coded some user subroutines, you should remove the default dummy files under feappv41/user and add your own subroutines to a new folder or the same folder feappv41/user.

  11. Right-click the Solution name "FEAPpv41" we created in Step 1 and select "Properties"
    a. In the left column, select "Project Dependencies" under "Common Properties" .
    b. In the project list in the right column, select the feappv project we created in Step 1 if it is not selected.
    c. In the "Depends on" window underneath, check the project lib41 to indicate that the project feappv depends on project lib41.
    d. If you want to build FEAPpv for 64-bit version of Windows, select "Configuration Properties" in the left column. Than, change the solution platform to the "x64" on the top (If you do not see the "x64" option, click "Configuration Manager" on the right and then click "x86" under "Actiave solution platform", select "New" and enter "x64" in the first box to create a new platform) and also make sure the platform for both the feappv main project and the lib41 project are correct.

  12. Under the Build tab on the main menu select Build Solution. Then, the Fortran compiler will compile and build the static library and then the FEAPpv executable file (feappv.exe). You can find the executable file in the solution directory chosen in Step 1, e.g.
    C:\Users\***\projects\FEAPpv41\feappv\x64\Release

The program is ready to use. If you encountered an error saying that some dll files such as "libifcoremd.dll" are missing while running the executable file for the first time, please install the Intel Fortran Compiler Redistributable Libraries for your computer first.

FEAP User's Forum

For information about FEAP, see the official FEAP website and FEAP Wiki. If you have any questions about this program or the full version FEAP, please visit the FEAP user's forum.

About

FEAPpv -- free personal version of the FEAP

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Fortran 96.0%
  • C 3.3%
  • Other 0.7%