|
[Sponsors] |
December 31, 2019, 07:25 |
GeometricField -> mesh() Function
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi all,
I am just wondering, if I am getting things correct (but my analysis will show that I am not correct). Assuming that we do have an object based on a volScalarField which is actually a GeometricField. For this field, we can apply the function named mesh(). This function is not implemented in the GeometricField class but as this class includes the DimensionedField class, we can see that it is implemented there. As I cannot find any other function named »mesh()«, I expect that this is correct. The mesh function returns a reference to an object based on the class Mesh: Code:
const Mesh& mesh() const; Code:
GeoMesh::Mesh Mesh; Code:
volScalarField T = ...; const Mesh& foobar = T.mesh(); Code:
.... = T.mesh().ddtScheme("foobar"); Code:
T.mesh() Code:
const fvMesh& test = T.mesh(); The only thing that I could image is the following:
Code:
typedef MESH Mesh
I hope that the last statement was clear Any hint is welcomed. Thanks in advance.
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" | GuiMagyar | OpenFOAM Meshing & Mesh Conversion | 3 | August 4, 2023 12:38 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 01:27 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 06:27 |