Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NASTRAN-95 vs MYSTRAN
#8
(08-15-2020, 11:29 PM)ceanwang Wrote: You buy a 4g ram PC, you can load some models. When you want to load bigger model, maybe you need to open the PC to expand the ram to 8g. 
It is the same as the OCMEM. You need to edit the program to increase it. 

It doesn't matter how many RAM your PC has. Mine has about 16 GB.

However, none of that matters: OCMEM is an environment variable that you pass to the NASTRAN-95 executable to tell it how many (four-byte) words it should attempt to allocate for its open core. You can set it to any positive integer value equal to or less than 14000000, representing 56 MB of open core. Setting it to any value outside of that set (e.g. "14000001", "-5", "2.71828", "donuts"), regardless of file validity or model scale, will cause a fatal message to be issued:

Code:
  LARGEST VALUE FOR OPEN CORE ALLOWED IS:    14000000
  ERRTRC CALLED
  NAME=WRTMSG 
  IVAL=         100




                                        * * * END OF JOB * * *
1
JOB TITLE =                                                                     
DATE:  0/ 0/ 0
END TIME: 21:35:48
TOTAL WALL CLOCK TIME      0 SEC.

That's the entirety of an .f06 file I just produced by calling NASTRAN-95 with a good model while having set OCMEM=14000001.

No matter how much memory your PC has, NASTRAN-95 will never allocate more than 56 MB for its open core, thus creating an upper bound on loadable model size.

Furthermore, even if you changed the code to let NASTRAN-95 use all of its open core address space (like IBM did), you'd still be limited by the fact it most likely uses 32-bit integers to address the open core, so even then you'd be limited to around 2 (or 4 if unsigned) GB, which is nice, but way below large production-scale models in use with modern NASTRANs such as Simcenter's.
Reply


Messages In This Thread
NASTRAN-95 vs MYSTRAN - by Admin - 01-11-2020, 12:01 AM
Extra info on - by borges - 08-13-2020, 04:45 PM
RE: NASTRAN-95 vs MYSTRAN - by Admin - 08-13-2020, 06:02 PM
RE: NASTRAN-95 vs MYSTRAN - by ceanwang - 08-15-2020, 02:11 PM
RE: NASTRAN-95 vs MYSTRAN - by borges - 08-15-2020, 07:02 PM
RE: NASTRAN-95 vs MYSTRAN - by ceanwang - 08-15-2020, 11:29 PM
RE: NASTRAN-95 vs MYSTRAN - by borges - 08-16-2020, 01:12 AM
RE: NASTRAN-95 vs MYSTRAN - by ceanwang - 08-17-2020, 02:28 AM
RE: NASTRAN-95 vs MYSTRAN - by borges - 08-17-2020, 11:43 AM
RE: NASTRAN-95 vs MYSTRAN - by ceanwang - 08-18-2020, 04:23 AM
RE: NASTRAN-95 vs MYSTRAN - by JuanP74 - 08-21-2020, 09:15 AM
RE: NASTRAN-95 vs MYSTRAN - by Admin - 08-15-2020, 07:39 PM
RE: NASTRAN-95 vs MYSTRAN - by Admin - 08-17-2020, 10:02 PM
RE: NASTRAN-95 vs MYSTRAN - by Civibelieve - 09-27-2020, 10:35 PM
RE: NASTRAN-95 vs MYSTRAN - by Admin - 09-28-2020, 07:22 PM
RE: NASTRAN-95 vs MYSTRAN - by Civibelieve - 09-29-2020, 03:48 AM
RE: NASTRAN-95 vs MYSTRAN - by Admin - 09-29-2020, 02:58 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)