|
[Sponsors] |
July 28, 2023, 01:32 |
Confusion about polyMesh constructor
|
#1 |
New Member
Join Date: Apr 2023
Posts: 11
Rep Power: 3 |
Dear all,
This may be another stupid question, but I am so confued. So sorry to bother you. When we construct mesh object for manipulation such as Code:
Info<< mesh.cellVolumes() << endl; Code:
Foam::polyMesh mesh { IOobject ( defaultRegion, runTime.timeName(), runTime, IOobject::MUST_READ ) }; I am confused that the mesh is supposed to relate to [constant/polyMesh/] directly rather than [time] directory, right? If not, how does the [mesh] object get information (such as points, faces) from [constant/polyMesh] directory? Thank you very much if any kind foamer could help me. Best regards, Ary |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a Constructor to ThermoCloud | schradc | OpenFOAM Programming & Development | 0 | February 4, 2023 21:15 |
eigenValues of volTensorField | xuegy | OpenFOAM Programming & Development | 8 | February 26, 2021 16:46 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 14:07 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |