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

Source term UDF including face area

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2023, 05:57
Question Source term UDF including face area
  #1
New Member
 
anonymous
Join Date: Sep 2023
Posts: 2
Rep Power: 0
Ariyan is on a distinguished road
I am working on developing a UDF in an axisymmetric configuration for the following source term within an Eulerian flow for liquid phase. The source term acts as a mass sink in a specific zone.

S=-(rhol*alphal*ux,l)/(delta x)-(rhol*alphal*vr,l)/(delta r)-(rhol*alphal*vr,l)/(r)

Source term is defined at the cell level, but I need to consider delta r and delta x which act on a face. Can you help me figure out how to add delta x and delta r to my code?

Thank you
Ariyan is offline   Reply With Quote

Reply


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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 14:43.