vani
Subscriber

Hi,


Since last post taking into reference, I have another question. I want to change the boundary conditions in certain particular range of time for example in this time - 0.0375

 



 


I have written a scheme file to implement above boundary conditions but unfortunately it is partially working right. (freq = frequency)


Below is the code used:


(cond


((> (rpgetvar 'flow-time) 0.0125)


        (ti-menu-load-string "define/boundary-conditions/zone-type 6 wall")


        (ti-menu-load-string "define/boundary-conditions/zone-type 7 pressure-outlet"))


((< (rpgetvar 'flow-time) 0.0375)


        (ti-menu-load-string "define/boundary-conditions/zone-type 6 wall")


        (ti-menu-load-string "define/boundary-conditions/zone-type 7 pressure-outlet"))


((> (rpgetvar 'flow-time) 0.0625)


        (ti-menu-load-string "define/boundary-conditions/zone-type 6 wall")


        (ti-menu-load-string "define/boundary-conditions/zone-type 7 pressure-outlet"))


((< (rpgetvar 'flow-time) 0.0875)


        (ti-menu-load-string "define/boundary-conditions/zone-type 6 wall")


        (ti-menu-load-string "define/boundary-conditions/zone-type 7 pressure-outlet"))


(else


        (ti-menu-load-string "define/boundary-conditions/zone-type 7 wall")


        (ti-menu-load-string "define/boundary-conditions wall 7 no no no no 0 no 0.5")


        (ti-menu-load-string "define/boundary-conditions/zone-type 6 pressure-inlet")


        (ti-menu-load-string "define/boundary-conditions pressure-inlet 6 yes no 0 no 0 no yes no no yes 5 10")))


 


What kind of operators can i use in the place of i.e. for example, something as  0.0375

 


Best regards