Hi everyone, I am trying to
I am trying to modify icoFoam so that it can simulate a pulsating flow in a straight flexible pipe. the flow velocity at the inlet is uniformly distributed but the velocity magnitude changs with time:
U = U_0 + U_A*sin(wt)
I have noticed the "timeVaryingUniformFixedValueFvPatchField " may be what I want, but it needs to read the data from a data file. Actually I prefer to implement it in the code somthing like:
U.boundaryField()[patchI] == U_0 + U_A * sin (wt)
and read the "w", "U_0" and "U_A" in a dictionary.
So far I haven't got an idea of how to do that, Could anyone give me some hints?
Hi ! Take a look at the osc
Take a look at the oscillatingFixedValueFvPatchField, I think it is exactly what you need.
Hi Feng As a start, assume
As a start, assume you know w, U_0 and U_A, then simply do this, which you have already done:
U.boundaryField()[patchI] == U_0 + U_A * sin (wt);
and add the line:
It should to the trick.
With respect to be reading from a dictionary, look for instance at
and search for IOdictionary.
Hi Mathieu, Thanks for your
Thanks for your help, I really appreciate it. oscillatingFixedValueFvPatchField is working fine with me.
Hi Niels, I really apprecia
I really appreciate your help. I will try more complex functions with your method.
Hi, I also work on pulsatil
I also work on pulsatile flows. I am especially interested in heat transfer effects, that occur in turbulent problems containing flow reversal.
So far I tried to simulate my very long (l/D=120) channel with a constant wall temperature, pulsating velocity and oscillatory temperature BC at the inlet. I introduced a special turbulence Model (Wang & Zhang: "Numerical analysis of heat transfer in pulsating turbulent flow in a pipe", Heat and Mass Transfer, 2005) containing wallfunctions. As compressible fluids should be considered, the rhoTurbFoam solver seemed to be the best fitting choice.
When run my computations, the temperature cant follow the backflow conditions, and is increased non-physical.
Scanning the tutorials, I found some other remarks, that backflow causes instabilities and some suggestions, which are not commented to have been worked out or taken to be valid.
Is anybody out there who handled similar problems and has some information, hints etc.???
Sorry, I scanned the forum
I scanned the forum ... and not the tutorial...
|All times are GMT -4. The time now is 07:12.|