FeResPost Web Site                     FeResPost Online User Manual

III.2.1.1 Reading Samcef models

Method “readSamcefDat” of the SamcefDb class is used to import the model in a SamcefDb. This function has up to three arguments:

The model can be split into several files loaded in a main file by input statements. However, the user should try to be conservative when splitting their model. For example:

Here are a few examples of valid input statements:

    input "../SPLIT_1/grids.dat"
    input "../SPLIT_1/elements.dat"
    input.beginC "../SPLIT_1/props.dat"
    input.beginB "../SPLIT_1/geom.dat"
    input "/home/ferespost/SAM_SPLIT/SPLIT_1/mecano.dat"

Note that for a reason unknown, the “.sauve banque” bacon command outputs the list of abbreviations defined in a database at the end of the banque after a “return” statement. This “return” statement must be removed or commented out if the abbreviations are to be imported in the database by the “readSamcefDat” command.

Finally, since version 4.5.7 of FeResPost, we have been trying to better support the Samcef input files produced directly by Siemens NX software. This has been done by working with a limited number of example files, and modifying the C++ sources until correct FeResPost reading is obtained. There is no guarantee that all features exported by NX are supported by FeResPost. This means that the reading of a file obtained via the “.sauve banque” Bacon command remains the safest way to read successfully a Samcef model. For NX users, the following is recommended:

Any NX files that FeResPost fails to read can be provided to help improve FeResPost.

Note also that the use of non-ASCII characters in Samcef file names, or in the names of directories via which input files are included should be avoided. (See more details regarding this rule in section III.1.1.1 in Nastran solver reference for more details.)