ansys / pyfluent

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

Research single file generation for settings API #3045

Open mkundu1 opened 2 months ago

mkundu1 commented 2 months ago

We shall need this to reduce number of files from the package.

hpohekar commented 1 month ago

@mkundu1

This idea looks good to me.

I would like to discuss how following scenarios are handled currently. How settings are able to identify arguments with same name from their specific file ? How following cases will be handled using a single file. Thank you.

  1. a_1.py, a_2.py and a_3.py contain exact same class.

  2. If we see file_name.py and file_name_*.py then we have following variations.

class file_name(String):

class file_name(Filename, _OutputFile):

class file_name_1(Filename, _InputFile):