CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

How to add source for UDS on a virtual surface?

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

LinkBack Thread Tools Display Modes
Old   May 16, 2013, 14:58
Default How to add source for UDS on a virtual surface?
New Member
Join Date: May 2013
Posts: 1
Rep Power: 0
SimulatingFlow is on a distinguished road
Hello, Please help me to add a source term for a UDS on a virtual surface in the domain.

I use a simple 2D axisymmetrical geometry for my simulation, which has a inlet and outlet. Then I use the command "/surface/line-surface" to add a virtual surface in the domain. I want to add a source term to the user-defined-scalar equation along this line. How to find the cells at which the line is located, so that the source can be added to these cells?

Please help. Thank you.
SimulatingFlow is offline   Reply With Quote

Old   May 22, 2013, 08:11
Senior Member
Join Date: Jun 2009
Posts: 156
Rep Power: 10
mvee is on a distinguished road

Source term refers to the volume and applied on the cell centroid. Source can not be on line or surface. This could be flux only. Line can be traced by its ID and flux can be imposed through flux condition.

Best wishes
mvee is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 October 22, 2015 11:05
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
Relationship of Surface Source and Radiation JosephKim FloEFD, FloWorks & FloTHERM 2 December 10, 2013 00:44
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
source term for energy source from a wall surface rahulsharma FLUENT 0 February 1, 2010 03:00

All times are GMT -4. The time now is 23:50.