LS Dyna

LS Dyna

Topics relate to LS-DYNA, Autodyn, Explicit STR and more

ICFD User-Defined Boundary Condition through dyn21icfd.F

    • G.Troulliotis
      Subscriber

      Dear all,

      Could you please explain the steps for creating a user-defined boundary condition for the ICFD solver using dyn21icfd.F?I am applying a negative value on the load curve to force the solver to go through the subroutine but to no avail.I have  tried to modify the makefile to create the  dyn21icfd.obj but I still cannot set a boundary condition.I don't think that the solver goes through the subroutine as I wrote a print statement to check.I can attach a copy of the .k file and the .F file if needed.Thank you in advance,George

    • Ushnish Basu
      Ansys Employee

      The LCID<0 feature is still undocumented, but it should work. Which card are you using this with, and which version of LS-DYNA are you using? Ansys employees cannot download attachments from forum posts, so please provide as much detail as feasible in a post here itself.

    • G.Troulliotis
      Subscriber

      Hi Ushnish,

      I am using LS-DYNA 2022 R2 and I am also compiling the SMP version of LS-DYNA . I have attached the BC section of the .kfile, the modified makefile, the modified dyn21icfd.F and the error message from the command prompt. 

      Please let me know if you need any more information.

      Many Thanks,

      George

    • Ushnish Basu
      Ansys Employee

      George,

      Just to confirm - do you have a curve with ID 1 in your model?

      Ushnish

    • G.Troulliotis
      Subscriber

      Hi Ushnish,

      Actually, when I added a LC with ID 1 the solver starts, again without going through the subroutine.

      When I change -1 to -2 on the boundary condition card and I add a LC with ID 2 the solver still gives the same error "Load Curve ID 1 not found".

      So I am confused as to how that works.

      Does the magnitude of the negative number mean anything to the solver?

      Does the solver always look for LCID 1 when a negative number is applied?

      Many Thanks,

       

      George   

    • Ushnish Basu
      Ansys Employee

      We have fixed a bug in latest versions of LS-DYNA. Please ask your Ansys support coordinator or software administrator to request an updated version via a service request on the Ansys customer portal

    • G.Troulliotis
      Subscriber

      Alright I will do that, thank you very much.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.