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

Adding a source term in Fluent_(real dS[])

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2023, 12:31
Default Adding a source term in Fluent_(real dS[])
  #1
New Member
 
Raja Ganesh
Join Date: May 2017
Posts: 1
Rep Power: 0
Raja23 is on a distinguished road
Hello everyone,

I am new to UDF and I am working on adding a source term to a VOF model. I am trying to understand the "real dS[]" term. On going through the Fluent UDF manual, I understood that this is a derivate term of the dependent variable in the transport equation. But I am not clear about the two options that Fluent provides,
ds[equ] = ds/d(phi) (for implicit)
ds[equ] = 0.0 (for explicit).
Can someone explain, when should i choose the derivate term to be the real derivate and when should i just enter 0.0 as the derivative value? Thanks.
Raja23 is offline   Reply With Quote

Reply

Tags
derivative, fluent - udf, source code, udf code, udf c_vof

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
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 01:15.