Skip to content

feat: Expose both object and method classes for builtin commands #4340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 11, 2025

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Aug 1, 2025

Supports following syntaxes for built-in commands like read-case:

import ansys.fluent.core as pyfluent

read_case_obj = pyfluent.solver.ReadCase(settings_source = <solver_session>)  # returns the command object
read_case_obj.is_active()
read_case(file_name=<case_file>)

pyfluent.solver.read_case(settings_source = <solver_session>, file_name=<case_file>)  # executes the command

@github-actions github-actions bot added the new feature Request or proposal for a new feature label Aug 1, 2025
@hpohekar
Copy link
Collaborator

hpohekar commented Aug 8, 2025

Looks good to me.

@mkundu1 mkundu1 force-pushed the fix/builtin-settings branch from 196c351 to fe90188 Compare August 11, 2025 11:50
@mkundu1 mkundu1 force-pushed the fix/builtin-settings branch from 898a599 to 909ba77 Compare August 11, 2025 17:00
@mkundu1 mkundu1 merged commit f314545 into main Aug 11, 2025
34 checks passed
@mkundu1 mkundu1 deleted the fix/builtin-settings branch August 11, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Request or proposal for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants