|
[Sponsors] |
Copying velocity field from one bc to another |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2006, 11:39 |
Copying velocity field from one bc to another
|
#1 |
Guest
Posts: n/a
|
Hi everybody,
I'm running a transient simulation in which, at the end of every time step, the velocity field from one boundary condition (an outlet bc with static pressure defined) must be the velocity profile for another boundary condition (an inlet bc with velocity profile defined) at the beginning of next time step. Both boundary condition surfaces have the same geometry and the same surface meshing (as if they were periodic), one is displaced from the other in the X axis direction. I've tried to make it by creating user subroutines and junction box routines but it's being very hard to me knowing the data location used by the solver. Can anybody help me? Thanks in advance!! |
|
June 27, 2006, 20:33 |
Re: Copying velocity field from one bc to another
|
#2 |
Guest
Posts: n/a
|
Make it a periodic. If they are just displaced in the X direction, it should work.
|
|
June 28, 2006, 02:59 |
Re: Copying velocity field from one bc to another
|
#3 |
Guest
Posts: n/a
|
Yes, the problem is these two bc's only share the velocity field, they have different pressure distributions. This is why I didn't set a periodic bc for these two bc's. I need to copy only the velocity profile at every time step.
Any other way of getting it? Thank you anyway! |
|
June 29, 2006, 11:54 |
Re: Copying velocity field from one bc to another
|
#4 |
Guest
Posts: n/a
|
I see. Sounds like what you want is to model something that is linearly periodic, such as a tube bank or fully developed pipe flow. In version 11.0 you will be able to do this directly by specifying the mass flow rate or pressure rise across the periodic. In the current release (v10.0) the easiest way to do this is to specify a momentum source over your entire domain. The momentum source is essentially equal to your pressure drop. When you view the results, the pressure would essentially be the real pressure minus the pressure gradient.
Regards, Robin |
|
June 30, 2006, 03:08 |
Re: Copying velocity field from one bc to another
|
#5 |
Guest
Posts: n/a
|
Yes, what I'm trying to model is something similar to a developed pipe flow. I think the best way to model it will be, as you said, placing a momentum source that makes the fluid recover the pressure drop. I hope this doesn't perturb very much the fluid velocity profile.
Thank you very much for your help Robin! See you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
real velocity field from energy spectrum | Angel | Main CFD Forum | 7 | December 13, 2013 21:40 |
accessing another velocity field in bc | daviderzen | OpenFOAM | 0 | April 20, 2011 07:24 |
Initial velocity field in StarCCM+ | Subhadeep | Siemens | 3 | December 21, 2008 04:40 |
Reconstruction of velocity and pressure field | Jianglan | Main CFD Forum | 0 | October 6, 2008 01:04 |
Velocity in Porous medium : HELP! HELP! HELP! | Kali Sanjay | Phoenics | 0 | November 6, 2006 07:10 |