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

chtMultiRegionFoam "adjustTimeStep" not adjusting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2019, 23:54
Default chtMultiRegionFoam "adjustTimeStep" not adjusting
  #1
Member
 
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 7
Adam_K is on a distinguished road
Hello,

I am trying to solve a two-phase heat transfer problem with two solid phases (see this figure) using the chtMultiRegionFoam solver. The analytical solution is known and for a thin (200 um) slab the simulation replicates it well with an adjustable timestep with maxDi = 1.

The solver appears to have settled on a time step of about 7 ns, sticking with that time step for the entire simulation of 1 ms. This does not appear logical to me as I would have expected a smaller time step initially and then a larger one as the temperature profile approaches equilibrium.

Is the time step supposed to adjust each time? Or does it just perform one adjustment initially?

Here is a link to the case file on DropBox.

Here is my controlDict file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     chtMultiRegionFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         1e-3;

deltaT          1e-7;

writeControl    runTime;

writeInterval   1e-4;

purgeWrite      0;

writeFormat     ascii;

writePrecision  8;

writeCompression off;

timeFormat      general;

timePrecision   8;

runTimeModifiable yes;

adjustTimeStep  yes;

maxDeltaT       1e-5;
maxDi           1;

functions 
{ 
    #includeFunc  probesMatrix
    #includeFunc  probesFibres
} 

// ************************************************************************* //

Last edited by Adam_K; March 31, 2019 at 01:55.
Adam_K is offline   Reply With Quote

Old   March 29, 2019, 07:46
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Please provide a simple test case to check it.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 31, 2019, 01:56
Default
  #3
Member
 
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 7
Adam_K is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Please provide a simple test case to check it.
Thanks for the suggestion, I thought it may have been some syntax issue that I was missing in my controlDict file.

I updated the original post with in image of my system and a link to my case file on DropBox.
Adam_K 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
OF 6 wallHeatFlux utility not working on chtMultiRegionFoam tutorial troparry OpenFOAM Post-Processing 1 January 10, 2022 06:12
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 06:34
Simulation of a sample in a furnace w/ chtMultiRegionFoam sergimart7 OpenFOAM Running, Solving & CFD 7 August 12, 2015 06:48
What does this error when use solver chtMultiRegionFoam mean sajad6 OpenFOAM Running, Solving & CFD 7 October 6, 2014 07:38
FOAM FATAL IO ERROR for chtMultiRegionFoam xiaoyoyo OpenFOAM Running, Solving & CFD 0 May 8, 2012 16:49


All times are GMT -4. The time now is 02:33.