|
[Sponsors] |
July 24, 2017, 10:10 |
Explicit ddt scheme
|
#1 |
New Member
Sachin Kumar Jain
Join Date: Mar 2017
Location: India
Posts: 1
Rep Power: 0 |
Hi Everyone,
I'm trying to simulate a two phase flow using interFoam solver and I need to use explicit ddt scheme for the discretization of ddt equation for phase fraction. Is there any inbuilt scheme for that as all I could find were implicit schemes. I'm using OpenFOAM version 3.0.1. Last edited by sachinjain; July 26, 2017 at 05:05. |
|
March 1, 2020, 17:28 |
|
#2 |
New Member
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7 |
Can anyone answer this question, I trying to figure out same thing here.
|
|
March 1, 2020, 20:46 |
|
#3 |
Member
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11 |
As far as I can tell, there are some implicit/explicit schemes, EulerDdtScheme, localEulerDdtScheme and SLTSDdtScheme, but I'm not entirely sure what that means as it is not explained in any detail (see this Time Schemes webpage). In general though, there seem to be two namespaces of derivative calculation functions in the source code, fvc and fvm, which are explicit and implicit schemes, respectively. For example, the time derivatives used to define the available ddt schemes in OpenFOAM are fvcDdt/fvcDDt and fvmDdt. Taking the EulerDdtScheme as an example, the source code uses both types of derivatives in different parts of the code and I couldn't tell at a glance whether you could control the use of one or the other.
Long story short, it seems like there aren't any obvious options for running a purely explicit simulation. |
|
March 4, 2020, 14:21 |
|
#4 |
New Member
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7 |
Thanks for the immediate reply Andrew. I found the answer in the user guide.
fvm::d(dT)-fvc::laplacian(DT,T)=0 -- solves explicitly fvm::d(dT)-fvm::laplacian(DT,T)=0 -- solves implicitly. |
|
March 4, 2020, 15:15 |
|
#5 |
Member
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11 |
I'm glad you were able to find what you needed and it seems looking further into the fvc vs. fvm commands was the way to go. Are you trying to make a custom solver of some sort using commands like this?
|
|
March 4, 2020, 15:18 |
|
#6 |
New Member
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7 |
Yes, i was trying to make a solver for simulating isotropic melt solidification process based on phasefield model proposed by R.Kobayashi 1993.
|
|
March 4, 2020, 17:08 |
|
#7 |
Member
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11 |
Understood, that sounds intriguing. I didn't realize that at first and misunderstood your original query since I thought you were only looking at built-in ddt schemes. Good luck!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching to implicit scheme after explicit startup | Obad | Main CFD Forum | 1 | November 21, 2016 11:30 |
why interDyMFoam does not support backward ddt scheme? | Yage | OpenFOAM Running, Solving & CFD | 6 | March 3, 2016 13:47 |
ddt scheme: CrankNic(h)olson | Djub | OpenFOAM Running, Solving & CFD | 0 | November 20, 2013 07:22 |
explicit scheme for incompressible | ricklee | Main CFD Forum | 0 | November 2, 2005 02:50 |
Explicit Pressure Based Scheme | Apurva | Main CFD Forum | 4 | June 3, 2004 21:01 |