Comments (34)
Hi, maybe a bit late...I do not know if you found a solution but I think I got a workaround. If you send all output requests to the punch file (DISP (PUNCH) = ALL
in case control deck for example) then it works. I attach an example for 14800 QUAD4 shells and 2 static subcases (not yet checked modes or buckling solutions). Output can as well be requested using alter and sent to .op2 file which is very convenient if you use pyNASTRAN or other software. Please, try to further test it with more elements and element types and more subcases.
I believe the issue is with the OFP (Output File Processor, in file .../mis/ofp.f
BR,
JP.
PS: How do you deal with drilling degrees of freedom in flat plates modeled with QUAD4 shells in COSMIC/NASTRAN?
from nastran-95.
I checked that the output produced, even if it does not lead to error messages it is wrong. This does not happen for small problems like the following.
from nastran-95.
It reads another file which is missing.
READFILE COSOUT2
from nastran-95.
Hi, the file is available in op2 file thread, issue #6 here: #6 (comment)
from nastran-95.
Hi, the file is available in op2 file thread, issue #6 here: #6 (comment)
So, it only useful if you want to output OP2 file. Which one is it? The F12?
from nastran-95.
yes, in fact COSOUT2 is only useful to output op2 for SOL 1. For other SOLs I have created similar alters also in that thread (alters are incomplete, they only request the outputs I was most interested when created them).
I used Fortran unit 12 since it's the usual in MSC Nastran but I think COSMIC user's considered FTN11. It does not matter at all. If you have the wrong assingment in nastran script op2 file will be created with the name "none" in Ubuntu installations.
I attach my modified script (remove .txt extension).
from nastran-95.
I used Fortran unit 12 since it's the usual in MSC Nastran
I am under Windows. I got a F12 file. It is binary, but I tried to load it with pyNASTRAN, the program crashed.
from nastran-95.
I changed to ECHO = SORT, the program stopped very quickly after printing out the GRID info.
If ECHO = NONE, the program will do the solving process for a while and has the result.
Strange.
from nastran-95.
add MAXLINES = 999999
in case control deck, by default printed output is limited to 20000 lines.
from nastran-95.
I used Fortran unit 12 since it's the usual in MSC Nastran
I am under Windows. I got a F12 file. It is binary, but I tried to load it with pyNASTRAN, the program crashed.
check here and if not found report a new issue https://github.com/SteveDoyle2/pynastran/issues
otherwise you can try http://www.m3dfea.com/nastran-support.html, however I think m3d has some issues with QUAD4 elements even if cosmic nastran op2 was written with MSC format
from nastran-95.
That line 'MAXLINES = 999999' was comment out before.
After remove $, I got GRID & Result. Why you think the result is wrong?
from nastran-95.
check the pp01 example, pp01.bdf is a flat panel (very fine mesh) with a reinforced hole and compression along the 2 vertical edges. It is in equilibrium and SPCFORCES should be zero (almost, in real world) but they are not. Look at results: grids 478 and 576; however if you look at pp01_medium.bdf (exactly same problem with a coarser mesh) the results are as expected (grids 193 and 231).
for the 1/8 hollow sphere just look at the deformation, it does not have physical sense. Also you can check the results with mystran: https://www.mystran.com/
from nastran-95.
Here is my result. Looks all right.
`pp01_medium
193 G 4.545096E-13 -6.405712E-09 1.346937E-19 0.0 0.0 0.0
231 G 0.0 6.405960E-09 -2.271464E-17 0.0 0.0 0.0
pp01
478 G 0.0 0.0 1.180063E-15 0.0 0.0 0.0
576 G 0.0 0.0 2.409683E-15 0.0 0.0 0.0 `
from nastran-95.
well, this is what I got. I am using the nastran version in ubuntu, which one are you using?
from nastran-95.
I am using one I compiled by myself on windows.
from nastran-95.
That's very interesting. However I am surprised about your results for pp01. At node 576 there are 2 SPCs, for dof 2 and 3 however you get exactly zero (0.0) at SPCFORCE for dof 2 which I think is almost impossible, since this is the result of solving K*u=P and due to numerical accuracy at least a small non-zero number (like the one you get for pp01_medium) should result. Have you check the epsilon messages like the following?
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = -4.7602169E-02
0*** USER WARNING MESSAGE 3058
0EPSILON IS LARGER THAN 1.0000000E-03 FOR SUBCASE 1
the large values of epsilon are also a hint of wrong reults (at least in my case), compare to the message in pp01_medium (only information message is present):
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = -2.6615990E-15
Also , please, check the deformed shape to see if it is the same as for pp01_medium
If finally we can confirm your results are OK would be nice to know what is different in your build.
from nastran-95.
`0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = -1.3568911E-13
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 2, EPSILON SUB E = -1.3568911E-13`
from nastran-95.
well, cleary your version works, and the one in ubuntu doesn't. In your case the SPC's for pp01 file are in nodes 1 and 3, not 576 and 478, this is the reason for the 0.0; hence your results for nodes 1 and 3 are correct.
Have you tried to solve the pp01 for buckling (SOL 5)? Does it work?
from nastran-95.
Yes. nodes 1 and 3.
`30012- SPC 1 1 23 0.
30013- SPC 1 2 3 0.
30014- SPC 1 3 123 0.
30015- SPC 1 4 3 0. `
Uploaded sol5 result.
`0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = -1.9316044E-02
0*** USER WARNING MESSAGE 3058
0EPSILON IS LARGER THAN 1.0000000E-03 FOR SUBCASE 1
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 2, EPSILON SUB E = -1.9316044E-02
0*** USER WARNING MESSAGE 3058
0EPSILON IS LARGER THAN 1.0000000E-03 FOR SUBCASE 2`
and this:
0*** USER FATAL MESSAGE 3032 0UNABLE TO FIND SELECTED SET ( 0) IN TABLE (EED ) IN SUBROUTINE (REIG). ERRTRC CALLED
What this mean? Need anything more in inp file?
Is there any difference between SOL 5 and SOL 5,0 and SOL 5,1?
from nastran-95.
Not sure. How did you change the inp file to run the buckling solution? May you post the executive and case control decks?
from nastran-95.
Is there any difference between SOL 5 and SOL 5,0 and SOL 5,1?
Check /um/EXEC.TXT it is explained there. ,1 removes loops in rigid format Sol 5. Not sure what the consequences are...
from nastran-95.
I only changed SOL 1 to SOL 5. You can see it in the D E C K E C H O.
If you check D05 test cases, seems enough cards.
DOL k1,k2
k2 default=0
so SOL 5 = SOL 5,0
from nastran-95.
Table (EED)
Enter DICTIONARY word or STOP, or terminate current text file(^):
eed
EED DBT Eigenvalue Extraction Data table (D-3, D-5, D-7, D-10, D-
11, D-12, D-13, D-15, A-10, A-11).
from nastran-95.
you have to change the case control deck to run sol 5:
now you have:
SUBCASE 2
LOAD = 2
$SUBCASE 2
$ LABEL = BUCKLING CASE
$ METHOD = 1
you need to have:
$SUBCASE 2
$LOAD = 2
SUBCASE 2
LABEL = BUCKLING CASE
METHOD = 1
subcase 1 loads are used for buckling, method=1 is the eigenvalue extraction method.
from nastran-95.
if you want to get the op2 results use the following alter (attached file, remove.txt extension)
cosmic_nastran_sol5_op2.alter.txt
from nastran-95.
Uploaded.
0*** USER FATAL MESSAGE 3181, ATTEMPT TO PERFORM CHOLESKY DECOMPOSITION ON A NEGATIVE DEFINITE MATRIX IN SUBROUTINE SMCOMP. NEGATIVE DIAGONAL TERM FOUND ON COLUMN 4733 ERRTRC CALLED
Maybe need to change a Method.
from nastran-95.
` INV Inverse power method, symmetric matrix operations
DET Determinant method, symmetric matrix operations
FEER Tridiagonal reduction method, symmetric matrix operations
UINV Inverse power method, unsymmetric matrix operations
UDET Determinant method, unsymmetric matrix operations`
Now is FEER
from nastran-95.
Uploaded.
0*** USER FATAL MESSAGE 3181, ATTEMPT TO PERFORM CHOLESKY DECOMPOSITION ON A NEGATIVE DEFINITE MATRIX IN SUBROUTINE SMCOMP. NEGATIVE DIAGONAL TERM FOUND ON COLUMN 4733 ERRTRC CALLED
Maybe need to change a Method.
Check param, autospc,1 is present, not commented.
Feer method is best in general for eigenvalue extraction. Sometimes not so good for eigenvectors
from nastran-95.
30008- PARAM AUTOSPC 1 30009- PARAM GRDPNT 0
not commented.
from nastran-95.
the static solution is wrong:
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = -1.9316044E-02
0*** USER WARNING MESSAGE 3058
you may check the deformed shape for static subcase 1.
There still something wrong in the software. You may compare with same analysis for pp01_medium, for the small problem it works. The issue is not in the model.
You may try removing the printed output changing all case control deck request to DISPLACEMENT (NOPRINT) = ALL
, STRESS (NOPRINT) = ALL
, except for the SPCFORCES
, also ECHO = NONE
to check if still the issue is related with the OFP.
Have a look at the .log file, maybe there is some clue there, I have no more ideas, my opinion is that the issue is in the software.
from nastran-95.
Updated. You have to unzip the F06 result. There is a limit of 25M for upload.
from nastran-95.
Yes. This one looks OK. What did you do? Input deck is the same...
from nastran-95.
I think I found out.
The issues with big analysis are related to available memory.
If the run has enough open core to run completely in the open core there is no issue. If it exceedes the open core capacity it is suposed to spill and start writing in the scratch files but for some reason it doesn't work properly or sometimes fail. I do not know why and how yet.
Ubuntu version is compiled to a maximum allocatable open core of 400 Mw (=1.6GB) through variable LENOPC
(hard coded) to be shared between open core and in-memory database using env vars OCMEM and DBMEM in /usr/bin/nastran
launch script.
For the time being I would recommend recompiling to 2000 or 4000 Mw (LENOPC
) for top applications and a typical script in /usr/bin/nastran
with OCMEM=50000000
(200MB) and DBMEM=100000000
(400MB) for typical applications (better explain requirements in README file).
More things need to be checked. It's surprising no error message is reported when there is such an error in the run...
In particular for buckling and mode analysis FEER method requires a lot more open core than INV method for example, this is the reason why above examples failed.
from nastran-95.
I've finally found out. In file unpack.f following line has to be modified to increase the problem size:
DATA LARGE / 65536 /
I have tested this: DATA LARGE / 1048576 /
and seems to work well. Sometimes OCMEM environment variable needs to be increased to at least 300 Mw (LENOPC is set to 480Mw in my compilation) otherwise the problem will run without errors but solution isn't good. NOticeable in SOL 1 using EPS warning message.
0*** USER INFORMATION MESSAGE 3035
FOR SUBCASE NUMBER 1, EPSILON SUB E = 1.3947010E-12
pp01.bdf now runs OK (OCMEM set to 300 Mw) and same for large_problem3.bdf (see issue #18 ).
from nastran-95.
Related Issues (19)
- Please consider using a FSF-accepted free license HOT 5
- Nastran substracting HOT 13
- Modal Effective Mass HOT 6
- Equivalent DMAP commands
- Error while running examples HOT 28
- NASTRAN Discord channel HOT 3
- Why plt file is empty? HOT 16
- Error running large problem HOT 6
- Are there any instructions on how to install and run Natran-95? HOT 20
- Nastran-95 input file extension HOT 2
- NastHelp.exe Windows 10 Version User's Manual
- add topics
- Nastran original
- Compiling instruction HOT 27
- op2 file HOT 5
- What are the ouput files formats I can create? HOT 4
- BEAM and BAR are not supported, Is it limited in capability or there is a workaround? HOT 1
- How best to contribute? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nastran-95.