|
[Sponsors] |
Poiseuille flow (flow in a pipe) in SOLA-VOF. Parabolic distribution of velocities. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2009, 05:36 |
Poiseuille flow (flow in a pipe) in SOLA-VOF. Parabolic distribution of velocities.
|
#1 |
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
Hello.
Is it possible to simulate Poiseuille flow in SOLA-VOF program? How to define parabolic distribution of velocities at the free surface in this program? Thank you. ---------------------------------------- -------------> ---------------> -----------------> ------------------> -------- ----------> ------------------> -----------------> ---------------> -------------> ---------------------------------------- |
|
April 27, 2009, 11:39 |
|
#2 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
Could you be a bit more definite about your problem?
Pouiselle (I think) is a bounded flow (no free surface). Two examples are flows (2d) between parallel plates or flow through a tube. sola-vof of was designed especially for flows with a free surface. But it can handle Pouiselle flow (tube or between plates) by turning off the free surface logic. The flag "ifstf" selects for single fluid (no free surface = 0) or free surface or two-fluid ( = 1). For some reason this seems to have been omitted from the documentation. And, in some releases of the code, it is 'hard-coded =1. You'll need to check your source carefully. I hope this is helpful. otd |
|
April 28, 2009, 00:52 |
|
#3 |
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
>Pouiselle (I think) is a bounded flow (no free surface). Two examples are
>flows (2d) between parallel plates or flow through a tube. Sorry, you right. >The flag "ifstf" selects for single fluid (no free surface = 0) or free surface >or two-fluid ( = 1). For some reason this seems to have been omitted from >the documentation. And, in some releases of the code, it is 'hard-coded =1. >You'll need to check your source carefully. There is no flag "ifstr" in my copy of sola-vof Does it means, that I can't modelling Pouiselle flow without large changes of code? >I hope this is helpful. Yes, thank you. |
|
April 28, 2009, 01:02 |
|
#4 |
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
>Could you be a bit more definite about your problem?
In first time I wish only modeling flow in tube in SOLA-VOF program, not more Something similar to this: t=1 seconds --------------------------- -> --> ---> --> -> --------------------------- t=n seconds --------------------------- ---------> ------------> --------------> ------------> ---------> --------------------------- but I can't define necessary input data for this flow |
|
April 28, 2009, 11:56 |
|
#5 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
You are correct! It's been a long time since I looked at the details - it appears that I inserted the flag in the necessary places. As published, it's good for free surface or two fluid flows. Thus ifstf = "FressSurfaceTwoFluids" must be defined to skip the extra logic that vof requires.
As to modifications, you'll need to find a way to input the parameter. I did a quick search and find three calls: call vfconv, call lavore, and call cavovo. These are used for the vof implementation. You'll need to determine for yourself whether other parts of the code need to be skipped if you aren't doing vof. I've used my modified code for driven cavity, tube flows, most of the usual 'standard' test cases. Unfortunately I can not share the code itself. I'm sorry I fired off my reply without checking the detail. Hope it works out for you! otd |
|
April 28, 2009, 12:00 |
|
#6 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
If you look in the code at the bottom of the boundary condition section, there're some empty do loops to let you specify non-standard boundary conditions.
As in your sketch the flow is from left to right. specify u = u_o at the left and specify a 'continuitive boundary' at the right. You'll have to specify u_o in that code block. The outflow at the right can be set with the input flags provided in the code. Again, good luck. |
|
April 29, 2009, 09:22 |
|
#7 |
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
otd, Thank You Very Much. You give golden advice
Can you answer to only one question, please? I have trouble with boundary conditionals. How to define asymmetrical walls with interrupt? for example: |........................ | |.........................| |.........................| --------------| |--- or |........................ | |.........................| |.........................| -----| |------| |--- It's possible only by changing source? or I can define this configuration by standart input flags provided in the code (NKX, NXL, NYL, XC, XL, YC, YL)? Thank you! |
|
April 29, 2009, 09:30 |
|
#8 | ||
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
Oh, sorry for stupid question It's possible by NKX, etc..
My input flags: Quote:
Quote:
And after this action program with my input flags is work. But crash with error in another place after 1 second (array bounds exeed in DELTADJ). Please, can you give me example of input variables for simple configuration of boundaries (for 2 submesh regions)? Thank you. Last edited by Anton; April 29, 2009 at 10:52. |
|||
April 29, 2009, 10:58 |
|
#9 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
Anton, few questions are stupid - and none of yours are!
The flags that you've asked about are used to construct the mesh. It's a straightforward way to construct a smoothly-varying (Cartesian) mesh in the x and y dimensions. It's described on pages 37 and 38 of the original LASL (now LANL) report, LA-8355. The boundary conditions are described on pages 26 to 29. As the code is written, a boundary value must be constant along an entire boundary. For example, for your slot flow problem, u(0,y) = u_o, one inflow value along the entire side of the mesh. It's easy in theory to make this general [u(0,y) = u(x = 0, y_o < y < y_L) ]. The coding could take some time. It's also possible in theory to specify a row of blocked cells along the boundary, skipping the locations where you wish inflow. This will compromise the accuracy of the tangent boundary condition along that wall. And, like the other, careful coding is needed. For example, to specify w(x_L < x < x_H, y = 0) = w_o with noflow on the rest of that boundary, set up obstacle cells ("b") as shown: ------------------------------------ top boundary bbbbbbbbbb ^ bbbbbbbbbbbbbbbbbbb bottom boundary for flow ------------ | ---------------------bottom boundary for mesh w_o I guess this is why 'free codes' can really be expensive! |
|
April 29, 2009, 11:31 |
|
#10 | |
New Member
Anton
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence in a pipe flow | JM | Main CFD Forum | 4 | December 21, 2006 05:04 |
Flow through a pipe problem | Mark Wisom | Main CFD Forum | 4 | July 25, 2002 14:20 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |