Skip to content

CBUSH with blank line after it behaves differently #293

Description

@victorkemp

Affects v19.0.0 and current dev branch (2026-08-16). Found by @Copper280z

Without blank line

SOL 101
CEND
DISPLACEMENT = ALL
SPC = 1
BEGIN BULK
$--1---><--2---><--3---><--4---><--5---><--6---><--7---><--8---><--9---><--10-->
GRID           2       0   0.0+0   0.0+0   0.0+0       0
GRID           3       0   1.0+0  -1.0+0   0.0+0       0
PBUSH          2       K   1.0+0
CBUSH          1       2       2       3  -1.0+0   0.0+0   0.0+0
SPC            1       2       1   1.0-1
SPC            1       2    3456   0.0+0
SPC            1       3  123456   0.0+0
ENDDATA 

Solution

                                                       D I S P L A C E M E N T S
                                              (in global coordinate system at each grid)
           GRID     COORD      T1            T2            T3            R1            R2            R3
                     SYS
              2        0  1.000000E-01  1.000000E-01  0.0           0.0           0.0           0.0         

With blank line

SOL 101
CEND
DISPLACEMENT = ALL
SPC = 1
BEGIN BULK
$--1---><--2---><--3---><--4---><--5---><--6---><--7---><--8---><--9---><--10-->
GRID           2       0   0.0+0   0.0+0   0.0+0       0
GRID           3       0   1.0+0  -1.0+0   0.0+0       0
PBUSH          2       K   1.0+0
CBUSH          1       2       2       3  -1.0+0   0.0+0   0.0+0

SPC            1       2       1   1.0-1
SPC            1       2    3456   0.0+0
SPC            1       3  123456   0.0+0
ENDDATA 

Solution

                                                       D I S P L A C E M E N T S
                                              (in global coordinate system at each grid)
           GRID     COORD      T1            T2            T3            R1            R2            R3
                     SYS
              2        0  1.000000E-01  0.0           0.0           0.0           0.0           0.0         

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions