|
[Sponsors] |
Implicit Time Integration for Euler Equations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 20, 2015, 07:50 |
Implicit Time Integration for Euler Equations
|
#1 |
Member
Join Date: Jun 2012
Posts: 76
Rep Power: 13 |
Hello everybody,
I would like to implement a implicit time integration for Euler equations. For the explicit case, this is pretty straight forward: which results in the following OpenFOAM code for the conservation of mass: Code:
solve ( fvm::ddt(rho) + fvc::div(rhoFlux) ); one can linearize the flux at time n+1 using Taylor's series expansion with the flux Jacobian calculated using finite difference differentiation. This results in with the term of the right hand side being the fluxes. My OpenFOAM implementation of this likes the following for the conservation of mass Code:
solve ( fvm::ddt(rho) + fvm::div(jacobianRho, rho) - fvc::div(jacobianRho, rho) == - fvc::div(rhoFlux) ); Is my implementation incorrect or where is my mistake in this? Is there maybe a better way to realize this method in OpenFOAM? Thanks for your help! Martin |
|
April 20, 2015, 13:40 |
|
#2 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12 |
So I think I need more information to know what you are trying to do, are you only solving the density equation? Are you solving the Navier-Stokes?
Bare in mind that OpenFOAM uses the Rhie-Chow interpolation method and some assumptions about which terms are taken as explicit and which terms are taken as implicit. Maybe you can obtain the results you are looking using the correct schemes |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 08:22 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
CFL in dual time stepping with implicit scheme | dokeun | Main CFD Forum | 0 | May 8, 2013 23:01 |