CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

initially diverging temp in one cell using convMeltFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2015, 10:59
Default initially diverging temp in one cell using convMeltFoam
  #1
New Member
 
kh
Join Date: Jun 2015
Posts: 9
Rep Power: 10
KHoy is on a distinguished road
Hello all,

I am using the convMeltFoam solver posted by Fabian Rösler with OF 2.4.0. After changing BC for p_rgh to zeroGradient and replacing in pEqn.H

/*phi = (fvc::interpolate(U) & mesh.Sf())
+ fvc::ddtPhiCorr(rAU, U, phi);
*/
with
phi = (fvc::interpolate(U) & mesh.Sf())
+ fvc::interpolate(rAU)*fvc::ddtCorr(U, phi);

the code compiled and ran but has a hard time converging in the very beginning second of the computation independent on whether fixed or variable time stepping is applied.
The problem appears at the left bottom corner cell of the domain, where temp BC are zeroGradiant from below and imposed T > T_melt from left for t>0 with initial T < T_melt everywhere. Also with variable time stepping, the time steps become very small to keep Courant # in bounds, but the velocities are nowhere really large to warrant those small dt.
I am fairly new to OF so I would appreciate good advice.
Attached is a screen shot after 0.4 s when the cell is way out of bounds. This error decreases later in the computation to non-existent.
Attached Images
File Type: jpg T_04Sec.jpg (18.7 KB, 14 views)
KHoy 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
Cell Reynolds Number laliong Main CFD Forum 12 September 17, 2019 03:18
udf problem jane Fluent UDF and Scheme Programming 37 February 20, 2018 04:17
Partition: cell count = 0 metmet FLUENT 1 August 31, 2014 19:41
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 12:25
pls help : udf & cell temp. A. H. Jaberi FLUENT 0 December 16, 2004 05:33


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