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

time dependent source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2012, 02:42
Default time dependent source term
  #1
Member
 
Dr. Moloy Kumar Banerjee
Join Date: Jun 2011
Posts: 71
Rep Power: 14
moloykb is on a distinguished road
Dear all,

I am trying to solve the effect of body acceleration on the human arterial system. For that I need to write some codes for a time dependent source term in DEFINE_SOURCE Macros. The acceleration term is given by
a(t) = a0*Cos(omega*t+Phi), where a0 is the amplitude part of the acceleration in mm, but the Fluent document tells that the dimension of the source term should be in N/m^3. How to make the proper dimension for the problem.
moloykb is offline   Reply With Quote

Old   September 6, 2012, 05:57
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
Amir is on a distinguished road
Dear friend,

Define \rho a as your source term!

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   September 6, 2012, 06:37
Default
  #3
Member
 
Dr. Moloy Kumar Banerjee
Join Date: Jun 2011
Posts: 71
Rep Power: 14
moloykb is on a distinguished road
Dear Amir,
Thanks for your response.Is there is any problem if my source term contains only time as a variable other than any space co ordinate? and in that case dS[eqn]=0, is it correct or not?
N.B: Could you provide me your mail id please for further help...
Thanks in advance
moloykb is offline   Reply With Quote

Old   September 6, 2012, 09:05
Default
  #4
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
Amir is on a distinguished road
Quote:
Originally Posted by moloykb View Post
Dear Amir,
Thanks for your response.Is there is any problem if my source term contains only time as a variable other than any space co ordinate? and in that case dS[eqn]=0, is it correct or not?
N.B: Could you provide me your mail id please for further help...
Thanks in advance
Your defined source term may contain spatial variables or not; these terms may be functions of time or not as well!
But about dS, it's not right. This term prescribes the derivative of the source term respect to the desired variable which you're considering its transport equation. e.g., if you're introducing a source term for x-momentum equation, the dS[eqn] would be 0 if the source is not a function of Ux. It's not about spacial variables. (refer to the UDF manual)

Bests,
__________________
Amir
Amir 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
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
How to add a time dependent source term to icoFoam? kirikù OpenFOAM 2 March 23, 2014 20:24
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
UDF: source term dependent on location Vladimir Krejci FLUENT 0 April 2, 2003 08:38


All times are GMT -4. The time now is 22:46.