|
[Sponsors] |
March 25, 2011, 02:45 |
modification of upwind scheme
|
#1 |
Member
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15 |
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 |
|
March 25, 2011, 02:48 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Look in any tutorial case in system/fvSchemes
|
|
March 25, 2011, 03:01 |
new scheme
|
#3 |
Member
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15 |
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. |
|
March 25, 2011, 03:33 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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 |
|
March 25, 2011, 03:44 |
|
#5 |
Member
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15 |
thank you very much dear Bernhard, i will try that.
|
|
|
|
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 |