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

Interpolation for lagrangian particle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2017, 11:12
Default Interpolation for lagrangian particle
  #1
Member
 
Victor Koppejan
Join Date: May 2015
Posts: 40
Rep Power: 10
vkoppejan is on a distinguished road
Hi All,

There's a number of topics on interpolation but I can't seem to find what I want.

I want to interpolate a scalarField or vectorField to a single particle position.

So given p.position() and <some>Field

Return <some>Field (example fvc::grad(p) ) interpolated at p.position().

Thanks in advance for your help.

Cheers,

Victor
vkoppejan is offline   Reply With Quote

Old   March 7, 2017, 09:52
Default
  #2
Member
 
Andreas Weber
Join Date: Jun 2014
Posts: 37
Rep Power: 11
a.weber is on a distinguished road
Have a look in

src/lagrangian/intermediate/submodels/Kinematic/ParticleForces/PressureGradient/

There a Interpolator is used, just like you want it.
a.weber 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
UDF for particle interception with pt_termination fortran routine abcdefgh CFX 6 October 6, 2019 13:30
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 16:30
particles leave domain Steffen595 CFX 9 March 7, 2016 16:19
injection problem Mark New FLUENT 0 August 4, 2013 01:30
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 12:45.