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

how to interpolate fields between 2 overlapping regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2022, 13:09
Default how to interpolate fields between 2 overlapping regions
  #1
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
Hi


I solve equations involving physics with vastly different spatial resolution in the 2 regions. Hence the use of different unstructured meshes in these regions. For simplicity let us assume at first that they are not dynamic and that parallel computation is not required.



Define field F1 with an IOobject for mesh 1

Define field F2 with an IOobject for mesh 2


F1 and F2 represent the same physical variable


I could not find a tutorial on how to do the interpolation between F1 and F2.
Would it involve class meshToMesh by any chance ?


Thank you



PS - I dont know if the answer to my question depends on the OpenFOAM variant. I happen to use foam-extend.
celestial is offline   Reply With Quote

Old   May 30, 2022, 08:20
Default
  #2
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 5
Pappelau is on a distinguished road
Hey celestial,
if i understood you correctly:

(never did this on my own ,) but there is a function constantHeatTransfer that couple two different meshes to allow a heattransfer between them may you can take the sourcecode of it and adapt it for your needs.


greetings
Pappelau is offline   Reply With Quote

Old   June 1, 2022, 17:43
Default
  #3
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
Hello

I dont see the reference to 2 different meshes from the rather short source code of constantHeatTransfer

nor do I see any solver using it

but I will investigate

Thanks for trying to help me

Best
celestial 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
Interpolating fields between time steps ckpark OpenFOAM Pre-Processing 0 May 10, 2022 10:12
[ANSYS Meshing] Overlapping contact region with cyclic dependencies mkkim400 ANSYS Meshing & Geometry 1 December 19, 2018 09:02
multiRegionFoam with only solid regions stockzahn OpenFOAM Pre-Processing 2 October 18, 2018 11:32
[CAD formats] Clean / Repair STL file with multiple regions on command line matthiasd OpenFOAM Meshing & Mesh Conversion 6 May 24, 2016 07:51
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15


All times are GMT -4. The time now is 23:19.