CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Compressible amosphere using opening

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2015, 14:52
Default Compressible amosphere using opening
  #1
New Member
 
Join Date: Oct 2015
Posts: 3
Rep Power: 11
Dino9111 is on a distinguished road
Hi together,

I would like to simulate just a area (box with dx=50m x dy=50m x dz=25m) with compressible air using opening boundary at the sides and a wall at the bottom. Intention is to create a realistic atmosphere with a negative temperature gradient with increasing height without any flow (or almost).

Initial and boundary condition for temperature: T(y)=288K-(0.976 K/100m)*y
(using adiabatic temperature gradient of atmosphere g_ad)
ref. pressure: 1 atm at (0,0,0)
If I set "relative pressure" at "opening pressure and drn." at 0 Pa, I always get a flow downwards at the center of the box (when compressibility and byouyancy is enabled - I need both effects in later simulations).
I'm not sure but as far as I understood the doc, I should define hydrostatic pressure p(y) at my opening boundaries.
--> Initial and boundary condition for pressure: p(y)-pref with
p(y)=p0*(1-(g_ad*y/T0)^(M_air*g/(R*g_ad)) (barometric formula; p0,T0 at y=0)

But then, in the center there is a flow upwards.

Has anyone an idea how to set boundary conditions etc. correctly?
Thanks a lot in advance!
pref_zero_Temp.jpg

pref_zero_velocity.jpg

pref_baromform_Temp.jpg
Dino9111 is offline   Reply With Quote

Old   October 16, 2015, 07:22
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
Translational periodic conditions might be suitable here.
evcelica is offline   Reply With Quote

Old   October 20, 2015, 06:17
Default
  #3
New Member
 
Join Date: Oct 2015
Posts: 3
Rep Power: 11
Dino9111 is on a distinguished road
Hi evcelica,

first of all thanks - it works qute well. But unfortunately then I can't define a wind profile at the sides (for later siimulations).
Isn't there any possibility to define relative pressure at an opening correctly (so that there is no flow initiated by pressure differences)?
And why doesn't relative pressure = 0 not work? No pressure difference-->no flow?!
Dino9111 is offline   Reply With Quote

Old   October 21, 2015, 08:15
Default
  #4
New Member
 
Join Date: Oct 2015
Posts: 3
Rep Power: 11
Dino9111 is on a distinguished road
OK i finally solved it...
for those who are interested:
You have to define for the realtive pressure at the opening boundary: p(y) - pref + density*g*y because p(y) is the absolute pressure, but the pressure you have to define at the opening boundary is interpreted to be without the hydrostatic part.
Dino9111 is offline   Reply With Quote

Reply

Tags
compressible gas, hydrostatic pressure, opening boundary


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
Static Temperature / Opening Temperature JulianP CFX 12 April 10, 2019 19:00
Opening boundary condition for multiphase analysis in CFX shivasluzz CFX 3 May 15, 2015 10:49
How does CFX treat an opening when heat transfer is modelled? JuPa CFX 2 September 9, 2014 06:34
How to properly set up an opening in buoyancy driven problems lavoz CFX 5 July 23, 2014 07:06
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 17:51


All times are GMT -4. The time now is 17:33.