|
[Sponsors] |
how to interpolate fields between 2 overlapping regions |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Join Date: Mar 2019
Posts: 86
Rep Power: 7 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Mar 2019
Posts: 86
Rep Power: 7 ![]() |
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 |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interpolating fields between time steps | ckpark | OpenFOAM Pre-Processing | 0 | May 10, 2022 09:12 |
[ANSYS Meshing] Overlapping contact region with cyclic dependencies | mkkim400 | ANSYS Meshing & Geometry | 1 | December 19, 2018 08:02 |
multiRegionFoam with only solid regions | stockzahn | OpenFOAM Pre-Processing | 2 | October 18, 2018 10:32 |
[CAD formats] Clean / Repair STL file with multiple regions on command line | matthiasd | OpenFOAM Meshing & Mesh Conversion | 6 | May 24, 2016 06:51 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 09:15 |