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

UDF for momentum source term

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2014, 06:24
Default UDF for momentum source term
  #1
New Member
 
Join Date: Nov 2013
Posts: 3
Rep Power: 12
Tanmay_Dutta is on a distinguished road
How can I write UDF for the source term (formulation given below) in the x-momentum equation of the solid phase in a Eularian multiphase flow in Fluent?

-e^150(ε-0.6)*∂ε/∂x + b[∂/∂x (∂u/∂x) + ∂/∂y {1/2(∂u/∂y+∂v/∂x)} + ∂/∂z {1/2(∂u/∂z+∂w/∂x)}]

In the above expression ε is the solid volume fraction, b is a constant.

The above term contains ∂ε/∂x which is unavailable as gradient vector macro in UDF manual. How to calculate this term in UDF? Also, I need to know about how to calculate terms like ∂/∂x(∂u/∂x) etc.

Please help.
Tanmay_Dutta is offline   Reply With Quote

Reply

Tags
euler euler solid-gas, momentum equation, udf

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
UDF Source Term Christian FLUENT 4 August 1, 2009 05:53
The source term of UDF summer FLUENT 0 August 24, 2006 17:44


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