Dhondtguido / CalculiX

This repository contains the source files of CalculiX, a three-dimensional Finite Element Program (www.calculix.de).
GNU General Public License v2.0
75 stars 19 forks source link

ELSET length limit when used in BEAM SECTION #4

Open ramcdona opened 1 year ago

ramcdona commented 1 year ago

Although the documentation (7.52) says an ELSET label can be up to 80 characters, when I use long names, I end up with errors like this...

ERROR reading BEAM SECTION: element set EBLINE_PODGEOM_STRUC has not yet been defined. ERROR reading BEAM SECTION. Card image: *BEAMSECTION,SECTION=PIPE,ELSET=EBLINE_PODGEOM_STRUCT0_0_CAP,MATERIAL=ALUMINUM7075-T6

Where the ELSET passed to BEAM SECTION appears to be truncated to 20 characters. The BEAM SECTION documentation (7.3) mentions no such limitations.

If I shorten my ELSET names, this error goes away.

oldninja commented 1 year ago

I have to dig more into this... but the beamsections.f defines it as a string of 81 characters. So, the issue appears to be somewhere else.

      implicit none
      logical nodalthickness
      character*1 inpc(*)
      character*4 section
      character*8 lakon(*)
      character*80 matname(*),orname(*),material,orientation
      character*81 set(*),elset
      character*132 textpart(16)
ramcdona commented 1 year ago

Unfortunately, I don't have a failure case at my fingertips anymore.

I believe this problem appeared when I had some other issues with the file -- I resolved other issues and this became happy.

So, it could be that the short string is associated with the error message itself. Or perhaps with the PIPE section. Or perhaps with efforts to set the normal vector direction.

If I can duplicate this error, I will post an example file.