CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

turbulent inlet boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2012, 08:15
Question turbulent inlet boundary condition
  #1
Member
 
Kapa Lilla
Join Date: Mar 2009
Location: Bruxelles, Belgium
Posts: 57
Rep Power: 17
klilla is on a distinguished road
Dear All,

I try to modify the boundary condition which reads a outside (measurement data) timeVaryingMappedFixedValue in order to superimpose perturbations to it. I'd like to use this BC for LES. Up to now I first added random perturbations normalized by the Reynolds stresses. The results were rather discouraging, the velocity field improved, however the pressure field became completely incoherent. Well, this was a well known phenomenon in incompressible solvers by my professor, so he suggested to do the following trick, before going to more sophisticated coherent synthetic turbulent inlet:

1. compute rotPerturbation = rot(perturbation)
2. perturbation = eps*(rotPerturbation), where eps is a scaling parameter to keep the perturbations in the desired range.

What one gains is that in this way the imposed velocity field stays divergence free (which is the property of incompressible flows, coming from the continuity equations), so pressure won’t go crazy.

The pressure not, me yes. So I took the aforementioned BC and renamed, modified. It was not working, fine it never does for me at first. Now there is only 2 lines stayed uncommented:

1. The one where I access the velocity filed: const volVectorField UField = db().lookupObject<volVectorField>("U"); – no problem with this.
2. The one where I compute the vorticity field: const volVectorField vorticity(fvc::curl(UField)); – if this line is there, the pressure field go crazy. Note, I’m not using the vorticity for anything, the rest of the code stays unchanged. I plotted the inlet velocity field, stays constant, I plotted the overall velocity field, nothing remarkable happens after one time step. If I plot the pressure field, it changes a lot.

Can anyone tell me why?

Thanks,
Lilla
klilla is offline   Reply With Quote

Reply

Tags
boundary condition, incompressible flows, turbulence


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 19:23


All times are GMT -4. The time now is 21:37.