|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Hyun Seok, Roh
Join Date: Sep 2010
Posts: 2
Rep Power: 0 ![]() |
Dear all,
I'm a new commer of OpenFoam. I want to do 1-way FSI. For mapping the presure field on the surface of the solid, I may need to run patchtopatchinterpolation utility. How can I run it? THX in advance. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,102
Rep Power: 35 ![]() ![]() |
Hi,
I am not sure if there is a patchToPatchInterpolation stand-alone utility (please correct me if I am wrong) but the code is all there for you to use. You have to include patchToPatchInterpolation.H in your solver, and you declare the patchToPatchInterpolation like this: Code:
patchToPatchInterpolation fromPatch_To_toPatch_Interpolate ( mesh.boundaryMesh()[fromPatchIndex], // from patch mesh.boundaryMesh()[toPatchIndex], // to patch intersection::FULL_RAY, intersection::CONTACT_SPHERE ); And then to use the your patchToPatchInterpolation, you would do something like this: Code:
vectorField interpolatedQuantity = fromPatch_To_toPatch_Interpolate.faceInterpolate<vector> ( quantity.boundaryField()[fromPatchIndex] ); Hope it helps, Philip |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Hyun Seok, Roh
Join Date: Sep 2010
Posts: 2
Rep Power: 0 ![]() |
I'll try that.
Thanks ! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Arahata
Join Date: Mar 2016
Posts: 4
Rep Power: 11 ![]() |
Hello everyone
I am working with bubbleintertrackFoam solver to simulte a bubble in a still liquid column. I am getting an error as --> FOAM FATAL ERROR: Error in B-to-A face patchToPatchInterpolation. From function freeSurface::makeInterpolators() in file makeFreeSurfaceData.C at line 105. Can anyone help me to understand meaning of above said line or suggest me what to do. |
|
![]() |
![]() |
![]() |
Tags |
fsi, openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|