How to use Scheme command to perform activating Zones or deactivating zones
Dear friends,
I want to use Scheme command to perform activating Zones or deactivating zones. But I have not found corresponding command through the Scheme command. If anyone can help me out. Thank you very much! |
Activating and Deactivating Zones
Dedicated Scheme commands do not exist for each function. However, you can embed journal commands to activate and deactivate zones within a scheme wrapper, such as,
(ti-menu-load-string "me mz deact zone-id1 zone-id2 ()") Replace zone-id1 with either the name or ID of cell zones you wish to deactivate. |
Thank you very much, I will have a try.
Quote:
|
Excellent! Your method works well. thank you again.
Quote:
|
about the patch
Dear vinerm, would you like to help me again. I can not find methods to patch the velocity through Scheme commands.
Thank you again. Quote:
|
Patching
As mentioned earlier, there are no scheme commands for this. You can press Enter in the Fluent's text user interface and it will show all top level commands, e.g., file, mesh, etc. You can type one of these and press enter twice. This will show second level commands and so on. This way, you can find all the relevant commands. These are all TUI commands, also called journal commands. You can wrap all of these in the scheme wrapper I used earlier, i.e., ti-menu-load-string but you don't need to. You can directly execute the commands.
For patching x-velocity with a value of 10 m/s, you can use the following solve patch <cell_zone_name or id> () <register name> () x-velocity yes 10 Replace all red colored portions as per your case and requirement. <register name> is optional. Last one is the value for x-velocity. |
Thank you very much!!!
Quote:
|
All times are GMT -4. The time now is 17:32. |