CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   June 26, 2017, 11:34
Default Turn off mass flow and never turn back on
  #1
New Member
 
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 8
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 11:35. Reason: forgot to say CFX
watsonle is offline   Reply With Quote

Old   June 26, 2017, 19:17
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,065
Rep Power: 109
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 15:44
Smile
  #3
New Member
 
Lee Watson
Join Date: Nov 2011
Posts: 6
Rep Power: 8
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
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 15:24.