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

Mass Source Term UDF, Basic

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2018, 01:13
Default Mass Source Term UDF, Basic
  #1
New Member
 
Sherif
Join Date: May 2012
Posts: 5
Rep Power: 14
Gomaa is on a distinguished road
Hello,
I want to write a UDF, mass source term. There a thin cylinder in the domain that generates mass flow rate. The source term equation is only a function of time and of course, it will be divided on the total volume of this cylinder zone to get Kg/s.m3 which is the unit for a source term.

The mass source = A* exp((Time - B) /C) / Volume_Zone
where A, B, and C are constants.

Also is the zone volume definition will be different in 2D and 3D?

I will highly appreciate your help. Thank you.
Gomaa is offline   Reply With Quote

Reply

Tags
mass source term, udf


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
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
Issues with mass source macros in a multiphase system cp703 Fluent UDF and Scheme Programming 6 October 17, 2015 01:59
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
UDF for mass source term in FLUENT kasimgumel Fluent UDF and Scheme Programming 0 November 2, 2010 14:50


All times are GMT -4. The time now is 18:31.