{"id":5344,"date":"2016-08-09T13:13:08","date_gmt":"2016-08-09T20:13:08","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Simcenter-Blog\/An-Update-to-Advanced-Nonlinear-Memory-Management\/ba-p\/359712"},"modified":"2026-03-26T05:48:58","modified_gmt":"2026-03-26T09:48:58","slug":"an-update-to-advanced-nonlinear-memory-management","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/simcenter\/an-update-to-advanced-nonlinear-memory-management\/","title":{"rendered":"An Update to Advanced Nonlinear Memory Management"},"content":{"rendered":"<p><P>As I mentioned in my original post, Femap 11.3+ offers some new ways to make managing memory for advanced nonlinear solutions easier.<\/P><\/p>\n<p><P>As a reminder, the fundamental issue is that when Nastran executes SOL 601, it actually spawns a new process for the 601 solver, and passes its current memory settings down to that new process. Using the default methods, we would have to increase the memory allocation in the original process. This results in 2 processes with large memory, and the originating process is just wasting our memory resource.<\/P><\/p>\n<p><P>We can control this by using environment variables, but this is clumsy and the user may not have privileges&nbsp;to set this.<\/P><\/p>\n<p><P>With Femap 11.3+, we have added the option to use a &#8220;linked solver&#8221;. This allows a user to point to an alternate solver installation on his machine. We can also use this feature to point to a batch file which contains the memory settings we desire for SOL 601 in addition to the command to submit the run.<BR \/>The batch file would look like this:<\/P><br \/>\n<P><STRONG>echo off<\/STRONG><\/P><br \/>\n<P><STRONG>REM This sets the memory for translation only<\/STRONG><BR \/><STRONG>REM NXNA_PREMEM = memory (in MB) for adnast executable<\/STRONG><BR \/><STRONG>SET NXNA_PREMEM=500<\/STRONG><\/P><\/p>\n<p><P><STRONG>REM This sets the memory for 601 solver<\/STRONG><BR \/><STRONG>REM NXNA_SOLMEM memory (in MB) for nxadina executable<\/STRONG><BR \/><STRONG>SET NXNA_SOLMEM=6000<\/STRONG><\/P><\/p>\n<p><P><STRONG>REM Set this to your installation of NXN<\/STRONG><BR \/><STRONG>&#8220;C:appsFEMAPv1131nastranbinnastran64.exe&#8221; %*<\/STRONG><\/P><\/p>\n<p><P>You may notice, instead of an &#8220;alternate solver&#8221; I actually pointed to my 11.3.1 Nastran installation.<\/P><br \/>\n<P>After creating this batch file, let&#8217;s configure our settings in Femap.<\/P><\/p>\n<p><P>We set up the linked solver on the Femap Preferences Form under the Solvers Tab by setting it to the location of the batch file we created.<\/P><\/p>\n<p><P><span class=\"lia-inline-image-display-wrapper lia-image-align-center\" style=\"width: 331px;\"><img decoding=\"async\" src=\"http:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2019\/09\/2016-08-05-14_42_48-Preferences-1.png\" alt=\"2016-08-05 14_42_48-Preferences.png\" title=\"2016-08-05 14_42_48-Preferences.png\" \/><\/span>\ufeff<\/P><\/p>\n<p><P>Next in the Analysis Set Manager we choose &#8220;linked solver&#8221;<\/P><br \/>\n<P><span class=\"lia-inline-image-display-wrapper lia-image-align-center\" style=\"width: 393px;\"><img decoding=\"async\" src=\"http:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2019\/09\/2016-08-09-15_37_52-Analysis-Set-1.png\" alt=\"2016-08-09 15_37_52-Analysis Set.png\" title=\"2016-08-09 15_37_52-Analysis Set.png\" \/><\/span>\ufeff<\/P><\/p>\n<p><P>Now submit the analysis as normal and the memory settings will be applied to this run only.<\/P><\/p>\n<p><P>Here is a link to the original article:<BR \/><a href=\"http:\/\/community.plm.automation.siemens.com\/t5\/Femap-Blog\/Advanced-Nonlinear-Memory-Management\/bc-p\/329046\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">http:\/\/community.plm.automation.siemens.com\/t5\/Femap-Blog\/Advanced-Nonlinear-Memory-Management\/bc-p\/329046<\/A><\/P><\/p>\n<p><P>Regards,<\/P><br \/>\n<P>Joe<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I mentioned in my original post, Femap 11.3+ offers some new ways to make managing memory for advanced nonlinear solutions easier.<br \/>\n &nbsp;<br \/>\n As a reminder, the fundamental issue is that when Nast&#8230;<\/p>\n","protected":false},"author":58149,"featured_media":5350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-5344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2019\/09\/2016-08-09-15_37_52-Analysis-Set-1.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/5344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/users\/58149"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/comments?post=5344"}],"version-history":[{"count":3,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/5344\/revisions"}],"predecessor-version":[{"id":5351,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/5344\/revisions\/5351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media\/5350"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media?parent=5344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/categories?post=5344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/tags?post=5344"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/industry?post=5344"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/product?post=5344"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/coauthors?post=5344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}