CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   modeling flow over terrain with buoyancy (http://www.cfd-online.com/Forums/openfoam-solving/72130-modeling-flow-over-terrain-buoyancy.html)

stevek January 26, 2010 14:27

modeling flow over terrain with buoyancy
 
To all the wind modelers:

I have been having problems including buoyancy for atmospheric stability considerations into my flow model.

I have a model which works well with icoFoam and rhoPimpleFoam for generic wind modeling purposes over complex terrain. However I wish to use the unsteady buoyantPisoFoam to include stability effects. I am certain that my problems have to do with BCs so my question is:

How to implement the buoyantPressure bc correctly for a case with an inlet to the left, outlet to the right, atmosphere on the top and terrain on the bottom with symmetry planes on the sides?

Any help would be much appreciated!

scotth2o January 27, 2010 12:41

stevek
It sounds as if we are working on the same general problem. Microscale modeling and using buoyantPisoFoam. I have had luck when initializing from a mesoscale model or in areas with more or less level terrain. I typically face challenges in sloped areas or gap flows where I am formulating boundary conditions based on on-site meteorological instrumentation. The solution in these situations seems to be to try everything until something gives you a reasonable result. With this in mind I can tell you that I have tried so many things that it's difficult to answer your question becasue everywhere seems to be a little different.

To start with I typically use some matlab scripts to generate BC that conserve momentum, enthalpy and mass such that the wind blows in the direction I want it to. You could do this a number of different ways I'm sure but the scripts I have evolved over time are not trivial. If you have a semi-working model right now that's blowing up why don't you post your error and let others take a look.

scott

panda60 February 3, 2010 03:11

Quote:

Originally Posted by stevek (Post 243800)
To all the wind modelers:

I have been having problems including buoyancy for atmospheric stability considerations into my flow model.

I have a model which works well with icoFoam and rhoPimpleFoam for generic wind modeling purposes over complex terrain. However I wish to use the unsteady buoyantPisoFoam to include stability effects. I am certain that my problems have to do with BCs so my question is:

How to implement the buoyantPressure bc correctly for a case with an inlet to the left, outlet to the right, atmosphere on the top and terrain on the bottom with symmetry planes on the sides?

Any help would be much appreciated!

Yes, stevek, may be we have the same problem, you could see:
http://www.cfd-online.com/Forums/ope...anation-2.html

stevek February 11, 2010 04:45

Hi Scott,

Thank you for the reply. My problems were in fact due to the unphysical specification of boundary and initial conditions from homemade velocity and temperature profiles. Using realistic profiles (from meso data) has solved the problem.:)

Cheers


All times are GMT -4. The time now is 13:07.