|
[Sponsors] |
How to use Scheme command to perform activating Zones or deactivating zones |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2020, 11:17 |
How to use Scheme command to perform activating Zones or deactivating zones
|
#1 |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
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! |
|
April 9, 2020, 11:25 |
Activating and Deactivating Zones
|
#2 |
Senior Member
|
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.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 9, 2020, 11:30 |
|
#3 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
Thank you very much, I will have a try.
Quote:
|
||
April 9, 2020, 11:37 |
|
#4 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
Excellent! Your method works well. thank you again.
Quote:
|
||
April 9, 2020, 12:44 |
about the patch
|
#5 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
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:
|
||
April 9, 2020, 12:54 |
Patching
|
#6 |
Senior Member
|
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.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 9, 2020, 13:08 |
|
#7 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 37
Rep Power: 16 |
Thank you very much!!!
Quote:
|
||
|
|