ansys / pyfluent

Pythonic interface to Ansys Fluent
https://fluent.docs.pyansys.com
MIT License
260 stars 41 forks source link

Selecting UDF library for material properties through settings API #269

Open sravanansys opened 2 years ago

sravanansys commented 2 years ago

Hi,

I would like to check if this is supposed to work:

root.setup.materials.droplet_particle['droplet-liquid'].latent_heat = {'option': 'user-defined', 'var_class': {'user-defined': ['latent_heat::libudf']}}

If I open a case file with libudfs already set, I can change the property option to constant and again back to udf library through above command. But if I open a case with constant property, using above command to change to using udf library is running into errors.

Can you please confirm whether selecting udf libraries is currently possible through settings api?

Regards, Sravan

gyeole commented 2 years ago

@snallamoansys Can you please share case or error details you get when you start with constant value setting

sravanansys commented 2 years ago

Hi @gyeole, here is the error message: image

seanpearsonuk commented 2 years ago

@gyeole do you have any additional feedback on this?

seanpearsonuk commented 1 year ago

@snallamoansys is this still an issue? @gyeole if so, we'll need to track it on the Fluent side.

seanpearsonuk commented 12 months ago

@sravanansys is this still an issue? @gyeole if so we'll need to track it on the Fluent side.