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

high-order difference in OpenFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 9, 2013, 07:53
Default high-order difference in OpenFOAM
  #1
New Member
 
ren XG
Join Date: Sep 2012
Posts: 10
Rep Power: 4
rxgrch is on a distinguished road
Hello,

I want to implement a high-order difference sheme which is 4 or 5 order, but it seemed that the difference order is just up to 3 order, the difference template in OpenFOAM now is just two cells, but the high order(4or5) will need more than 3 neighbor cells, so who can tell me how to implement the high order difference with the smallest modify with the current C++ code?
rxgrch is offline   Reply With Quote

Old   January 10, 2013, 11:08
Default
  #2
Senior Member
 
mkraposhin's Avatar
 
Matvej Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 172
Rep Power: 8
mkraposhin is on a distinguished road
Hello, i tried to implement high-order schemes in OpenFOAM (WENO + k-exact) one year ago, but i found, that i don't know how to select proper stencil for scheme. If You will help with mathematics, then i can help you with implementation
mkraposhin is offline   Reply With Quote

Old   January 24, 2013, 02:45
Default
  #3
New Member
 
ren XG
Join Date: Sep 2012
Posts: 10
Rep Power: 4
rxgrch is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
Hello, i tried to implement high-order schemes in OpenFOAM (WENO + k-exact) one year ago, but i found, that i don't know how to select proper stencil for scheme. If You will help with mathematics, then i can help you with implementation
Thank you for your reply, and I don't quite get what do you mean " i don't know how to select proper stencil for scheme"? the scheme that we want to implement is WCNS scheme. So can you give me some advice or with a example code of high-order sheme? Thanks very much!
rxgrch is offline   Reply With Quote

Old   March 26, 2013, 22:07
Default
  #4
New Member
 
ren XG
Join Date: Sep 2012
Posts: 10
Rep Power: 4
rxgrch is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
Hello, i tried to implement high-order schemes in OpenFOAM (WENO + k-exact) one year ago, but i found, that i don't know how to select proper stencil for scheme. If You will help with mathematics, then i can help you with implementation
what you said had been solved in a paper "High Order Schemes on Three-Dimensional General Polyhedral Meshes—Application to the Level Set Method", it maybe help you.
rxgrch is offline   Reply With Quote

Reply

Tags
difference sheme

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing third order derivatives in OpenFOAM asmale OpenFOAM Programming & Development 2 November 7, 2013 17:21
what is the difference between flat, first and fifth order wave in STAR CCm+ ?? sanjay CD-adapco 1 January 19, 2012 18:48
High order methods in commercial use? cfdnewbie Main CFD Forum 5 January 12, 2012 06:51
how to understand high resolution scheme and high order scheme iilw1314 Main CFD Forum 3 September 30, 2010 10:43
High order FVM scheme .... cfd_newbie Main CFD Forum 2 February 6, 2008 07:46


All times are GMT -4. The time now is 02:33.