
If you ever require a FEM system for quick fem for educational or research purpose. Feap is one of the easiest to get started with.
Here’s a rundown with screenshots on how to build it with visual studio with Intel Fortran.
Hope this helps.
Step 0:
Download from:
http://projects.ce.berkeley.edu/feap/feappv/feappv41.zip
Project Page:
http://projects.ce.berkeley.edu/feap/feappv/
Two steps
- Build a library
-
Build the program
- Select New Project

-
Select New Project
- Select Library: Select Static Library
- Name library e.g. lib22



-
Under the Projects tab select Add Existing Item
- Add all subroutines in directories: Elements, Plot, Program, User, and Windows (do not include Unix, Include, or Main).



Under the Projects tab select Properties
Select Fortran then General
b.) Set additional include path to point to the feappv include
directory (e.g. c:\users\xxx\feappv\ver22\include) and the appropriate
directory for 32-bit or 64-bit pointers (e.g.
c:\users\xxx\feappv\ver22\include\integer4 or
c:\users\xxx\feappv\ver22\include\integer8)


Build library




Building the Main program
Open Visual Studio or if open new project
a.) Select QuickWin Application, select QuickWin option
(not standard graphics QuickWin)
b.) Name main program e.g. feappv

At top select Release build (as opposed to Debug)

3. Under the Projects tab select Add Existing Item
a.) Set show all files in window and add library (e.g. lib22)
Visual Studio normally places this in
c:\users\xxx\documents\visual studio\projects\lib22\lib22\release
b.) Add feappv.f from the subdirectory Main.


4. Under the Projects tab select Properties
a.) Select Fortran then General
b.) Set additional include path to point to the feappv include
directory (e.g. c:\users\xxx\feappv\ver22\include) and the appropriate
directory for 32-bit or 64-bit pointers (e.g.
c:\users\xxx\feappv\ver22\include\integer4 or
c:\users\xxx\feappv\ver22\include\integer8)
Add the libraries and the library path
Build… If you get error like this, you have not included all forttan file sin the liberay include and come pback..





Like this:
Like Loading...
Related