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

Scalar Transport values too large

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2018, 14:10
Default Scalar Transport values too large
  #1
Member
 
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17
zobekenobe is on a distinguished road
I am trying to solve the simple channel flow with a UDS defined for solute concentration in the flow.



I have used UDF macros to define the boundary conditions and the diffusivity, density and viscosity.



I am using the mass flow rate for the convective flux
and don't have a source term.


The solution converges but the value of the UDS is extremely high (10^7) and the value grows extremely fast (within 5-10 iterations).


Can anyone suggest any checks or ways to figure the source of the problem.

I strongly feel there is a problem with the UDF but everything seems really fine.

zobekenobe is offline   Reply With Quote

Old   May 23, 2018, 17:18
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Maybe you made a udf that generates conditions for which those large values are a solution. If you don't show your udf, it is hard to say if it has a problem...
pakk is offline   Reply With Quote

Old   May 28, 2018, 12:21
Default
  #3
Member
 
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17
zobekenobe is on a distinguished road
Hi Pakk,


It took me a while too clean the code and have in some documentation (though minimal).


below is the link where you can have a look


https://github.com/zobekenobe/UDS-Flux.git


Please have a look and share your insights.


Looking forward to your reply.


Thanks
zobekenobe 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
Scalar Transport - multiphaseEulerFoam dschmidt OpenFOAM Programming & Development 2 July 11, 2014 04:49
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 20:53
Unsteady kE with scalar transport - Outlet-geometry heavely effects scalar transport christian_andersen OpenFOAM 0 June 25, 2009 04:00
Scalar Transport Equations David harvey FLUENT 1 January 31, 2004 07:15


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