|
[Sponsors] |
March 16, 2015, 00:31 |
Assigning mass using UDF
|
#1 |
Member
Baradwaj B S
Join Date: Jan 2015
Posts: 75
Rep Power: 11 |
Hi all,
I have a sphere inside a cylindrical flow domain of some diameter. The flow domain will be having velocity inlet on one side and pressure outlet on other side. QUESTION: To the sphere at the center I need to assign some mass say 1 kg. Is there any way of assigning "mass" to the sphere using UDF? I know that I can patch some mass after initialization. But since I am going to change that as the time goes by, I need to assign "mass" only with UDF. To be specific, what type of "macro" I should use to provide mass(like DEFINE_SOURCE or any other)?? Any help is of great use for me. Thanks in advance, Bharadwaj B S |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disappearing mass when using udf inlet profile | divergence | Fluent UDF and Scheme Programming | 5 | January 2, 2021 14:56 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 07:26 |
Problems regarding mass transfer UDF | Yifan_G | Fluent UDF and Scheme Programming | 8 | December 8, 2014 10:21 |
UDF for Mass Flow at the Outlet: ERROR ACCESS VIOLATION | I-mech | Fluent UDF and Scheme Programming | 1 | May 23, 2014 12:37 |
writing UDF for modelig mass transfer for VOF | ardalan soleymani | FLUENT | 0 | July 11, 2007 01:09 |