CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   HRIC scheme implementation (http://www.cfd-online.com/Forums/openfoam/63928-hric-scheme-implementation.html)

4xF April 23, 2009 12:09

HRIC scheme implementation
 
Hi all!

I am still amazed by the way OpenFOAM is neatly organized and implemented, especially in terms of surface interpolation for the divergence schemes and by the choice for the differencing schemes.

For test purposes, I would like to implement a HRIC scheme which would neatly be fit in as a limitedScheme. However, I am quite a bit perplex on the best way to do it... I'd only need to pass two additional variables nHatf and Cof (the face CFL) to the input variables of the limiter function.

Any advice or ideas on how to do it would be most welcome.

Frank.

4xF April 28, 2009 03:29

Done!
 
Hi all!

Done! For your info, I used LimitedScheme.C/H to define a new class based on limitedSurfaceInterpolation which uses the Courant number at the face as an additional argument.

From there, implementing the HRIC scheme is then quite simple.

In the famous words of Srinath": "That wokrs for me!" :)

For info, you can find documentation on HRIC/CICSAM in a nice little paper:
http://www.ptmts.org.pl/Waclaw-Koron-2-08.pdf

Frank.

matteoL June 22, 2011 11:06

Hello,
I would be interested in implementing the Hric and modifid hric scheme as well.
Could ou please give some more details on how you managed to do it?Have you published it somewhere?

Have you compared your scheme with the other available? does it give the results expected?
Thank you veyr much,
best regards,
Matteo

egp June 23, 2011 05:52

Matteo,

As discussed last week at the Ship Hydro SIG meeting at OFW6, I will be checking in the NavalHydro package to the OpenFOAM-extend svn repo. In it, there is a CICSAM implementation. We should modify that to include an HRIC algorithm, too.

Eric

matteoL June 23, 2011 06:25

Hello Eric,
I agree with you that it would be nice to compare the CICSAM scheme with the HRIC scheme. That's exactly why I was trying to get some informations about the HRIC implementation.
Looking forward to test the navalhydro package (and the new LTSinterfoam solver),
Thanks,
Matteo

nygbook November 3, 2011 21:36

Hello, everyone. I'm interested in the CICSAM scheme and HRIC scheme. I have researched the code of CICSAM scheme in OpenFVM. Who can send me a simple HRIC scheme code, C or Fortran. My email is nygbook@gmail.com. I appreciate your help.


All times are GMT -4. The time now is 16:19.