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

defining discrete density profile in a domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2013, 21:46
Default defining discrete density profile in a domain
  #1
New Member
 
mrityunjay sahu
Join Date: Jun 2013
Posts: 5
Rep Power: 12
m00nmun is on a distinguished road
I am working on stably stratified environmental flows. I have to define two density profile which varying with depth. Such as one profile is from h to h-b and another profile is from h-b to 0. Kindly suggest me the way to perform it. Thank you.
m00nmun is offline   Reply With Quote

Old   July 29, 2013, 00:15
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have no idea what h and h-b means.

The density is caused by a combination of temperature, pressure and possibly additional stuff (eg salt content). You have to define the temperature, pressure and/or stuff (salt) values and you will get your density profile.
ghorrocks is online now   Reply With Quote

Old   July 29, 2013, 00:56
Default
  #3
New Member
 
mrityunjay sahu
Join Date: Jun 2013
Posts: 5
Rep Power: 12
m00nmun is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I have no idea what h and h-b means.

The density is caused by a combination of temperature, pressure and possibly additional stuff (eg salt content). You have to define the temperature, pressure and/or stuff (salt) values and you will get your density profile.
thank you ghorrocks for your reply. I know the profile of density. How ever it is depth dependent. For instance, there is two layer of density and an interface one is upto 0 to H-h and another is from H-h to H, where H is depth of domain. Density is a function of temperature. I have to define this profile with CEL during initialization, kindly suggest me in this regard. Thank you.
m00nmun is offline   Reply With Quote

Old   July 29, 2013, 08:07
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If density is a function of temperature only and you know the density then you know the temperature as well. So then you can specify the temperature initial condition, and set density to be a the function of temperature.

Have a look at the CEL expressions for writing functions. And set the density to be the function of temperature and there you have it.
ghorrocks is online now   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
defining temperature profile with UDF mohammadkm Fluent UDF and Scheme Programming 11 July 3, 2013 00:15
Generating Velocity Profile inside domain. Hisham OpenFOAM 0 June 7, 2011 07:25
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
defining the domain umesh CFX 0 March 14, 2009 00:18
Discrete Inlet Velocity Profile retech OpenFOAM Pre-Processing 4 November 12, 2008 06:20


All times are GMT -4. The time now is 05:30.