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

Initiate density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2014, 07:39
Default Initiate density
  #1
New Member
 
erik gustafsson
Join Date: Oct 2013
Posts: 19
Rep Power: 12
guserik is on a distinguished road
Hello

I work with a compressible simulation with rhoPimpleFoam. My goal is to empty an air tank with initial pressure at 9 bar, the rest of the domain is 1 bar. I set initial temperature and pressure with setFields but my highly compressed region of air shall have a higher density. Is it possible to set the density in a similar way?

Thanks!

//Erik
guserik is offline   Reply With Quote

Old   January 21, 2014, 11:32
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
as it compressible flow,are you sure, you want to initiate density at all? because density will be update with pressure and temperature, am i missing anything?
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   January 21, 2014, 13:28
Default
  #3
New Member
 
erik gustafsson
Join Date: Oct 2013
Posts: 19
Rep Power: 12
guserik is on a distinguished road
Quote:
Originally Posted by nimasam View Post
as it compressible flow,are you sure, you want to initiate density at all? because density will be update with pressure and temperature, am i missing anything?
Yeah perhaps but i think i make something really wrong here. I have an air tank which is filled to 9 bar so i assume that the temperature are the same in the tank as outside 300K. In fvsolution i set rhoMax to 90 and rhoMin to 1.2 which seems okey. But i always got problem with convergency of the temperature. Do i make any fatal mistakes ?
guserik is offline   Reply With Quote

Reply


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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 14:33
How to model Salinity, density, fresh water & sea water grayback87 FLUENT 3 December 30, 2014 02:00
A problem about density in liquid air definition alloveyou CFX 2 June 14, 2012 14:20
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Warning 097- AB Siemens 6 November 15, 2004 04:41


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