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

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

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

Like Tree1Likes
  • 1 Post By henrik

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2008, 08:33
Default Dear OpenFOAM users, does any
  #1
Senior Member
 
mkraposhin's Avatar
 
Matvej Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 172
Rep Power: 8
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, 19:49
Default
  #2
Member
 
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 49
Rep Power: 7
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, 03:54
Default
  #3
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 9
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, 09:42
Default
  #4
Member
 
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 49
Rep Power: 7
mrshb4 is on a distinguished road
Thanks Heinrik,

I'll test it.

Regards,
Mohammadreza Shetab
mrshb4 is offline   Reply With Quote

Reply

Thread Tools
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 On
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 13 March 6, 2013 17:59
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 08:50
My patch causes a discontinuity in the mesh Aline CD-adapco 5 July 7, 2004 07:45


All times are GMT -4. The time now is 20:48.