1

there is a source code for Natran-95 on Github. I need to install it on Window 10

but searching on the web there is no clear tutorial on installation. while I click on the nastran.exe on this package in the hyperlink to GitHub, I get windows error the file not found in directory.

the specific reason to use nastran is to generate a superelement from a PSHELL model. it seems that MYSTRAN 12.0 has added sparse solver that some of its subroutines do the reduction of sparse matrix, but I am not sure if it also saves it or only uses for solving, but uses the same craig bampton method

could anyone tell me if there is a compiling step missing ? just if you know how to install it, and also use it, please write an answer? it will be a great source for internet

FabioSpaghetti
  • 258
  • 1
  • 12

3 Answers3

1

Use this fork: https://github.com/AeroDME/NASTRAN-95

Use gFortan and cmake to build it on windows 10.

Cean
  • 11
  • 1
0

I hesitate to answer this as I have no personal experience with the software, but you should investigate MYSTRAN which is a free NASTRAN clone. It is available already compiled for Windows. From the about section of its home page:

MYSTRAN is a general purpose finite element analysis computer program for structures that can be modeled as linear (i.e. displacements, forces and stresses proportional to applied load). MYSTRAN is an acronym for "My Structural Analysis", to indicate it's usefulness in solving a wide variety of finite element analysis problems. For anyone familiar with the popular NASTRAN computer program developed by NASA (National Aeronautics and Space Administration) in the 1970's and popularized in several commercial versions since, the input to MYSTRAN will look quite familiar. Indeed, many structural analyses modeled for execution in NASTRAN will execute in MYSTRAN with little, or no, modification. MYSTRAN, however, is not NASTRAN. All of the finite element processing to obtain the global stiffness matrix (including the finite element matrix generation routines themselves), the reduction of the stiffness matrix to the solution set, as well as all of the input/output routines are written in independent, modern, Fortran 90/95 code.

The author was a member of the original NASTRAN development team and the software is free and open source released under the NASA Open Source Software Agreement. If you want to use the actual NASTRAN95 code, I'm pretty sure you'll need to have a FORTRAN compiler and compile from source.

I do recommend you consider alephzero's suggestion to pursue more modern options.

Eric S
  • 915
  • 8
  • 16
0

I just forked the repository, and after a bit of cleanup, I developed the CMakeLists.txt file to compile with CMake. you should be able to compile the code base on Windows using Intel's ifort.exe now:

  1. install CMake, you may use Chocolateyrun choco install cmake in an elevated PowerShell terminal
  2. install Intel's Fortran compiler
  3. clone the repository git clone https://github.com/Foadsf/NASTRAN-95.git
  4. go to the commit git checkout 83469ca0548e6456f7c6db39a308248ed56642be
  5. compile with build.bat and the executables should be in the build\bin folder

It is still experimental, so I have not merged the dev branch. If it works out, I will initiate the pull request. Please try it, and if you have questions or problems, open a new issue here. If you need a place for further discussions, please use this Discord channel.

Foad
  • 269
  • 1
  • 4
  • 9