|
[Sponsors] |
July 17, 2012, 10:51 |
Field Function for velocity_Inlet
|
#1 |
New Member
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14 |
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. |
|
July 19, 2012, 03:02 |
|
#2 |
Senior Member
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 17 |
Do you want to jet work at interval of 0.02 and stop at the next interval of 0.02?
|
|
July 19, 2012, 07:20 |
|
#3 |
New Member
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14 |
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 .
|
|
July 19, 2012, 08:10 |
|
#4 | |
Senior Member
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18 |
Quote:
I think to do modulus in STAR-CCM+, you need to use mod(). I.e. mod($Time,2) |
||
July 19, 2012, 08:38 |
|
#5 |
New Member
KS5
Join Date: Mar 2012
Location: US
Posts: 15
Rep Power: 14 |
Thanx Ryne , i will try that and keep you updated with the result .!!
|
|
|
|
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 |