CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

modification of upwind scheme

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 25, 2011, 03:45
Default modification of upwind scheme
  #1
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 5
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, 03:48
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Look in any tutorial case in system/fvSchemes
Bernhard is offline   Reply With Quote

Old   March 25, 2011, 04:01
Default new scheme
  #3
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 5
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, 04:33
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
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, 04:44
Default
  #5
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 5
venkataramana is on a distinguished road
thank you very much dear Bernhard, i will try that.
venkataramana is offline   Reply With Quote

Reply

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
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 02:23
Drag comparison upwind vs. scheme Luk_Fiz CFX 3 April 27, 2009 22:42
Upwind flux scheme Biga FLUENT 0 January 12, 2006 13:41
fifth upwind biased scheme K S Chang Main CFD Forum 0 December 5, 2003 04:46
Help!explicit multistage scheme with upwind scheme D .T. Main CFD Forum 1 June 4, 2003 04:42


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