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

HELP NEEDED HOW TO MAP VALUES FROM PATCH OF ONE MESH TO PATCH OF ANOTHER MESH

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By henrik

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2008, 08:33
Default Dear OpenFOAM users, does any
  #1
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Dear OpenFOAM users, does any one knows how to map field value (or gradient values) from faces of patch1 mesh1 to patch2 mesh2 in solver code (i need it for explicit coupling)?

any answers are appreciated
mkraposhin is offline   Reply With Quote

Old   September 3, 2011, 20:49
Default
  #2
Member
 
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 49
Rep Power: 16
mrshb4 is on a distinguished road
Hi!!!

Did you find the answer?!!!!

Best Regards
Mohammadreza Shetab
mrshb4 is offline   Reply With Quote

Old   September 4, 2011, 04:54
Default
  #3
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear Matvej,

use

$FOAM_SRC/OpenFOAM/lnInclude/patchToPatchInterpolation.H

eg.

ipp (patch1, patch2);
Info << ip1p2.faceInterpolate(field.boundaryField()[pID1]) << endl;

Regards,

Henrik
rajibroy likes this.
henrik is offline   Reply With Quote

Old   September 4, 2011, 10:42
Default
  #4
Member
 
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 49
Rep Power: 16
mrshb4 is on a distinguished road
Thanks Heinrik,

I'll test it.

Regards,
Mohammadreza Shetab
mrshb4 is offline   Reply With Quote

Reply


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
Patch end points mesh motion and movingWallVelocity pbo OpenFOAM Running, Solving & CFD 14 October 4, 2023 12:20
Moving interface patch using mesh subsets lr103476 OpenFOAM Running, Solving & CFD 0 January 10, 2008 17:14
Patch mesh export ariorus OpenFOAM 3 March 7, 2006 06:41
Patch-Different values to different zones Pradeep FLUENT 0 April 26, 2005 09:50
My patch causes a discontinuity in the mesh Aline Siemens 5 July 7, 2004 08:45


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