CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Conveyor Tutorial Flow Rate

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 19, 2014, 10:43
Default Conveyor Tutorial Flow Rate
  #1
New Member
 
Damon Peak
Join Date: Feb 2013
Posts: 3
Rep Power: 5
Damon in STL is on a distinguished road
Just starting to work with CCM+ and working with the conveyor tutorial.

For the Particle Flow Rate Constant.....what do each of the variables "$Time < 0.5 ? 100 : 0" mean?

Damon
Damon in STL is offline   Reply With Quote

Old   September 24, 2014, 09:57
Default
  #2
New Member
 
Damon Peak
Join Date: Feb 2013
Posts: 3
Rep Power: 5
Damon in STL is on a distinguished road
So, no one knows what the base user functions mean....or where to find their meaning? Can someone point me in the right direction to find this info?

Damon
Damon in STL is offline   Reply With Quote

Old   October 1, 2014, 11:16
Default
  #3
New Member
 
Joshua Brickel
Join Date: Nov 2013
Posts: 8
Rep Power: 5
JoshuaB is on a distinguished road
There is only one variable that is $Time which is a scalar in Star-CCM+.

The other tidbits are Java formats. Basically it is an if-then-else statement.

If $Time<0.5
then result is 100
else result is 0
JoshuaB is offline   Reply With Quote

Old   October 1, 2014, 19:01
Default
  #4
New Member
 
Damon Peak
Join Date: Feb 2013
Posts: 3
Rep Power: 5
Damon in STL is on a distinguished road
Quote:
Originally Posted by JoshuaB View Post
There is only one variable that is $Time which is a scalar in Star-CCM+.

The other tidbits are Java formats. Basically it is an if-then-else statement.

If $Time<0.5
then result is 100
else result is 0
LOL....the only guy who answers the question sits two offices down......

Thanks Joshua


Damon in STL

Last edited by Damon in STL; October 2, 2014 at 07:53.
Damon in STL is offline   Reply With Quote

Old   June 9, 2015, 10:15
Default
  #5
New Member
 
Eli DeGroff
Join Date: Jun 2015
Posts: 2
Rep Power: 0
Eli Roman is on a distinguished road
So is that line of code supposed to work as is when typed in as a value?

I am using STAR CCM+ V10.02 and it doesn't seem to accept it.

Thanks,
Eli Roman is offline   Reply With Quote

Old   June 9, 2015, 11:34
Default
  #6
New Member
 
Joshua Brickel
Join Date: Nov 2013
Posts: 8
Rep Power: 5
JoshuaB is on a distinguished road
It worked with a version of 9.06.009.

When you say Star-CCM+ is not accepting it, do you mean it gives an error message? Or does it default back to some constant?



Quote:
Originally Posted by Eli Roman View Post
So is that line of code supposed to work as is when typed in as a value?

I am using STAR CCM+ V10.02 and it doesn't seem to accept it.

Thanks,
JoshuaB is offline   Reply With Quote

Old   June 9, 2015, 11:53
Default
  #7
New Member
 
Eli DeGroff
Join Date: Jun 2015
Posts: 2
Rep Power: 0
Eli Roman is on a distinguished road
It would give me an error message and say something about trying to put in an invalid field function.

I messed with it for awhile and got it to work, I think taking the spaces out of the code fixed it. I had spaces in it as it appears in the tutorial and that seemed to be causing errors.

"$Time < 0.5 ? 100 : 0"

Thank you for your reponse.
Eli Roman is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Periodic channel flow with time dependent mass flow rate QBeast FLUENT 3 May 10, 2013 13:14
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 17:24
Discrete Phase & Mass Flow Rate MagnusZeus FLUENT 0 December 2, 2011 18:57
Mass Flow Rate Error jallison FLUENT 1 May 16, 2011 16:22
Determine mass flow rate along flow path Atit Koonsrisuk CFX 2 October 5, 2003 04:47


All times are GMT -4. The time now is 04:33.