The keyword lightweight_setup=True is only valid for the solver.file.read() command, using in other commands such as solver.file.read_case(lightweight_setup=True) results in;
raise RuntimeError("Argument '" + str(k) + "' is invalid")
RuntimeError: Argument 'lightweight_setup' is invalid
Documentation shows keyword being valid in all read options;
π Steps to reproduce
Successful commands;
import ansys.fluent.core as pyfluent
from ansys.fluent.core import examples
import_file_name = examples.download_file("mixing_elbow.msh.h5", "pyfluent/mixing_elbow")
session = pyfluent.launch_fluent(precision="double", processor_count=2, lightweight_mode=True)
session.file.read(file_name="mixing_elbow.msh.h5", file_type="case", lightweight_setup=True)
π Before submitting the issue
π Description of the bug
The keyword
lightweight_setup=True
is only valid for thesolver.file.read()
command, using in other commands such assolver.file.read_case(lightweight_setup=True)
results in;Documentation shows keyword being valid in all read options;
π Steps to reproduce
Successful commands;
error command;
Repeat with
read_mesh(), read_case_data()
etc andread(file_type=<type>)
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
v242
π Which Python version are you using?
3.10
π¦ Installed packages