|
[Sponsors] |
May 3, 2011, 22:21 |
how to get the upwind node in OpenFOAM ?
|
#1 |
New Member
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Hi,
i want to know in openfoam program code that how to get the upwind node(s) in upwind scheme? what mathematic method do they use when getting the upwind node(s)? could you show me the related class or member functions? i try to find it out,but the code is a little difficult to me. i will keep trying at all times. thanks! |
|
May 4, 2011, 07:09 |
|
#2 |
Senior Member
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16 |
You can find this in:
/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H Line 131 If you don't know what is faceFlux I would recommend Hrv Jasak's thesis (use google to find a PDF) and if you don't know what the function pos() does I would recommend the programmer's guide for OpenFOAM (also use Google). |
|
May 4, 2011, 23:27 |
|
#3 |
New Member
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
thanks,
i think i know how it handled in openfoam. acturally, i am supposed to ask the method for finding upwind node in cvfem(control volume fem). and now i know it is not the same at all between fvm and cvfem. cvfem is more closer to fem. maybe i should find some methods using in fem. thank you all the same! |
|
May 5, 2011, 04:40 |
|
#4 |
New Member
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
i am sorry. after read more paper,now i think cvfem use the same methods for finding upwind nodes as used in fvm.
so i need to read openfoam code carefully to find the strategy used for 3D upwind node finding. |
|
Tags |
upwind node mathematic |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
how to get a upwind node | lzw2003 | Main CFD Forum | 5 | May 10, 2011 03:17 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |