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

Problems in velocity inlet

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2013, 15:27
Default Problems in velocity inlet
  #1
New Member
 
shoumo
Join Date: Jun 2013
Posts: 16
Rep Power: 4
amarjogot is on a distinguished road
Hello everyone. I am just having some problem with my model. My model is a cylinder (as shown in the figure). It has two different velocity component (one tangential and one radial). Can any one please tell me how can I input them in my model. Thanks in advance for your help.

Zoheb
Attached Images
File Type: jpg fig 2.jpg (28.1 KB, 20 views)
amarjogot is offline   Reply With Quote

Old   July 23, 2013, 09:23
Default
  #2
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 218
Rep Power: 9
siara817 is on a distinguished road
You need to generate a local coordinates at the middle of your inlet and build a field function for each component (in x, y and z directions) of the velocity.
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Old   July 23, 2013, 12:31
Default
  #3
New Member
 
shoumo
Join Date: Jun 2013
Posts: 16
Rep Power: 4
amarjogot is on a distinguished road
Thank you very much for your help. I was trying to follow your suggestions, but still having some problem. I wrote my radial and tangential components as follows: 0.508*(position[2]^0.143 and .292*(position[2]^0.143. I got two errors. first it was not taking the power (^0.143) part. Showing some syntax error. Then when I removed this (although not right), it showed me some different errors.

error: unable to compute field function: radial velocity (radial velocity)
Cannot resolve function $${position}: "position" not defined.

Thanks in advance for your help.
amarjogot is offline   Reply With Quote

Old   July 23, 2013, 15:33
Default
  #4
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 218
Rep Power: 9
siara817 is on a distinguished road
For position and scalar properties you should put just one dollar sign.
Please search in the help of STAR-CCM : user defined field function or programming reference. Then you will find out how to write power and so on
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Old   July 25, 2013, 01:48
Default
  #5
New Member
 
shoumo
Join Date: Jun 2013
Posts: 16
Rep Power: 4
amarjogot is on a distinguished road
Thank you very much for your assistance. I will try to use your idea and will let you know definitely.
amarjogot is offline   Reply With Quote

Reply

Tags
cylinder domain, velocity components

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inlet patch problems martyn88 OpenFOAM 5 October 1, 2012 03:39
Why we normally provide velocity at inlet and pressure at outlet for pipe flow? p07ip705 Main CFD Forum 3 August 3, 2012 05:53
inlet velocity BC ahsan FLUENT 3 July 22, 2009 04:17
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 15:43.