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

modification of upwind scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2011, 01:45
Default modification of upwind scheme
  #1
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15
venkataramana is on a distinguished road
hi foamers,
i am new to openfoam, pls help me anybody how to modify schemes like euler scheme, upwind scheme in openfoam, i mean where these files are located in openfoam to edit.

regards venkat
venkataramana is offline   Reply With Quote

Old   March 25, 2011, 01:48
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Look in any tutorial case in system/fvSchemes
Bernhard is offline   Reply With Quote

Old   March 25, 2011, 02:01
Default new scheme
  #3
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15
venkataramana is on a distinguished road
hi Bernhard,
thank u, that i know schemes are available in system/fvSchemes, but how to write a code for a new scheme to replace existing euler or upwind schemes, or to modify the existing schemes.
venkataramana is offline   Reply With Quote

Old   March 25, 2011, 02:33
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Than you can take a look here:
/src/finiteVolume/interpolation/surfaceInterpolation
and here
/src/finiteVolume/finiteVolume/ddtSchemes

But are you sure you really need this? Because all of the common schemes are already there. It think the way to do it, is to build a library for your special scheme, that you can load via your controlDict. Good luck
Bernhard is offline   Reply With Quote

Old   March 25, 2011, 02:44
Default
  #5
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15
venkataramana is on a distinguished road
thank you very much dear Bernhard, i will try that.
venkataramana 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
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 01:23
Drag comparison upwind vs. scheme Luk_Fiz CFX 3 April 27, 2009 21:42
Upwind flux scheme Biga FLUENT 0 January 12, 2006 12:41
fifth upwind biased scheme K S Chang Main CFD Forum 0 December 5, 2003 03:46
Help!explicit multistage scheme with upwind scheme D .T. Main CFD Forum 1 June 4, 2003 03:42


All times are GMT -4. The time now is 04:12.