|
[Sponsors] |
Transporting data from patch faces to nearby cells on multiple threads |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 11, 2015, 10:05 |
Transporting data from patch faces to nearby cells on multiple threads
|
#1 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 18 |
I have a rather complex problem in which I have a source term for boundary patch faces that I want to distribute on nearby cells based on the distance between a cell and the patch face. I could do this rather easily on a single thread by iterating through cell neighbours until the distance between cells and patch face gets too large. However, on a decomposed mesh I'm going to hit processor boundaries. Is there any way to access the complete mesh on each core?
I'm also wondering if it is possible to use the meshWave class for this somehow, but I don't completely understand it yet. Can anyone give me some hints on that? In short: I need to know the distance of cells to patch faces for cells close to the patches for decomposed meshes send data from the patch faces to these cells across processors. Some context: This is for an ablation model which gives a mass source term at the wall. However, with thin layers at the wall the patch-normal velocity gets too high for reasonable simulation runtimes and so I want to distribute the mass source on near cells to get a lower pressure gradient and velocity. |
|
May 26, 2015, 07:55 |
|
#2 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 18 |
No ideas? Is anything unclear?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 07:34 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 14:49 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 08:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |