|
[Sponsors] |
How to access fields from neighbour cells with swak4Foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2020, 08:08 |
How to access fields from neighbour cells with swak4Foam
|
#1 |
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
Hello,
I need to integrate the field values of cells along columns in a certain direction. Does someone know whether this is possible to do with swak? More specifically, I need to sum a scalar field along a vertical column of cells up to a given height, so I need to access the field values of all cells below. The operation needs to be repeated for every cell layer below such height. Ideally, the calculation should look for the cells in the layers below since in the region of interest, the cell vertices are not aligned with the xyz directions (bottom surface is a terrain with varying elevation). With this information, I need to create another field that does not change in time, so I could create it with funkySetFields. However, it would be also very useful to know if there are any function objects that can get access to cell neighbours information (besides those next to patches) during run time. Thank you for the help! Hugo |
|
Tags |
cell neighbours, field access, function objects, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Bad looking cells with CastelledMesh | juvima | OpenFOAM Meshing & Mesh Conversion | 2 | January 7, 2020 10:40 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[ICEM] error analysis | despaired student | ANSYS Meshing & Geometry | 7 | June 27, 2012 12:57 |
killed "snappyHexMesh" | parkh32 | OpenFOAM Pre-Processing | 2 | April 8, 2012 18:12 |