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

creating velocity inlet profile on star ccm+

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By loreaero

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2009, 14:06
Default creating velocity inlet profile on star ccm+
  #1
New Member
 
Lorenzo
Join Date: May 2009
Posts: 2
Rep Power: 0
loreaero is on a distinguished road
hallo ,
i'm an italian student and i've some problems with star ccm+.
i need to create a velocity log law profile but i don't know how to compile a field function. i 've tried to create some function component and to assemble these on vector one with no results.
i add my attempts:
i've tried to introduce the z variable with $$Position[2]
u(z) component definition:
((0.164696691/0.4)*log(($$Position[2]+5.32267E-05)/5.32267E-05*0.866)-3.084
v(z) component definition:
-(0.164696691/0.4)*log(($$Position[2]+5.32267E-05)/5.32267E-05)*0.5

help me please
thanks a lot
loreaero is offline   Reply With Quote

Old   May 27, 2009, 04:37
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 260
Rep Power: 18
Maddin is on a distinguished road
In my ccm the z variable is "Position_2" and to use them I make $Position_2

/edith says: Often the field function is only shown when you had "used" them in a scene, don't know why but I only have the "Position"-Vector, when I used the scalar displayer Position -> Laboratory -> Z, I have the field function Position[Z].
I hope it helps you.

Last edited by Maddin; May 27, 2009 at 04:40. Reason: new idea
Maddin is offline   Reply With Quote

Old   May 27, 2009, 06:14
Default
  #3
pad
New Member
 
PA
Join Date: Mar 2009
Posts: 25
Rep Power: 17
pad is on a distinguished road
I actually did something similar with a power-law profile based on a desired flow rate where I used several field functions to calculate Re, exponents etc.

If you are using a cylindrical boundary (e.g. a pipe) you might find it easier to define a local cylindrical coordinate system (placed in the center of the inlet) and then use

$$Centroid(name_of_your_cylindrical_coordinate_sys tem)[0]
$$Centroid(name_of_your_cylindrical_coordinate_sys tem)[1]
$$Centroid(name_of_your_cylindrical_coordinate_sys tem)[2]

to calculate the velocity based on the distance from the center of this CS.

Consult the manuel regarding the details of the x, y, z of the cylindrical coordinate system.

Hope this helps a bit...
pad is offline   Reply With Quote

Old   June 8, 2009, 10:55
Default thanks very much at all
  #4
New Member
 
Lorenzo
Join Date: May 2009
Posts: 2
Rep Power: 0
loreaero is on a distinguished road
thanks very much at all!! i've solved my problem
i don't understand why, but starccm+ don't love number squared...and on my first expression i've digited ^2 and not the simple number result.
well! if you need to simulated a velocity profile for an atmospheric boundary layer, the best way is to write the log law in component like what i've do and to create a field function velocity where put the component expression.like this
[((0.164696691/0.4)*log(($$Position[2]+5.32267E-05)/5.32267E-05)*0.866)+3.084 , -(0.164696691/0.4)*log(($$Position[2]+5.32267E-05)/5.32267E-05)*0.5 ,0]

thanks again
good luck at all
Juan_Ca and FOWT like this.
loreaero 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
Fully developed 3d velocity profile: Square inlet! Taru FLUENT 6 September 14, 2015 09:38
How to apply velocity profile at inlet Sam CFX 12 April 1, 2012 07:52
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 03:13
velocity more than INLET velocity neu FLUENT 3 May 13, 2003 05:56


All times are GMT -4. The time now is 18:16.