|
[Sponsors] | |||||
HELP NEEDED HOW TO MAP VALUES FROM PATCH OF ONE MESH TO PATCH OF ANOTHER MESH |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
#1 |
|
Senior Member
Matvej Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 118
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 46
Rep Power: 3 ![]() |
Hi!!!
Did you find the answer?!!!! Best Regards Mohammadreza Shetab |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 257
Rep Power: 6 ![]() |
Dear Matvej,
use $FOAM_SRC/OpenFOAM/lnInclude/patchToPatchInterpolation.H eg. ipp (patch1, patch2); Info << ip1p2.faceInterpolate(field.boundaryField()[pID1]) << endl; Regards, Henrik |
|
|
|
|
|
|
|
|
#4 |
|
Member
Mohammad.R.Shetab
Join Date: Jul 2010
Posts: 46
Rep Power: 3 ![]() |
Thanks Heinrik,
I'll test it. Regards, Mohammadreza Shetab |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Patch end points mesh motion and movingWallVelocity | pbo | OpenFOAM Running, Solving & CFD | 6 | January 25, 2012 09:57 |
| Moving interface patch using mesh subsets | lr103476 | OpenFOAM Running, Solving & CFD | 0 | January 10, 2008 16:14 |
| Patch mesh export | ariorus | OpenFOAM | 3 | March 7, 2006 05: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 |