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

Field Function for velocity_Inlet

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

Like Tree1Likes
  • 1 Post By rwryne

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2012, 10:51
Question Field Function for velocity_Inlet
  #1
New Member
 
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14
infikamal5 is on a distinguished road
I would like to know if its possible to create a field function for a jet inlet at particular time step . For example i tried to make the jet inlet work for every 0.02 s so i wrote a Field_Function as follows :

(($Time*100)%2 == 0 ) ? 5 : 0



But this function is not working properly . Can some one suggest me any other way to have a Jet_inlet field function at periodic time step.
infikamal5 is offline   Reply With Quote

Old   July 19, 2012, 03:02
Default
  #2
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 17
siara817 is on a distinguished road
Do you want to jet work at interval of 0.02 and stop at the next interval of 0.02?
siara817 is offline   Reply With Quote

Old   July 19, 2012, 07:20
Default
  #3
New Member
 
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14
infikamal5 is on a distinguished road
I want my jet to work in a periodic way for example it should work for all the even time as 0.02s , 0.04s , 0.06s , 0.08s, 0.10s and so on , but it should not be working for odd time value as 0.01s , 0.03s , 0.05s etc ... so that i will have a periodic jet velocity inlet .
infikamal5 is offline   Reply With Quote

Old   July 19, 2012, 08:10
Default
  #4
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Quote:
Originally Posted by infikamal5 View Post
I would like to know if its possible to create a field function for a jet inlet at particular time step . For example i tried to make the jet inlet work for every 0.02 s so i wrote a Field_Function as follows :

(($Time*100)%2 == 0 ) ? 5 : 0



But this function is not working properly . Can some one suggest me any other way to have a Jet_inlet field function at periodic time step.

I think to do modulus in STAR-CCM+, you need to use mod(). I.e. mod($Time,2)
siara817 likes this.
rwryne is offline   Reply With Quote

Old   July 19, 2012, 08:38
Default
  #5
New Member
 
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14
infikamal5 is on a distinguished road
Thanx Ryne , i will try that and keep you updated with the result .!!
infikamal5 is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 04:49
Field function cannot be evaluated on region pauloabeck STAR-CCM+ 2 April 28, 2011 18:40
Force Report help~ or maybe Custom Field Function sailor FLUENT 0 April 13, 2011 03:45
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Interface Matching and Field Function problems PLUH STAR-CCM+ 3 July 6, 2009 08:33


All times are GMT -4. The time now is 17:21.