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

sine funtin

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Turbomachine

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2010, 01:58
Default sine funtin
  #1
Senior Member
 
Govindaraju
Join Date: Apr 2010
Posts: 209
Rep Power: 17
kmgraju is on a distinguished road
I am doing ansys CFX analysis inside the human artery .There is a systole and diastole flow inside the artery. How to define the velocity profile as an inlet. I have to define the velocity profile as a sine function
u(t)= Uo( 1+sin (4*pi -Pi /2)
How to set this boundary condition . I dont know the procedure . I kindly request someone to help me to set the boundary condition step by step.

Thank you in advance

Govind
kmgraju is offline   Reply With Quote

Old   August 20, 2010, 04:19
Default boundary conditions
  #2
Member
 
Join Date: Aug 2010
Posts: 31
Rep Power: 16
Turbomachine is on a distinguished road
CFX employs the CEL language where you can define expressions. Under the expression tab create a new expression and define the velocity profile in the form you have with reference to global coordinates. Then under the boundary tab set the value of the boundary to the defined expression.

It looks like a 1D analysis so set the other to components of velocity to zero. What does the independent variable t mean in your formula?
tauqirnawaz likes this.
Turbomachine is offline   Reply With Quote

Old   August 21, 2010, 10:25
Default
  #3
Senior Member
 
Govindaraju
Join Date: Apr 2010
Posts: 209
Rep Power: 17
kmgraju is on a distinguished road
Thanks for your reply

I have written the expression in the following format
Umax+Umax*sin(4*pi*Frequency*t -pi /2)

Is this correct. I try to calculate the expression value , The value becomes zero.
how it is possible . anyhow I have to get my Umax if sine value is zero. But the value I am getting is zero why?
Attached Images
File Type: jpg untitled1.jpg (20.5 KB, 66 views)
kmgraju is offline   Reply With Quote

Old   August 21, 2010, 11:41
Default
  #4
Senior Member
 
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17
NickFL is on a distinguished road
kmgraju-

Try using this:

Umax+Umax*sin(4*pi*f*t -pi /2)

where f is your frequency define in another expression.

Frequency is a CFX built in variable and you do not want to use it for your expression.
Attached Images
File Type: jpg SineFunction.JPG (69.2 KB, 75 views)
NickFL is offline   Reply With Quote

Old   August 21, 2010, 12:04
Default
  #5
Senior Member
 
Govindaraju
Join Date: Apr 2010
Posts: 209
Rep Power: 17
kmgraju is on a distinguished road
Dear NickFL
Thank you very much for your kind advice . I got it.
kmgraju 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
Help meeee: Wave cylinder (sine cylinder) Ngoctq FLUENT 0 December 29, 2005 21:46
Gambit Sine Edge creation Alex FLUENT 4 June 10, 2005 07:00
mesh problem and looking for udf sine wave'case wanghong FLUENT 0 March 22, 2005 20:43
UDF sine wave enda FLUENT 0 March 22, 2005 14:20
UDF for sine wave in tank & cell count questions! A8anato_psofimi FLUENT 0 February 9, 2004 05:00


All times are GMT -4. The time now is 21:08.