|
[Sponsors] |
December 6, 2014, 07:24 |
UDF for momentum source term
|
#1 |
New Member
Join Date: Nov 2013
Posts: 3
Rep Power: 13 |
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. |
|
Tags |
euler euler solid-gas, momentum equation, udf |
|
|
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 07:42 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
UDF Source Term | Christian | FLUENT | 4 | August 1, 2009 06:53 |
The source term of UDF | summer | FLUENT | 0 | August 24, 2006 18:44 |