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

Point to cell interpolation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2020, 08:34
Default Point to cell interpolation
  #1
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 195
Rep Power: 6
Saideep is on a distinguished road
Hi,


I have an external data which specifies the values of a variable at each cell node. I would like to interpolate these data to obtain a volScalarField.


I can find "volPointInterpolation" which builds the point data from cell data in OF7 (src/finiteVolume/interpolation/volPointInterpolation). I need the exact opposite to this procedure to map my data. Can anyone help me here?


Thanks.
Saideep is offline   Reply With Quote

Old   March 17, 2020, 12:22
Default
  #2
New Member
 
Utkan Caliskan
Join Date: Aug 2014
Posts: 18
Rep Power: 7
dscian is on a distinguished road
There is pointVolInterpolation in OF-v1912 (.com) version. So you can copy that, add it to the Make files and then compile. You might need to modify it a bit but as far as I remember it should compile without any modification.
dscian is offline   Reply With Quote

Reply

Tags
interpolation, pointtocell

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
paraview - cell data or point data on plot over line bye bye my blue OpenFOAM 0 December 13, 2016 06:07
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 14:38
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 02:00.