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

CrankNicholson

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By chriss85

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2014, 12:18
Default CrankNicholson
  #1
New Member
 
Jim KIT
Join Date: Aug 2012
Location: Germany
Posts: 25
Rep Power: 14
sharifi is on a distinguished road
hello,

can anybody help me to finde out, what is the formel of "CrankNicholson schemes" that OpenFoam uses?

src/finiteVolume/finiteVolume/ddtSchemes/CrankNicholsonDdtScheme

best,
Jim
sharifi is offline   Reply With Quote

Old   October 23, 2014, 10:32
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
I haven't looked into the code, but did you check the scheme in general? Do you believe it uses a different formula?
http://en.wikipedia.org/wiki/Crank%E...icolson_method
RodriguezFatz likes this.
chriss85 is offline   Reply With Quote

Old   October 23, 2014, 10:58
Default
  #3
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
The only difference is that OpenFOAM has a blending to Euler scheme in the code. But if you set "CrankNicolson 1" in fvSchemes, you get the regular Crank-Nicolson scheme.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz 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
about the additional output files when using CrankNicholson or backward in Openfoam openfoammaofnepo OpenFOAM Running, Solving & CFD 0 August 30, 2014 11:08
ddt scheme: CrankNic(h)olson Djub OpenFOAM Running, Solving & CFD 0 November 20, 2013 07:22
CrankNicholson returns wrong dimensions and sound speed when mesh is moving lillberg OpenFOAM Bugs 6 May 4, 2009 18:53
ADI using cranknicholson scheme HaKu Main CFD Forum 3 April 9, 2009 18:12
Probelm with CrankNicholson scheme in channelOodles maka OpenFOAM Pre-Processing 2 November 2, 2005 11:09


All times are GMT -4. The time now is 13:24.