Inlet varying with time
I have to simulate a pipe in which the water flow input depends on the time. What I´m trying, is to set a velocity in the inlet path that changes with the time (my problem is inkompressible). But I have no idea how I can do this. And by the moment I have not found any usefull information that could help me with this task.
Could any one there help me with this problem??
Thank´s for your time and help.
did you make a search on the forum? I think this topic had been discuss before.
From what I read before, there are multiple solutions:
- the one I'm using, modifying inlet velocity at each time step by adding a piece of code in the solver.
- groovyBC should also give a solution
- I also read about timeVaryingInlet but I never tried it.
If you want some advices to "modify" the solver (in fact, just adding an include), you can mp me.
thank you very much. I will try with groovyBC, anyway I´ll ask you for some advices on modifying the solver, because I think that in some moment I will need to do it.
Thank you very much for your help.
Have a nice week.
Here's a bc I use for time-varying conditions.
value uniform ( 0 0 0 );
the inlet1.dat file is placed in the case directory and for me it looks like this
this will produce a triangular inlet wave with 27.83 ms duration, every 100 ms.
copy/paste from the bc-file found at src/finiteVolume/fields/fvPatchFields/derived/timeVaryingFlowRateInletVelocity
|All times are GMT -4. The time now is 19:16.|