We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Fluids Why isn’t patch working in batch mode (Fluent) Reply To: Why isn’t patch working in batch mode (Fluent)

ai0013
Subscriber
Double check and navigate through TUI commands, step-by-step and try to find the error. I attach an extract of a journal file that I once employed to patch pressure for two cell-registers during a batch run. It worked fine for me.

;READ-CASE
file/read-case "myFluentCase.cas"

;INITIALIZE_FLOW
solve/initialize/compute-defaults all-zones
solve/initialize/set-defaults pressure 101325
solve/initialize/initialize-flow

;PATCH CANISTER AND SPHERE AT PRESCRIBED PRESSURES
;cylinder for FLUID_CANISTER
adapt/mark-inout-cylinder yes no 0.20500 0.20500 -0.094500 -0.015130 0.06495190 0.20242480 0.040
solve/patch () 0 () pressure 21e5
;sphere for FLUID_SPHERE
adapt/mark-inout-sphere yes no 0 0.126389 0 0.168389
solve/patch () 1 () pressure 4e4