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

how to satisfy continuity residual in transient simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2019, 13:53
Default how to satisfy continuity residual in transient simulation
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Hi all,

I am dong a transient simulation with some DEFINE_SOURCE macros and an UDS.

Now I can get similar temperature contour and exactly the same temperature maximum temperature with literature. However, the velocity field is very unreasonable. I noticed during my simulation, the continuity residual was never below 1e-2. In other words, mass conservation is not converged.

I tried to unload my UDF library and UDS and tried to get an initial stable flow field. I found perfect velocity field can be obtained. However, as long as UDFs and UDS are involved, velocity contour will become very unreasonable.

In order to figure out why, I tried to decrease time step or debugged my code line by line. However, I can not find why.

Can anybody give me some suggestions according to your experience?

Best
Weiqiang
Weiqiang Liu is offline   Reply With Quote

Reply

Tags
continuity, convergence, dpf, 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
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 14:05
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50


All times are GMT -4. The time now is 15:28.