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

Implicit dual time stepping in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 1 Post By shereez234
  • 1 Post By shereez234
  • 1 Post By shereez234

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2020, 05:21
Default Implicit dual time stepping in OpenFOAM
  #1
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 355
Blog Entries: 1
Rep Power: 14
shereez234 is on a distinguished road
Dear OpenFOAM users.


Good afternoon and hope every one is staying safe and well.

I would like to know if any one had any experience/sucess in implementing the dual-time stepping method in OpenFOAM. I saw one implementation in Unofficial Foam-Extend Github where the implementation looks like:
Code:
 scalarField rDeltaTau = scalar(1.0)/(beta*deltaTau.internalField());     
 scalar coefft   = 1 + deltaT/(deltaT + deltaT0);              // = 3/2     
 scalar coefft00 = deltaT*deltaT/(deltaT0*(deltaT + deltaT0)); // = 1/2                           
 scalar coefft0  = coefft + coefft00;                    // = 4/2                                               

  fvm.diag() = (rDeltaTau+coefft*rDeltaT)*mesh().V();                        
   if (mesh().moving())               

        {        
    fvm.source() =  (                     
       rDeltaTau*vf.oldTime().internalField()*mesh().V()  + 
coefft0*rDeltaT*vfOld.internalField()*vfOld.mesh().V()   - 
coefft00*rDeltaT*vfOldOld.internalField()*vfOldOld.mesh().V()                        
         );              
     }                    

  else         
  {                          
     fvm.source() = mesh().V()*         
    (                         
      rDeltaTau*vf.oldTime().internalField()   + 
      coefft0*rDeltaT*vfOld.internalField()    - 
     coefft00*rDeltaT*vfOldOld.internalField()  
         );                     
    }                                   

   return tfvm;    scalar rDeltaT = 1.0/deltaT;
Just to be more clear, for the implemented dual time-stepping method, deltaT is the physical time step size, and deltaTau is the pseudo time step size.

The transfer of this source code to OpenFOAM 7 is not clear for me. Is this the right dual time stepping method as implemented by Jameson for large time step external flow CFD cases?



I hope to get some insight from some of you. Any help is appreciated.





Kind regards




ps: References of the code
References: Venkatakrishnan V. and Mavriplis D. J. , "Implicit Method for the Computation of Unsteady Flows on Unstructured Grids" Journal of Computational Physics, (1996), 127, p. 380-397, equation 10
Blazek, Jiri. "Computational Fluid Dynamics: Principles and Applications", 2001, Referex Engineering, Elsevier (Chapter 6.3)
Arnone, Liou and Povinelli, "Multigrid Time-Accurate Integration of Navier-Stokes Equations" AIAA 1993-3361, NASA-TM-106373
lpz456 likes this.
shereez234 is offline   Reply With Quote

Old   May 16, 2025, 11:55
Default
  #2
New Member
 
SunTime
Join Date: Nov 2020
Posts: 21
Rep Power: 6
lpz456 is on a distinguished road
Hello! Are there any development? Recently, I encountered the issue of excessively high residuals within a single physical time step while simulating unsteay compressible flows.
lpz456 is offline   Reply With Quote

Old   May 19, 2025, 03:53
Default
  #3
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 355
Blog Entries: 1
Rep Power: 14
shereez234 is on a distinguished road
If you want unsteady dual time stepping for compressible use the HISA code
lpz456 likes this.
shereez234 is offline   Reply With Quote

Old   May 19, 2025, 10:52
Default
  #4
New Member
 
SunTime
Join Date: Nov 2020
Posts: 21
Rep Power: 6
lpz456 is on a distinguished road
Thanks! But my case is related to cooling film with low speed about 0.07 Mach number and strong heat transfer. The Hisa solver is suitable for compressible transonic and supersonic flow.
lpz456 is offline   Reply With Quote

Old   May 19, 2025, 17:03
Default
  #5
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 355
Blog Entries: 1
Rep Power: 14
shereez234 is on a distinguished road
Mostly yes. But they have preconditioning for low mach number flows.
lpz456 likes this.
shereez234 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
laplacianFoam with source term Herwig OpenFOAM Running, Solving & CFD 17 November 19, 2019 13:47
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Dual time step implementation in openfoam Kossivi OpenFOAM Running, Solving & CFD 1 February 11, 2015 12:18
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58


All times are GMT -4. The time now is 03:26.