CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Turn off mass flow and never turn back on

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2017, 12:34
Default Turn off mass flow and never turn back on
  #1
New Member
 
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 14
watsonle is on a distinguished road
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
watsonle is offline   Reply With Quote

Old   June 26, 2017, 20:17
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
watsonle likes this.
ghorrocks is offline   Reply With Quote

Old   June 27, 2017, 16:44
Smile
  #3
New Member
 
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 14
watsonle is on a distinguished road
Yep. This works. We used Configurations to automatically start the next run.

Thanks so much Glenn.
watsonle is offline   Reply With Quote

Reply

Tags
conditional if statement

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT -4. The time now is 06:12.