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

Assigning mass using UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By `e`

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 16, 2015, 00:31
Default Assigning mass using UDF
  #1
Member
 
Baradwaj B S
Join Date: Jan 2015
Posts: 75
Rep Power: 11
Bharadwaj B S is on a distinguished road
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
Bharadwaj B S is offline   Reply With Quote

 


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
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


All times are GMT -4. The time now is 15:53.