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

Interpolate internal field onto patch / boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2013, 15:12
Default Interpolate internal field onto patch / boundary
  #1
New Member
 
Join Date: Oct 2013
Posts: 1
Rep Power: 0
Jonas is on a distinguished road
Hi guys,

i am new to OpenFOAM and now i am having trouble implementing a final step for a new boundary condition. I hope that someone can help me.

MY PROBLEM:

I would like to interpolate scalar-values ("interpolatedPatchValues") of a certain patch ("patchName") from an internal-scalar-Field ("internalField").

Code:
const volScalarField& internalField = db().lookupObject<volScalarField>
("name_of_internal_scalar_field");

const fvPatchField<scalar> interpolatedPatchValues = 
Unknown_INTERPOLATE_function( internalField, "patchName", ???);
I hope that somebody can help me or give me a hint.

Thanks a lot in advance,
Jonas
Jonas is offline   Reply With Quote

Reply

Tags
boundary, internalfield, interpolate, interpolation, patch


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
Radiation interface hinca CFX 15 January 26, 2014 18:11
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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