Access values in a Named Expression from UDF

  • 16 Views
  • Last Post 27 May 2020
  • Topic Is Solved
Sergio92 posted this 26 May 2020

Hello,

 

I was wondering if there is a way to retrieve values from a named expression (new Fluent feature) in a UDF. The species transport equation in my model has a special convection term that depends on the gradient of a certain potential. Because this potential varies only with respect to the coordinates, I can compute it from Named Expressions. Is there a way to retrieve these values later from a UDF (so I can calculate its gradient at the faces)? Other people working in this project may review/edit this potential, and it would be much easier to do so via the regular Fluent interface.

Thanks in advance!

 

 

 

Sergio

Order By: Standard | Newest | Votes
abenhadj posted this 26 May 2020

No but you can retrieve values from report definitions in UDF if this helps.

Best regards, Amine

Sergio92 posted this 27 May 2020

Thank you for your reply, Amine. Unfortunately report definition doesn't do the job, so I'll really have to use UDM for that.

Close