|
[Sponsors] |
October 13, 2021, 02:24 |
boundBox in OpenFoam
|
#1 |
New Member
Ibaraki
Join Date: Jul 2021
Posts: 9
Rep Power: 4 |
Hello, I'm having some problems to understand the source code of a program in openfoam. For instance what is the meaning of a command boundbox could somebody help me to understand this lines?
Thanks for your help! ----------------------------------------------------------------------------------------- Code: boundBox* meshBB = new boundBox(this->points(), false); vector span = meshBB->span(); delete meshBB; scalar waterDepth = meshBB->max()[2]; // What is this [2]? waterDepth = ibProperties().lookupOrDefault<scalar> ("waterDepth",waterDepth); waterDepth = objectDictList()[objectID].lookupOrDefault<scalar> ("waterDepth",waterDepth); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 13:36 |
OpenFOAM Foundation Releases OpenFOAM v2.3.0 | opencfd | OpenFOAM Announcements from OpenFOAM Foundation | 3 | December 23, 2014 03:43 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |