Skip to content
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

feat: Builtin settings objects from Setup section of Fluent's outline tree #3127

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Jul 23, 2024

The classes for built-in settings objects from the Setup section of Fluent's outline tree are generated in a codegen step. Following is an example script using those classes. I'll add the settings classes from the Solution and Results sections of Fluent's outline tree.

Example script:

import ansys.fluent.core as pyfluent
from ansys.fluent.core import Viscous, VelocityInlet, BoundaryConditions
solver = pyfluent.launch_fluent()
solver.file.read_case(file_name=r"d:\work\elbow.cas.h5")
visc = Viscous(solver=solver)
cold_inlet = VelocityInlet(solver=solver, name="inlet2")
bc_group = BoundaryConditions(solver=solver)

Static intellisense:

Code_ogPfCT6tQk
Code_Vpl9R2hULv

@mkundu1 mkundu1 changed the title feat: Initial implementation of settings objects feat: Initial implementation of settings objects - for discussion Jul 23, 2024
@mkundu1 mkundu1 force-pushed the feat/setting-objects branch 2 times, most recently from 062c461 to ac0a41d Compare July 26, 2024 14:32
@mkundu1 mkundu1 changed the title feat: Initial implementation of settings objects - for discussion feat: Builtin settings objects Jul 29, 2024
@mkundu1 mkundu1 force-pushed the feat/setting-objects branch from aaccd25 to 20dfae9 Compare September 16, 2024 16:11
@mkundu1 mkundu1 changed the title feat: Builtin settings objects feat: Builtin settings objects for Setup section Sep 16, 2024
@mkundu1 mkundu1 marked this pull request as ready for review September 16, 2024 16:22
@mkundu1 mkundu1 changed the title feat: Builtin settings objects for Setup section feat: Builtin settings objects from Setup section of Fluent's outline tree Sep 16, 2024
@mkundu1 mkundu1 merged commit a3fbbb9 into main Sep 16, 2024
22 checks passed
@mkundu1 mkundu1 deleted the feat/setting-objects branch September 16, 2024 17:44
@mkundu1 mkundu1 linked an issue Sep 16, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Research direct settings object instantiation
4 participants