CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Interpolate internal field onto patch / boundary

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2013, 14:12
Default Interpolate internal field onto patch / boundary
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.


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

const volScalarField& internalField = db().lookupObject<volScalarField>

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 is offline   Reply With Quote


boundary, internalfield, interpolate, interpolation, patch

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

All times are GMT -4. The time now is 18:55.