|
[Sponsors] |
chtMultiRegionFoam "adjustTimeStep" not adjusting |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2019, 23:54 |
chtMultiRegionFoam "adjustTimeStep" not adjusting
|
#1 |
Member
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 7 |
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. |
|
March 31, 2019, 01:56 |
|
#3 |
Member
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 7 |
||
|
|
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 |