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

How should i modify the surfaceInterpolationScheme code ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2023, 11:45
Default How should i modify the surfaceInterpolationScheme code ?
  #1
New Member
 
wuqiong
Join Date: Nov 2022
Posts: 4
Rep Power: 4
wxxq is on a distinguished road
n openfoam, the surface interpolation format is essentially a central difference method for determining face value,like this code
sfi[fi] = Sfi[fi] & (lambda[fi]*(vfi[P[fi]] - vfi[N[fi]]) + vfi[N[fi]] ;
Now I want to modify this formula like this :
φŻj = λjφP + (1 − λj)φP j + ∇φ · dj j, djj, how can i call gradscheme to caculate the φ in the code . Thanks.
wxxq is offline   Reply With Quote

Reply

Tags
source code modify

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
Patankar CFD FORTRAN 90 Code FVM siddiquesil Main CFD Forum 19 October 25, 2022 06:21
[OpenFOAM.org] How to Modify Source OF source code under OF for Windows 10 BlnPhoenix OpenFOAM Installation 0 September 22, 2018 18:13
Can anyone help locating an error in my 2-D MATLAB SIMPLE code? Hoggs17 Main CFD Forum 7 July 9, 2013 04:02
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 09:10


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