Skip to content

Corner center logic#248

Merged
victorkemp merged 2 commits into
MystranSolver:devfrom
victorkemp:corner_center_logic
Jun 9, 2026
Merged

Corner center logic#248
victorkemp merged 2 commits into
MystranSolver:devfrom
victorkemp:corner_center_logic

Conversation

@victorkemp

@victorkemp victorkemp commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Changes the decision about which location option (CENTER/blank or CORNER/BILIN) to use for STRESS, STRAIN, and FORCE output requests to match MSC and NX.

Previously, each of STRESS, STRAIN, and FORCE had independent settings. Now they are all made equal.

It decides which location option to use according to the following rules:

  1. Only the first subcase is considered. This includes commands put there by the existing behavior of output request commands that are specified before the first subcase being put in the first subcase unless overridden by the same command specified directly in the first subcase.

  2. If STRESS is specified, it uses the location option from that, otherwise if STRAIN is specified, it uses the location option from that. If only FORCE is specified, it uses the location option from that, and if none are specified, it defaults to CENTER.

  3. A STRESS, STRAIN, or FORCE command with = NONE is treated here as not being specified at all. We confirmed that this is the same as NX's behavior, but haven't yet tested it on MSC.

@victorkemp victorkemp merged commit da0da86 into MystranSolver:dev Jun 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant