|
[Sponsors] |
June 26, 2017, 12:34 |
Turn off mass flow and never turn back on
|
#1 |
New Member
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Using CFX, I'm trying to turn off a mass flow rate using an expression such that when my concentration level of CO using an additional variable reaches a certain limit. This works great with an "if statement" but the problem is it turns back on later in the solution because the concentration level drops back below my qualifier. I don't want the mass flow to turn back on.
Any way to do this without using FORTRAN? Highest Respect, Lee Last edited by watsonle; June 26, 2017 at 12:35. Reason: forgot to say CFX |
|
June 26, 2017, 20:17 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
A simple way of doing this is to use the CO trigger to stop the simulation. Then you restart the simulation with the mass flow boundary turned into a wall, so it can never turn back on.
|
|
June 27, 2017, 16:44 |
|
#3 |
New Member
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Yep. This works. We used Configurations to automatically start the next run.
Thanks so much Glenn. |
|
Tags |
conditional if statement |
|
|