-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nastran substracting #10
Comments
NASTRAN is expecting the SOF1 environment to be pointing to the d02021a.sof1 file that was generated by your D02-02-1A run. |
Hi AeroDME. then I have no errors, however only SOF for second step is generated ( does not include first run data, I am assuming) |
Do you know if your SOF1 environment variable is being set? |
How can I do this?
Should I write sort of batch file run at the beginning?
Could you point me to any example?
From: Dan
Sent: Thursday, 18 January 2018 13:41
To: nasa/NASTRAN-95
Reply To: nasa/NASTRAN-95
Cc: kris222; Author
Subject: Re: [nasa/NASTRAN-95] Nastran substracting (#10)
Do you know if your SOF1 environment variable is being set?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#10 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AdwxTX01gGxsAFSFW1nlIgDDx8MSjZF9ks5tL0oDgaJpZM4Rhtj6>.
|
So, there is a nastran csh script. I did not use it. I made a python script for kicking off the nastran executable. it is in the sbin directory of my fork: https://github.com/AeroDME/NASTRAN-95/ this script will take the argument --SOF1 also --help will give a discription of the options in the script. |
Thanks Dan, |
Gotcha. The problem I had is that the error messages do not tell you what the actual problem is. I just brute force set all the variables that are read by nastrn.f using that python script I pointed you to earlier. Someday when time allows, I would like to start migrating some of that code to FORTRAN 90. There are some other forks, too. More since last I looked. I am sure someone smarter than I is doing something cool with it! LOL Have fun. |
Hi Dan, SOF1 and SOF2..what is the difference. In this example case Example2 needs Example1's SOF file. How this is setting in linux, so that I can also try it in windows. Thanks |
Hi Manikandan, SOF1 and SOF2 are simply variables holding substructure file names. I do not know if you HAVE to use SOF1 first, then SOF2 for the second. I do know that the source (nastrn.f) checks for SOF1 thru SOF10. So, I would assume you can have up to 10 substructrue files. Again, I do not know if they have to be used in order or anything. I would assume it depends on how you reference them in your master bulk data file (model input file). On the Linux build, my startup script sets environment variables named "SOF1, SOF2, ... " Those variables must hold the filename of the sof1 file including the path relative to where the nastrn.exe has started execution. on DOS: SET SOF1=.\outputdir\d02021a.sof1 Note that you must check the path for wherever it is on your system. Here is a job script that is generated by the nastran.py script I pointed you to earlier. It is a bash script, so it won't work on windows, but it will give you and idea of what environment variables to set. Each "export" statement is setting an environment variable. I am not entirely sure that all variables are required for each run. When I was originally trying to get this to work, I got tired of trying each one, so I just brute force set everyone that the main program was looking for. ############################################## Hope this helps! |
Thanks Dan, |
There are 3 stages in this demo. I got SOL of 1A, but for 2A, the SOL is empty. Try to figure it out now. |
Hi,
I am using Ubuntu nastran installation, the nastran script is the file /usr/bin/nastran Run 4 (assembled structure) is not empty. Only diplacements and loads have been requested. I attach it in case might be useful for someone else. more info in /um/INTR.TXT paragraph 1.10 and /um/SUBS.TXT |
Hi, I am trying to understand substracting in Nastran.
I am studying verification example 2-2 (Windmill panel sections for Automated Multi-stage Substructuring....).
When I run "run1"(folder D02-02-1A) I am getting output, as in verification folder, but when I do run 2, (folder D02-02-2A), I am getting error in out file. I do not understand how can I use input files with separate runs , which are in separate folders. Every time it looks that sof file is created in different folder, so how next run knows that result data are stored in sof in other folder? I cannot see in inp files any reference to other folders. What binds all separate runs results together?
I stacked at this step, and cannot find answer in manuals.
Kris
The text was updated successfully, but these errors were encountered: