I already tried to set up nastran.exe on file->preferences->solvers on femap
But in analysis set it still solver is undefined. How to fix this error?
If you want FEMAP to launch Nastran and automatically run your analysis, either from the File > Analyze command or pressing Analyze in Model Analysis, you must first setup the analysis program. To do this, before running FEMAP, you must establish an environment variable to named MSCNAST_EXE. Set the value of this environment variable to the full path to the Nastran solver executable, for example:
SET MSCNAST_EXE = c:\nastran\nastran.exe
With FEMAP V12 the “local settings” (environment variables) are now obsolete and should not be used. However, if they are specified and you have not explicitly setup a “linked solver” via the tab of File > Preferences> Solvers and/or have not selected Linked Solver in the Solve Using section, this will still work.
If the Solve Using option is set to Linked Solver, then FEMAP will attempt to launch the appropriate solver using the Program and Arguments (optional) specified in corresponding section on the Solvers tab of File, Preferences.
The Solvers tab allows you to specify a location of a Program (i.e., finite elements solver executable) and any command line Arguments which should be included when the solver program is automatically launched by FEMAP.
The Echo Command Line to Message Window will simply echo the full path to the solver executable along with any command line arguments which FEMAP uses automatically along with any specified in the Arguments field.
Please note the user MUST also verify the selected solver is appropriately licensed in order for the solver to run properly, as FEMAP is not responsible for licensing any “linked solver”.
The environment variables is an obsolete method in FEMAP V12, use the FILE > PREFERENCES > SOLVER method and enter the path to the solver in the line "program", simply:
Later, when defining the analysis choose the oprion "Solve using Linked Solver". Test before that the msc solver runs OK when launching the solver manually from OS, because FEMAP do not license any external solver, this is up the user.