CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Source Value wrong UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2020, 16:37
Default Source Value wrong UDF?
  #1
Member
 
Deutschland
Join Date: Jun 2020
Location: https://t.me/pump_upp
Posts: 43
Rep Power: 6
schwaral is on a distinguished road
Send a message via ICQ to schwaral Send a message via AIM to schwaral Send a message via Yahoo to schwaral
Unfortunately I run out of ideas with the help of this forum and User Guide. Therefore this new thread.

I have a 2D pipe devided in 3 areas (upstream, middle, downstream).
At the Inlet I set a specific value for my UDS (C). The whole domain in the middle acts as a source. I want to reduce my C by 10% from Inlet to Outlet

Source formula for UDF:

source = -0.1* C / sourcevolume;

C=UDS Value in Cell
sourcevolume = volume of domain "middle"

The results show, that my UDS Value is reduced by 85%. Any idea, why this is happening? I run out of ideas


PS:
The Outlet condition fopr UDS is FLux=0 so this shouldn't have any effect on the Value of C and the Diffusion = 0 as well.
schwaral is offline   Reply With Quote

Reply

Tags
fluent, source, udf, uds


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
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 11:17.