Dear Safu,
Sorry about the misunderstanding. The word ‘condition’ confused me. What you want to do is to set a liquid boundaries file (liq).
Well, it is quite simple actually, either you want to set SL or Q for a period of time, what you have to do is to set a liquid boundaries file which relates SL/Q and time.
Find attached an example of a liquid boundaries file (you must consider that it depends on the liquid boundaries quantity you have in your model, in this case I have 2 boundaries, one with H prescribed and the other one with Q prescribed).
I hope it helps,
Cheers,
José Andrés.
P.S.: There are some posts about liquid boundaries with TPXO, I advise you to see them.