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

rhoCentralFoam interpolation function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2024, 03:18
Question rhoCentralFoam interpolation function
  #1
New Member
 
Khoder Alshaar
Join Date: May 2021
Posts: 7
Rep Power: 4
khoder Alshaar is on a distinguished road
Dear friends,

I am learning OpenFOAM Programming. I am planning to edit rhocentralFoam. However, when I started reading the source code, The first thing that stopped me was the following:
Code:
        surfaceScalarField rho_pos(interpolate(rho, pos));
        surfaceScalarField rho_neg(interpolate(rho, neg));
I understand the purpose of the two lines is to interpolate (reconstruct) the fields from cell centers to the left and right sides of each face.

My question is where/how to find the implementation of the
Code:
interpolate(rho, pos)
function. Especially the one that takes two arguments, rho, pos.

Thank you.
khoder Alshaar 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
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 05:51.