|
[Sponsors] |
February 8, 2022, 12:59 |
Get cell volumes from lduSolver
|
#1 |
Member
Join Date: Feb 2020
Posts: 90
Rep Power: 6 |
Hello to all,
I would like to know if there is a way to retrieve the a reference to the scalarField storing the cell volume of the mesh from an ldusolver. We could call the reference to the objectRegistry with: Code:
const objectRegistry& a = matrix().mesh().thisDb(); But I am getting the error: Code:
error: invalid use of incomplete type ‘const class Foam::objectRegistry’ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 04:17 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 04:27 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
volScalarField for cell volumes and face surfaces | AlmostSurelyRob | OpenFOAM | 2 | December 13, 2010 05:24 |
SVN 1226 - Possible bug with cell centres and volumes | philippose | OpenFOAM Bugs | 2 | June 5, 2009 13:19 |