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

patchMap

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2015, 21:53
Default patchMap
  #1
Member
 
Join Date: Jul 2012
Posts: 67
Rep Power: 13
Carlen is on a distinguished road
Hi foamers,

I am wondering if I can use mapFields utility to map the vectorFields from one patch to another without mapping the internalFields? Mapping the internalField takes too long. I have searched throughout the forum that patchToPatchInterpolation should work, but it does not seem to work in parallel. Any suggestions?

Thank you very much!
Carlen is offline   Reply With Quote

Old   September 22, 2015, 08:31
Default
  #2
Member
 
Ferdinand Pfender
Join Date: May 2013
Location: Berlin, Germany
Posts: 40
Rep Power: 12
FerdiFuchs is on a distinguished road
yes you can map patches to each other.

requirement is, that they have the same location as described here:
http://cfd.direct/openfoam/user-guide/mapfields/

you can define patchmap in mapFieldsDict.

I had some problems with the mapFields-utility in Version 2.3.x and 2.4.x -- since there is parallel support implemented, patchmapping did not work for me -- serial and parallel.
So i switched to 2.2.x for the mapping process.
Bugreport:
http://cfd.direct/openfoam/user-guide/mapfields/

Greets,
Ferdi
FerdiFuchs is offline   Reply With Quote

Old   September 22, 2015, 21:16
Default
  #3
Member
 
Join Date: Jul 2012
Posts: 67
Rep Power: 13
Carlen is on a distinguished road
Thank you very much for your help Pfender.

I have no problem using mapFields and have successfully integrated it into my code mapping data every timestep from one mesh to another. The problem is that it takes too long and I intend to do an implicit coupling using patchMap which is faster than mapping volume fields. I have looked into the partchToPatchInterpolation, but it does not work in parallel. Any suggestions?

I appreciate your time.

carlen
Carlen is offline   Reply With Quote

Old   September 23, 2015, 05:28
Default
  #4
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
This is also of interest to me, I want to map data from coarse patches to finer patches in my solver. It may be possible to use it in parallel if the case is decomposed in such a way that each patch is on one processor only.
chriss85 is offline   Reply With Quote

Old   September 23, 2015, 20:22
Default
  #5
Member
 
Join Date: Jul 2012
Posts: 67
Rep Power: 13
Carlen is on a distinguished road
Hi chriss,
Unfortunately OF does not have such capability as far as I know
Carlen is offline   Reply With Quote

Old   September 24, 2015, 03:56
Default
  #6
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
See here for a possible method.
chriss85 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
MeshToMesh parallel ganeshv OpenFOAM Programming & Development 17 December 21, 2023 13:58
runTime mapFields from fineMesh to coarseMesh Carlen OpenFOAM Programming & Development 15 November 14, 2022 21:39
How to Map Fields in openFOAM using the utility Alhasan OpenFOAM Running, Solving & CFD 42 January 15, 2018 08:52


All times are GMT -4. The time now is 16:09.