LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

Save Nodal Forces

    • Joey Richardson
      Subscriber

      I am trying to save the nodal forces of a DYNA simulation and can't get the NODFOR file to generate. My card deck is below. Does anyone know what is going on here? Thanks!

      $ LS-DYNA Keyword file created by fem.dyna Python functions
      $ Created on 05:53PM on July 24, 2023
      *KEYWORD
      *CONTROL_ENERGY
      $ hgen, rwen, slnten, rylen
      2,2,2,2
      *CONTROL_MPP_IO_NOFULL
      *CONTROL_TERMINATION
      $ endtim, endcyc, dtmin, endeng, endmas
      0.0045,0,0.0,0.0,0.0
      *CONTROL_TIMESTEP
      $ dtinit, tssfac, isdo, tslimt, dt2ms, lctm, erode, ms1st
      1e-06,0.02,0,0.0,0.0,1,0,0
      *DATABASE_NODOUT
      $ dt, binary, lcur, ioopt, option1, option2
      2e-05,0,0,1,0.0,0
      *DATABASE_NODFOR
      $ dt, binary, lcur, ioopt, option1, option2
      1e-06,0,0,1,0.0,0
      *DATABASE_EXTENT_BINARY
      $ neiph, neips, maxint, strflg, sigflg, epsflg, rltflg, engflg
      0,0,3,0,2,2,2,1
      $ cmpflg, ieverp, beamip, dcomp, shge, stssz, n3thdt, ialemat
      0,0,0,4,1,1,2,0
      *DATABASE_FORMAT
      $ iform, ibinary
      0,1
      *DATABASE_HISTORY_NODE_SET
      $ id1, id2, id3, id4, id5, id6, id7, id8
      1,0,0,0,0,0,0,0
      *SET_NODE_GENERAL
      1
      ALL
      *PART
      $ Title
      background
      $ pid, secid, mid, eosid, hgid, grav, adpopt, tmid
      1,1,1,0,0,0,0,0
      *SECTION_SOLID
      $ secid, elform, aet
      1,2,0
      *PART
      $ Title
      background pml
      $ pid, secid, mid, eosid, hgid, grav, adpopt, tmid
      2,2,2,0,0,0,0,0
      *SECTION_SOLID
      $ secid, elform, aet
      2,2,0
      *INCLUDE
      ../../nodes.dyn
      *INCLUDE
      ../../elems.dyn
      *INCLUDE
      ../NodalLoads.dyn
      *INCLUDE
      Materials.dyn
      *INCLUDE
      LoadCurves.dyn
      *END

    • Ushnish Basu
      Ansys Employee

      You have to use DATABASE_NODAL_FORCE_GROUP

    • Joey Richardson
      Subscriber

      I tried adding this card: 


      *DATABASE_NODAL_FORCE_GROUP
      1,1

      And got the following error:

       *** Error 10146 (KEY+146)
           coordinate set id 1 is undefined
           CHECKING NODAL FORCE GROUPS

       

      Do I need to setup some sort of coordinate set to be able to save forces? I don't think this has been necessary to save nodal displacements. Is there an example to see how to set this up/how to save forces?

    • Ushnish Basu
      Ansys Employee

      If you don't have a coordinate system ID, then no need to specify one in that card, just specify the node set

    • Joey Richardson
      Subscriber

      That worked! Thank you

      • Joey Richardson
        Subscriber

        Spoke too soon... The nodfor file was created, but it is empty. 

        Here is how I am creating my database and node sets. Do you have any suggestions on why the nodfor file would be empty?

        *DATABASE_NODOUT
        $ dt, binary, lcur, ioopt, option1, option2
        2e-05,0,0,1,0.0,0
        *DATABASE_NODFOR
        $ dt, binary, lcur, ioopt, option1, option2
        1e-06,0,0,1,0.0,0
        *DATABASE_NODAL_FORCE_GROUP
        1
        *DATABASE_EXTENT_BINARY
        $ neiph, neips, maxint, strflg, sigflg, epsflg, rltflg, engflg
        0,0,3,0,2,2,2,1
        $ cmpflg, ieverp, beamip, dcomp, shge, stssz, n3thdt, ialemat
        0,0,0,4,1,1,2,0
        *DATABASE_FORMAT
        $ iform, ibinary
        0,1
        *DATABASE_HISTORY_NODE_SET
        $ id1, id2, id3, id4, id5, id6, id7, id8
        1,0,0,0,0,0,0,0
        *SET_NODE_GENERAL
        1
        ALL

    • Ushnish Basu
      Ansys Employee

      Unfortunately, we cannot comment on any specific case in this forum

    • Joey Richardson
      Subscriber

      Is there any contact or support package for help with specific cases?

    • Ushnish Basu
      Ansys Employee

      You can get in touch with your Ansys contact (likely the account manager) and ask them if you can be provided more personalised help.

      Regards,

      Ushnish

       

Viewing 7 reply threads
  • The topic ‘Save Nodal Forces’ is closed to new replies.