Fluids

Fluids

Using a UDF in a FSI simulation with System Coupling (co-simulation)

    • kfouladi
      Subscriber

      Hello,


      I was wondering if anyone could help me with using a UDF with system coupling (co-simulation). I have two issues with this UDF


      (1) It write the output twice for each time step with the first time the value is zero. 


      Also, when the run is completed, I get the following messages and error.


      (DP 0) system coupling run completed successfully


      (DP 0) failed in handling fluent  -  this error is repeated a number of times


      (DP 0) A solver failure occurred during the run in the Fluid Flow (Fluent) system


      Update failed for the Solution component in System Coupling.  The coupled update for system Fluid Flow (Fluent) threw an exception. It was not possible to unlock the associated editor.


      Here is the output:


      time=0.000000, Volume integral ff= 0


      time=0.000000, Volume integral ff= 8.8676e-08


      time=0.001000, Volume integral ff= 0


      time=0.001000, Volume integral ff= 8.26847e-08


      time=0.002000, Volume integral ff= 0


      time=0.002000, Volume integral ff= 8.22356e-08


      time=0.003000, Volume integral ff= 0


      time=0.003000, Volume integral ff= 8.28172e-08


       


       


       

    • Rob
      Ansys Employee

      If you're just reporting a value can you use a monitor and report? 

    • kfouladi
      Subscriber

      No, I am actually calculating a value, like energy dissipated throughout the domain. The UDF that I put out is a brief version of that UDF to show what kind of problem I am facing.

    • Rob
      Ansys Employee

      And if you don't use the UDF?  Trying to narrow down the cause. 

    • kfouladi
      Subscriber

      I don't have these errors if I don't use UDF.

    • Rob
      Ansys Employee

      OK, so it's the UDF. If you go through the UDF where does it interact with the Fluent solver? Turn the interactions on one at a time until it fails: that is probably the cause of your problem. 

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