Tagged: transient-analysis
-
-
March 15, 2021 at 11:09 am
Vanesa
SubscriberHello,I am trying to simulate time varying boundary condition where after some time one of my wall should be changed as mass flow inlet with a certain amount of mass flow rate value. I went through the discussions on this forum and many other internet resources and even fluent documentation. Implementing UDF or using scheme file are the options one can use to define this time varying boundary condition was my conclusion. UDF needs strong programming skills and scheme documentation is rarely available.nI want to try scheme file for my simulation. I want to know how can we input other details of my changing boundary condition in the scheme file. Suppose my scheme file is:nn(condn ((> (rpgetvar 'flow-time) 2.0)n (ti-menu-load-string define/boundary-conditions/zone-type 6 wall)n (ti-menu-load-string define/boundary-conditions wall 6 no no yes yes no 1 no 0)n (ti-menu-load-string define/boundary-conditions/zone-type 6 mass flow-inlet)n )n)nSo now for this wall I want it to change to mass flow inlet after 2 secs in my simulation and I want to specify its details within this scheme file befoe the run (flow direction specification method/value of mass flow rate, etc.).nHow can I do it?nPlease help.nThank you.n -
March 15, 2021 at 11:42 am
Keyur Kanade
Ansys EmployeeYou can use Calculation Activities - Execute Command. nRegards,nKeyurnHow to access Ansys Online Help DocumentnHow to show full resolution imagenGuidelines on the Student CommunitynHow to use Google to search within Ansys Student Communityn -
March 16, 2021 at 5:21 am
Vanesa
SubscriberYes I can use that but I want to know how we can define the details of the boundary condition within the scheme file.nnOnce I get details then only I can load in execute commands.nnThank you.n -
March 16, 2021 at 8:55 am
Keyur Kanade
Ansys EmployeeYou can directly use TUI commands in execute commands. No need for scheme commands. n -
March 16, 2021 at 9:31 am
Vanesa
SubscriberThank you.nBut It is not working with TUI commands in execute commands.What exactly should be the TUI command to say Fluent to change my wall boundary condition to mass flow inlet boundary condition (with direction specification method and mass flow rate value) when time reaches 2 secs?.Please help.nn -
March 16, 2021 at 10:29 am
Rob
Ansys EmployeeYou need activities over execute commands as the latter is every some time steps, the former triggers at a set time. nWhen you say the TUI command isn't working, is there an error or is something not happening as expected? n -
March 17, 2021 at 5:35 am
Vanesa
SubscriberIt is working now. I updated this in my scheme file and then loaded it in execute commands and it is working. Following is the scheme I tried.nn(condn ((> (rpgetvar 'flow-time) 2.0)n (ti-menu-load-string define/boundary-conditions/zone-type 6 mass flow inlet)n (ti-menu-load-string define/boundary-conditions mass flow inlet 6 yes yes no 11.9097 no 0 no yes yes no 1 no 1)n )n)nnIt was this command - yes yes no 11.9097 no 0 no yes yes no 1 no 1nThis command is where we are providing the details of boundary conditions.nnThank you so much.n -
March 17, 2021 at 12:05 pm
Rob
Ansys EmployeeYes, the boundary TUI commands vary depending on which models are active, and that can cause issues if you have a different set up to the one the command was written for. n
-
Viewing 7 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Contributors
-
2524
-
2066
-
1285
-
1096
-
459
Top Rated Tags
© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.