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

Boundary type for patchToPatchInterpolation

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 12, 2013, 11:32
Default Boundary type for patchToPatchInterpolation
  #1
New Member
 
Florian
Join Date: Mar 2012
Location: Munich
Posts: 13
Rep Power: 14
Flor is on a distinguished road
Dear Foamers,

I am using of-1.6-ext and I have a question concerning the boundary type for patchToPatchInterpolation:

Which boundary type should I use such that it does not overwrite my interpolated values?

My interpolator looks like this (with patch2dID and patch3dID properly initiated before):

Code:
    patchToPatchInterpolation interpolator2d3d
    (
        mesh.boundaryMesh()[patch2dID],
        mesh3d.boundaryMesh()[patch3dID],     // to patch
    intersection::FULL_RAY,
    intersection::VECTOR
    );
And my interpolation is done in the follwoing manner:

Code:
    U.boundaryField()[patch3dID] = interpolator2d3d.faceInterpolate <vector>
      (
       U2d.boundaryField()[patch2dID]
       );

    Info << "U2dPatch = " << U2d.boundaryField()[patch2dID] << endl;
    Info << "U3dPatch = " << U.boundaryField()[patch3dID] << endl;
But now I have no clue which type of boundary condition to use. When I use fixedValue, the U.boundaryField()[patch3dID] is overwritten directly, the Info gives the fixed value as output. When I use for instance pressureInletOutletVelocity, the Info outputs the correct value, but it is not used further on. And with calculated I get an error saying that I am probably trying to solve for a default boundary condition.

Any suggestions anyone? Would be highly appreciated!

Thanks in advance
Florian
Flor is offline   Reply With Quote

 


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
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 07:32
Boundary condition setting for non-premixed combustion using reactingFoam skyopener OpenFOAM 0 May 23, 2010 22:55
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
pipe with buoyantFoam buoyancy, boundary conditions Thomas Baumann OpenFOAM 0 June 15, 2009 08:58
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 15:47.