Import Settings from Template Bdf to New Study

Disclaimer

This is the first release of the tool. As such it is no complete and it will fail for unsupported cases or unforeseen scenarios.

Nevertheless, and early version is shared as to collect user input and feedback about feasibility and to get suggestion for missing capabilities.

Needless to say, it is the user responsibility to ensure that the exported Nastran deck contains the requested cards and correct setting.

Introduction

The new “User” Option in New Scenarios allows user to set up run –ready input decks, also for more complex analysis types.

With a properly configured custom script, that works for the general case, user can save time on job setup and get it right the first time

Where a custom script is available, New Scenarios will supersede the Legacy job setup in usability and efficiency.

After Creating the job (using the User Option)- user can still review and edit the settings before submitting or exporting the job

User scripts can be written by the user based on demo scripts, or provided as a service for more advanced scenarios

Currently, following solution sequences are supported and out of the box template bdfs are provided.

• SOL101 Linear Statics

• SOL103 Normal Modes

• SOL105 Linear Buckling

• SOL111 Frequency Response Special case: Point Mobilities

• SOL400 Basic Contact and Bolt preloading with subsequent Steps

Background

In v2024.1 the concept of “New Scenarios” was introduced and was made the default option.

The pre 2024.1 scenario setup was renamed “Legacy Scenarios”

In v2025.2 user can still choose between “New and “Legacy” scenarios through “Options -> Applications Settings”

The “New Scenarios” were introduced as part of a major effort to improve the support of MSC Nastran.

In general, the Legacy Scenarios has served most users well-

• Menus are easy and intuitive to navigate also for a non-Nastran Experts

• The Legacy Studies did a lot of the heavy lifting for the user in the background

• Combining all loads into Load combinations (LOAD) cards

• Combining all constraints into SPCADD cards

• Creating Contact Tables including initial stress free (BCONTACT =0) for sol400 jobs

• Creating and managing SPC1s on Bolt1 control nodes for models with bolt-preload.

• Relevant options (such as specifying large deformations) was exposed in UI

The disadvantage with the Legacy Scenarios is that they are limited in scope:

• Only a small subset of solution sequences are supported

• SOL400 analysis chaining is not supported

• Random response is not supported for dynamic analysis

• …and more…

In v2025.1 a new functionality is introduced to the New Scenarios

Manual: No change from v2024

Auto: New in 2025.1- Some defaults are provided and can generate run ready jobs for simple models

User: Option to setup preconfigured run-ready jobs

The Auto option is not quite reaching the same level of useful defaults as the legacy Scenarios. As such a custom py -script is developed with the following scope:

• Bridge the usability gap between Legacy Scenarios and New Scenarios

• Use existing, user defined) template bulkdata files to populate a new study created with “New Scenarios” Option . Thanks to Paul Naude at Simteq for pitching this idea!

• Increase productivity by reducing user input and room for errors.

• Increase traceability by clearly indicating name and location of the used template bdf as well as user option file being used.

The use of existing template bdfs is widespread among users. A common workflow is, to maintain a set of proven input data decks, create a copy for the relevant analysis, and simply edit the bdf file as to match the actual model.

This tool aims to use all the benefits from a proven, preexisting bulkdata file, but represent it in the Pre processor environment, and reduce or eliminate the need for editing text files.

The hope is to increase the adoption of New Scenarios and to further increase user productivity.

By introducing so called template file variables (optional) , see separate section, the exported input decks may be easily customized for instance incorporating Nastran cards that are still not supported.

Usage

Make sure New Scenarios is selected.

When creating a new Study, select “User” Option

Select the desired Analysis Type, SOL101 /SOL103 / SOL400 et.c .

Select the py -script createStudyFromExistingBdf.py

For v2025.2.1 It can be found in:

%USER%\Documents\ MSC_Apex Workspace\Custom Tools 2025.2.1\Common\ NewScenariosUserOption \ src

Hitting OK will open the gui where user can select a template bdf of the selected type

The tool will use the content of the template bdf to populate the new Study

Capabilities

The tool offers the following functionality in line with the Legacy Scenarios:

• Create and assigns a Load Combination of all loads of relevant type Static/Dynamic unless a Load Combination already exist in the model, then this is used.

