CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Setting Initial Conditions Velocity Profile

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 25, 2014, 22:41
Default Setting Initial Conditions Velocity Profile
  #1
New Member
 
Join Date: Mar 2014
Posts: 12
Rep Power: 12
lint is on a distinguished road
Hi guys,

I am in need of help as i'm completely stuck on this an don't know how else to proceed.

I'm modelling atmospheric boundary layer flow over hilly terrain and need to automatically set a logarithmic inlet velocity profile based on reference velocities given by measurements.

Since the domain is not flat and the surface elevation varies considerably along the inlet boundary I have a log-law equation modified for elevation Z.

The way I was hoping to approach this was to Extract the face centroid positions of the inlet boundary to an internal table, and then use my equation on the 'z' value of each centroid to work out the velocity and then assign it to the coordinate (x,y) of the same centroid. I can't figure out how to apply an equation to the table. Is there another way of doing this? How would i apply a simple logarithmic profile?

Additionally how would i do this as a vector? When I input (x,y) constant velocity values the flow remains normal to the face and doesn't change its angle. Also what is the "magnitude" node in the inlet region exactly? I want the magnitude to be based on the vectors that i put into the initial conditions.


Any help appreciated!


[EDIT]:

If I set the initial conditions to an XYZ File table that I populate externally (say matlab) does Star interpolate the data to fit the cell centroids? If that's the case then this is probably the easiest method as i could then set a local cordinate system and simply input the magnitude of the vector as a normal.
lint is offline   Reply With Quote

 


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
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM Running, Solving & CFD 15 October 19, 2015 13:52
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
rhoSimplecFoam Mach0.8 no pressure values CFDnewbie147 OpenFOAM Running, Solving & CFD 16 November 23, 2013 05:58
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50


All times are GMT -4. The time now is 09:48.