|
[Sponsors] |
deltaT is getting very small on using interFoam solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 14, 2017, 12:17 |
deltaT is getting very small on using interFoam solver
|
#1 |
New Member
Dhinesh_Bala
Join Date: Sep 2016
Posts: 7
Rep Power: 10 |
Dear Foamers,
I am simulating a simple 3D geometry using interFoam. While running interFoam, deltaT is going upto 1e-7 but my actual deltaT is 0.01 and simulation runs for some days : ( Could anyone help me to fix this issue.? I have attached here the snap shot of mesh, U, p_rgh, alpha.water files: alpha.water: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { INLET { type inletOutlet; inletValue uniform 1; value uniform 1; } OUTLET { type inletOutlet; inletValue uniform 0; value uniform 0; } FACES { type inletOutlet; inletValue uniform 0; value uniform 0; } OBSTACLES { type zeroGradient; } defaultFaces { type empty; } } // ************************************************** *********************** // U: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { INLET { type fixedValue; value uniform (0 -0.01 0); } OUTLET { type zeroGradient; } FACES { type zeroGradient; } OBSTACLES { type fixedValue; value uniform (0 0 0); } } // ************************************************** *********************** // p_rgh: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { INLET { type zeroGradient; } OUTLET { type fixedValue; value uniform 0; } FACES { type fixedValue; value uniform 0; } OBSTACLES { type fixedFluxPressure; value uniform 0; } } // ************************************************** *********************** // |
|
January 14, 2017, 23:45 |
|
#2 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
Try turning off the automatic time step adjustment in the controlDict first. This may cause your simulation to crash however. Are you running setFields before interFoam to get the initial alpha distribution setup?
|
|
January 15, 2017, 05:57 |
|
#3 |
New Member
Dhinesh_Bala
Join Date: Sep 2016
Posts: 7
Rep Power: 10 |
Thanks for the reply pbachant.. I have tried turning off "adjustable run time" but my courent no became too large and simulation stopped with core dumped error (pls refer screen shot).. is there any other option to try it out?
I am not using setFields Instead I have mentioned water fields in the alpha.water file Sent from my Nexus 4 using CFD Online Forum mobile app Last edited by dhineshcecfd; January 15, 2017 at 07:50. |
|
January 15, 2017, 08:54 |
|
#4 |
New Member
Dhinesh_Bala
Join Date: Sep 2016
Posts: 7
Rep Power: 10 |
Hi All,
I found the solution of the above problem. The problem was with deltaT in controlDict and it was very large when compared to my smallest element in the grid. Thanks for your answer. |
|
January 15, 2017, 12:11 |
|
#5 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
What are you trying to simulate? It looks like the way you have it setup, you'll have an infinitesimally thin layer of water at the inlet, and that's it.
|
|
January 15, 2017, 13:07 |
|
#6 |
New Member
Dhinesh_Bala
Join Date: Sep 2016
Posts: 7
Rep Power: 10 |
I am just trying to find the permeability of this geometry.. so the water is continuously flowing from inlet to outlet..I will measure pressure drop once the flow reaches steady state
Sent from my Nexus 4 using CFD Online Forum mobile app |
|
August 6, 2018, 16:29 |
|
#7 | |
New Member
Charles
Join Date: Jul 2018
Posts: 2
Rep Power: 0 |
Quote:
I am also facing the same problem. Does the smallest element mean the minimum face area or the minimum volume? Was the solution to your problem was to make the magnitude of delta T equal to minimum face area or the minimum volume? |
||
August 18, 2018, 19:11 |
|
#8 |
Member
Join Date: Jan 2018
Posts: 34
Rep Power: 8 |
Am also looking at a similar problem, could you explain a little bit please!!!
|
|
August 19, 2018, 13:27 |
|
#9 | |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Quote:
Minimum deltaT (time_step) is based on your smallest size of grid in you mesh..if you know your minimum size of your cell you can approximately predict the deltaT based on courant no |
||
August 9, 2022, 08:53 |
|
#10 |
New Member
wangjikang
Join Date: Apr 2022
Posts: 4
Rep Power: 4 |
||
September 4, 2022, 03:33 |
|
#11 |
New Member
Anthony Moris Danve
Join Date: Jul 2020
Posts: 3
Rep Power: 6 |
May you explain to me in details. I face the same problem. I run in olaFlow solver with solitary wave propagation. the smallest mesh size: 0.1 m in Z direction, Delta T = 0.1 s. Co= 0.5.
|
|
Tags |
interfoam, openfoam 2.3.x |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam solver - Vacuum | saba_saeb | OpenFOAM Running, Solving & CFD | 3 | October 13, 2014 11:41 |
can rho2 be varied in interfoam solver | shash | OpenFOAM Programming & Development | 0 | July 24, 2012 13:53 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
interFoam solver needs pdRefCell? | openTom | OpenFOAM Running, Solving & CFD | 2 | May 10, 2009 11:20 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 22:58 |