• Create and Assign a Constraint Combination for all constraints in the model unless a Constraint Combination already exist in the model, then this is used.

In addition, tool will try to match loads or load set with naming of TITLE SUBTITLE or LABEL cards in the subcases.

If at least one load is matching this is the only load that will be assigned to a subcase

If no loads are matching, there will either be one subcase per load created or, all loads will be combined in to one loadset depending on variable

settings in the header of the template (see below)

For SOL400

• Create and assign a contact table, referencing all interactions in the model unless a Contact Table already exist in the model, then this is used.

• If template bdf contain BCONTACT=0 as to incorporate Stress Free Initial contact, a contact table with ID=0, referencing all interactions, will be created and assigned above first subcase

• Re use Stepping Strategy and convergence criteria and tolerances from The NLSTEP cards.

For Model with Bolt Preloads.

• Tool will add Load Steps in accordance with the template bdf.

• Tool will add constraints (SPC1) on the Bolt control nodes unless these are already constrained

• Toll will create constraint combinations for control node constraints and andy (non-bolt) existing constraints and add them to the relevant Steps.

• Tool will assign bolt loads to Step 1

For SOL111 point mobilities

• Tool will create one subcase per dynamic loading (currently DAREA cards are supported)

• Tool will create an output request for the relevant loading position (as direct text as APIs are not yet in place to assign in other way)

• Tool will assign SUBTITLE/LABEL reflecting the Grid Id for the load in question

For SOL105

• Tool will create one static subcase per load set in the model

• The corresponding eigen value extraction will link to the linear static load case using STATSUB

• If number of load sets in the database will lead to more static subcases than eigen value subcases in the template, the last eigen value extraction subcase will be cloned for the exceeding load cases

Variables:

Optionally, variables may be used to control the behavior of the tool. These are added at the top of the template bdf between lines

$ USER VARIABLES and $ END USER VARIABLE S (add these lines to the template bdf if needed)

See example below:

$ USER VARIABLES

$

$ CREATE_ONE_STEP_PER_LOAD=YES #Create one load step per 'non- preloaad ' load, i.e Force or Pressure, default is to create one load step for each load combination

$ COMBINE_EXTERNAL_LOADS_TO_LOADSET=FALSE #Combine external loads into load combinations, default is to create one load step for each load combination and each external load

$ ONE_SUBCASE_PER_EXTERNAL_LOADSET=TRUE #Create one subcase per external load set, default is to create one subcase for each load combination and each external load

$

$ END USER VARIABLES

Nastran command settings

User can optionally provide instructions to the Nastran job.

All lines between $ NASTRAN COMMAND LINE SETTINGS and $ END NASTRAN COMMAND LINE SETTINGS is considered to be Nastran commands.

These are written to the nastran.rcf to the users home path .Please note that any existing setting s will be overwritten, and that a local rcf file from where the job is submitted will take precedence-

The reason the parameters are written to the users home path is that the tool does not a priori know from where the job will be exported and/or submitted.

$ NASTRAN COMMAND LINE SETTINGS

$

$ BUFFSIZE=65537

$ NEWS=NO

$

$ END NASTRAN COMMAND LINE SETTINGS

General Rules:

• All information above Subcase level is carried over from the template file to the New Scenario-

• If there are more load combinations defined, compared to the template job- setting from the last template Subcase/STEP will be reused in those additional subcases or load steps.

• Individual output request on subcase or step level is not yet supported as of missing APIs instead following applies:

• Output requests that is common for all Steps or Subcases are written above first Subcase.

• Unique output requests are not supported from the tool, except for point mobilities (see separate section)

Tool will try to organize existing load sets based on following logic

• Load Combination ID, from lower to higher

• Following logic applies to multiple load cases:

• If template file has several subcases or load steps with one load per subcase/step, tool will create one subcase/step per user Load

• If template file has one load combination with all loads, tool will combine loads to one Load combination with uniform scaling

• If model contain multiple load combinations, there will be one load case/load step per Load combination.

• If model contain just one loading, tool will not create a Load Combination with just one Load, instead the load will be referenced directly

• If model contain just one constraint, tool will not create a Constraint Combination with just one Constraint , instead the constraint will be referenced directly

More rules will be added as more use cases are supported.