|
[Sponsors] |
February 22, 2015, 23:52 |
|
#21 |
New Member
Andrew Smith
Join Date: Jan 2015
Location: North Dakota
Posts: 24
Rep Power: 11 |
@Paolo
Its up to you to accept the facts or ignore All I can say.. Good Luck |
|
February 23, 2015, 08:09 |
|
#22 |
Member
Paolo Capobianchi
Join Date: Sep 2014
Posts: 35
Rep Power: 12 |
Hi Andrew,
I just thought that in principle it is possible to modify everything in OpenFOAM. I do not know, maybe I am wrong. Anyway, many thanks for the advice! Cheers, Paolo |
|
February 24, 2015, 07:03 |
|
#23 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
Dear Paolo,
it has been a while since I dealt with this problem. Here, what I found out a while ago for the LUDS scheme The weights for the surface interpolation are computed in the method linearUpwind.C and used in the method surfaceInterpolationSchemes.C in src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme In linearUpwind.C the method upwind.H is called from src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind In upwind.H the weights are computed according to the UDS scheme, setting = 1 if the flux is greater than zero and = 0 else. The explicit correction via the gradient is added in the method linearUpwind.C in src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind I hope this helps? Kind Regards Anne |
|
March 5, 2015, 20:27 |
|
#24 |
Member
Paolo Capobianchi
Join Date: Sep 2014
Posts: 35
Rep Power: 12 |
Hi Anne,
Thank you very much for your answer, for your time, and sorry for the belated reply. Your reply helped me a lot. However, I am still trying to understand how to get the scheme I want, but seems that it will be as much harder as expected. At least, by considering what you said, now it seems that it would be possible... I just need time to understand the structure of the software. Thanks once again! Kind Regards, Paolo |
|
February 21, 2018, 12:09 |
laplacian scheme
|
#25 |
Member
Join Date: Oct 2017
Posts: 52
Rep Power: 9 |
can anyone suggest which one scheme is to be choosed in case of enthalpy updating method for phase change material.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High Schemes implementation in a UDF | Dinocrack | Fluent UDF and Scheme Programming | 0 | December 31, 2010 13:54 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |