CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Bypass "proceed after mesh manipulation" warning.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2022, 06:37
Default Bypass "proceed after mesh manipulation" warning.
  #1
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
Hi everyone.
I'm trying to automate my fluent simulation using a scheme script. Apparently, for each button (or icon) that appears on the screen, there is a corresponding TUI command for it.
For instance, if you type the following command in the fluent console, it will start the calculation process:

Code:
(cx-gui-do cx-activate-item "Run Calculation*Table1*Table6(Solution Advancement)*Table1*PushButton1(Calculate)")
Alternatively, you can just mouse-click on the 'calculate' icon to start the calculation. So, coming to the actual problem: I have a simulation setup, where mesh cells will be separated and deactivated at each time step. The commands for separating the cells are :

Code:
(cx-gui-do cx-activate-item "Ribbon*Frame1*Frame2(Domain)*Table1*Table3(Zones)*PushButton2(Separate)")
(cx-gui-do cx-activate-item "MenuBar*PopupMenuSeparate*Cells...")
(cx-gui-do cx-activate-item "Separate Cell Zones*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-activate-item "Warning*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-activate-item "Separate Cell Zones*PanelButtons*PushButton2(Cancel)"))
However, as soon as I type in the 3rd line, a warning dialog box appears on the screen (image attached below), which requires manual intervention. I cannot find any TUI command for it, and this is preventing me from automating the process in its entirety.

Is there any way that I can bypass this warning, or maybe handle it through a TUI command that I can incorporate in my scheme script?

Thanks.
Attached Images
File Type: jpg warning.jpg (38.5 KB, 3 views)
Siba11 is offline   Reply With Quote

Old   December 30, 2022, 12:20
Default
  #2
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
Quote:
Originally Posted by Siba11 View Post
Hi everyone.
I'm trying to automate my fluent simulation using a scheme script. Apparently, for each button (or icon) that appears on the screen, there is a corresponding TUI command for it.
For instance, if you type the following command in the fluent console, it will start the calculation process:

Code:
(cx-gui-do cx-activate-item "Run Calculation*Table1*Table6(Solution Advancement)*Table1*PushButton1(Calculate)")
Alternatively, you can just mouse-click on the 'calculate' icon to start the calculation. So, coming to the actual problem: I have a simulation setup, where mesh cells will be separated and deactivated at each time step. The commands for separating the cells are :

Code:
(cx-gui-do cx-activate-item "Ribbon*Frame1*Frame2(Domain)*Table1*Table3(Zones)*PushButton2(Separate)")
(cx-gui-do cx-activate-item "MenuBar*PopupMenuSeparate*Cells...")
(cx-gui-do cx-activate-item "Separate Cell Zones*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-activate-item "Warning*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-activate-item "Separate Cell Zones*PanelButtons*PushButton2(Cancel)"))
However, as soon as I type in the 3rd line, a warning dialog box appears on the screen (image attached below), which requires manual intervention. I cannot find any TUI command for it, and this is preventing me from automating the process in its entirety.

Is there any way that I can bypass this warning, or maybe handle it through a TUI command that I can incorporate in my scheme script?

Thanks.
Hi, I found a solution to this problem.

Instead of typing in those 5 lines for performing cell separation, one can just use this command:


Code:
(ti-menu-load-string "/mesh/modify-zones/sep-cell-zone-mark fluid \"field_value_0\" yes c activate-all")
It will automatically separate the cells without showing any warning.
Siba11 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 11:20
[Gmsh] discretizer - gmshToFoam Andyjoe OpenFOAM Meshing & Mesh Conversion 13 March 14, 2012 05:35
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 14:43.