snappyHexMeshConfig: new -closedDomain, -minDimCells, -region options
-closedDomain domain does not contain inlets or outlets
-minDimCells <int> number of cells in the shortest direction, e.g. 10
-region <name> specify alternative mesh region
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2023 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2023-2024 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -57,6 +57,9 @@ class blockMeshCartesianConfiguration
|
||||
//- Number of cells in background mesh block
|
||||
Vector<label> nCells_;
|
||||
|
||||
//- Number of cells in background mesh shortest direction
|
||||
const label minDimCells_;
|
||||
|
||||
//- Refinement factor used to scale nCells
|
||||
const label refineFactor_;
|
||||
|
||||
@ -118,6 +121,7 @@ public:
|
||||
const meshingSurfaceList& surfaces,
|
||||
const bool& boundsOpt,
|
||||
const Vector<label>& nCells,
|
||||
const label minDimCells,
|
||||
const label refineFactor,
|
||||
const HashTable<Pair<word>>& patchOpts,
|
||||
const bool clearBoundary
|
||||
|
||||
Reference in New Issue
Block a user