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

implementation of schemes in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2015, 23:52
Thumbs up
  #21
New Member
 
Andrew Smith
Join Date: Jan 2015
Location: North Dakota
Posts: 24
Rep Power: 11
Andrew_Sm is on a distinguished road
@Paolo
Its up to you to accept the facts or ignore

All I can say..
Good Luck
Andrew_Sm is offline   Reply With Quote

Old   February 23, 2015, 08:09
Default
  #22
Member
 
Paolo Capobianchi
Join Date: Sep 2014
Posts: 35
Rep Power: 12
pablitobass is on a distinguished road
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
pablitobass is offline   Reply With Quote

Old   February 24, 2015, 07:03
Default
  #23
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16
Anne Lincke is on a distinguished road
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
kiddmax and pablitobass like this.
Anne Lincke is offline   Reply With Quote

Old   March 5, 2015, 20:27
Default
  #24
Member
 
Paolo Capobianchi
Join Date: Sep 2014
Posts: 35
Rep Power: 12
pablitobass is on a distinguished road
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
pablitobass is offline   Reply With Quote

Old   February 21, 2018, 12:09
Default laplacian scheme
  #25
Member
 
Join Date: Oct 2017
Posts: 52
Rep Power: 9
gouravjee is on a distinguished road
can anyone suggest which one scheme is to be choosed in case of enthalpy updating method for phase change material.
gouravjee is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 01:04.