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

Explicit ddt scheme

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By satyam4841

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2017, 10:10
Default Explicit ddt scheme
  #1
New Member
 
Sachin Kumar Jain
Join Date: Mar 2017
Location: India
Posts: 1
Rep Power: 0
sachinjain is on a distinguished road
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.
sachinjain is offline   Reply With Quote

Old   March 1, 2020, 17:28
Default
  #2
New Member
 
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7
satyam4841 is on a distinguished road
Can anyone answer this question, I trying to figure out same thing here.
satyam4841 is offline   Reply With Quote

Old   March 1, 2020, 20:46
Default
  #3
aow
Member
 
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11
aow is on a distinguished road
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.
aow is offline   Reply With Quote

Old   March 4, 2020, 14:21
Default
  #4
New Member
 
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7
satyam4841 is on a distinguished road
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.
aow likes this.
satyam4841 is offline   Reply With Quote

Old   March 4, 2020, 15:15
Default
  #5
aow
Member
 
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11
aow is on a distinguished road
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?
aow is offline   Reply With Quote

Old   March 4, 2020, 15:18
Default
  #6
New Member
 
Satyam Kushwaha
Join Date: Dec 2018
Posts: 3
Rep Power: 7
satyam4841 is on a distinguished road
Yes, i was trying to make a solver for simulating isotropic melt solidification process based on phasefield model proposed by R.Kobayashi 1993.
satyam4841 is offline   Reply With Quote

Old   March 4, 2020, 17:08
Default
  #7
aow
Member
 
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11
aow is on a distinguished road
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!
aow is offline   Reply With Quote

Reply


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
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


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