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

fvc::interpolate

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2015, 08:34
Default fvc::interpolate
  #1
New Member
 
Malachy O'Rourke
Join Date: Apr 2009
Posts: 6
Rep Power: 9
morourke is on a distinguished road
Hi, I am trying to revive some OF code written a few years ago for 1.6 and include in 3.1. As I understand the following code its intention is to rebuild the change in stress at the current timestep. However when I try to compile this I get errors relating to fvc::interpolate. Any suggestions in how to fix this would be appreciated.

Dsigma = fvc::reconstruct
(
fvc::interpolate
(
2.0*mu + lambda,
"interpolate(Dsigma)"
) * fvc::snGrad(DD) * mesh.magSf()
+
(
mesh.Sf() &
fvc::interpolate
(
mu*gradDD.T() - (mu + lambda)*gradDD + I* ( lambda*tr(gradDD) ),
"interpolate(Dsigma)"
)
)
);
morourke is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using fvc::interpolate without fvSchemes / manually prescribe interpolation schemes linch OpenFOAM Programming & Development 4 April 4, 2014 07:51
fvc::interpolate -> harmonic interpolation? gwierink OpenFOAM Running, Solving & CFD 8 October 1, 2012 13:31
fvc::interpolate --> Variable Access On Particular Face deji OpenFOAM 3 January 18, 2012 14:01


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