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

Dependent variables for linearized source terms

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2017, 03:20
Default Dependent variables for linearized source terms
  #1
New Member
 
Anders Simonsen
Join Date: Sep 2013
Posts: 18
Rep Power: 13
ASimonsen is on a distinguished road
Hi

I'm using DEFINE_SOURCE to define various source terms in my model. In order to increase stability, I'm linearizing the sources. The UDF-manual states the following (Page 127 in Fluent UDF manual for release 18.0):

"
Note that the source term derivatives may be used to linearize the source term if they enhance the stability of the solver. To illustrate this, note that the source term can be expressed, in general, as Equation 2.10 (p. 127), where Phi is the dependent variable, A is the explicit part of the source term, and B*Phi is the implicit part.
S_Phi = A + B * Phi

"

I'm specifying source terms for momentum, energy and mass. I've found the following information about the three terms:

Momentum:
- Dependent variable (Phi): Velocity [m/s]
- Unit of A and S_Phi: [N/m^3]
- Unit of B: [(N/m^3)/(m/s)]

Energy:
- Dependent variable (Phi): Temperature [K]
- Unit of A and S_Phi: [W/m^3]
- Unit of B: [(W/m^3)/(K)]

Mass:
- Dependent variable (Phi): ???
- Unit of A and S_Phi: [kg/(s*m^3)]
- Unit of B: [(kg/(s*m^3))/(???)]

As you can see, I don't know what the dependent variable is for mass sources. Can anyone help me with that?

Regards Anders
ASimonsen is offline   Reply With Quote

Reply

Tags
define_source, source term


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
Assigning time dependent heat Source terms Asghari_M OpenFOAM Programming & Development 25 August 3, 2015 01:19
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 16:44.