|
[Sponsors] |
how to interpolate fields between 2 overlapping regions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2022, 13:09 |
how to interpolate fields between 2 overlapping regions
|
#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. |
|
May 30, 2022, 08:20 |
|
#2 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 5 |
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 |
|
June 1, 2022, 17:43 |
|
#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 |
|
|
|
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 |