|
[Sponsors] |
obtain patch and cell data through fvPatchField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 9, 2020, 13:42 |
obtain patch and cell data through fvPatchField
|
#1 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 347
Rep Power: 10 |
Howdy Foamers:
My previous post of this question was more general. After a few days of searching through the code and this forum, I can narrow this down a little further. In a nutshell, I would like to use fvPatchField (i.e., boundary condition) to access the volume scalar (other than the scalar for the prescribed boundary) of all cells belonging to this patch. It is relatively straightforward to do this the other way around (from the cells I can get the boundary it belongs to), but I have trouble starting from the particular boundary. If anyone know how this could possibly be accomplished that would be great. Gerry. Last edited by Gerry Kan; July 14, 2020 at 11:27. |
|
July 14, 2020, 11:28 |
|
#2 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 347
Rep Power: 10 |
I am bumping this ...
|
|
July 15, 2020, 08:47 |
|
#3 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 347
Rep Power: 10 |
Howdy Foamers:
After a few days of digging around I have managed to access the cells and the corresponding scalar field near a boundary. At the moment I managed to make a registry call to obtain the entire grid and the relevant solution field. It is not very elegant (in my opinion) but it works. The next logical question would be, is there a way to access patch cells local to each compute core? Thanks in advance, Gerry. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
steadyUniversalMRFFoam Tutorial fails in MixingPlane | HenrikJohansson | OpenFOAM Bugs | 0 | February 14, 2019 04:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |