I am using Fluent 2023R1 and trying to perform a temperature patch on the fluid domain to initialize the combustion simulation. I have already performed standard initialization, but the calculate_patch command remains inactive.
When I run:
python
solver.solution.initialization.patch.calculate_patch(
domain="Fluid",
cell_zones=["fluid"],
variable="temperature",
value=2000
)
I get the following error:
ansys.fluent.core.solver.flobject.InactiveObjectError: '.solution.initialization.patch.calculate_patch' is currently inactive.
The help documentation shows command_names = ['calculate_patch'] under patch, but the command is never active.
This is blocking my ability to initialize the temperature field for combustion simulations. Please advise on how to activate the patch command or provide a working alternative.