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

how to get the upwind node in OpenFOAM ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2011, 22:21
Question how to get the upwind node in OpenFOAM ?
  #1
New Member
 
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17
lzw2003 is on a distinguished road
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!
lzw2003 is offline   Reply With Quote

Old   May 4, 2011, 07:09
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15
stevenvanharen is on a distinguished road
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).
stevenvanharen is offline   Reply With Quote

Old   May 4, 2011, 23:27
Default
  #3
New Member
 
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17
lzw2003 is on a distinguished road
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!
lzw2003 is offline   Reply With Quote

Old   May 5, 2011, 04:40
Default
  #4
New Member
 
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 17
lzw2003 is on a distinguished road
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.
lzw2003 is offline   Reply With Quote

Reply

Tags
upwind node mathematic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:47.