ENH: construct fa::options from fvMesh instead of fvPatch
- these were previously constructing from an fvPatch (for simpler integration with regionFaModel) but this unnecessarily restricts the finiteArea to a single volume patch. - adjusted derived faOptions to support multiple patches
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2019-2021 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2022 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -80,7 +80,7 @@ vibrationShellModel::vibrationShellModel
|
||||
regionMesh(),
|
||||
dimensionedScalar(dimAcceleration, Zero)
|
||||
),
|
||||
faOptions_(Foam::fa::options::New(p)),
|
||||
faOptions_(Foam::fa::options::New(primaryMesh())),
|
||||
solid_(dict.subDict("solid"))
|
||||
{
|
||||
if (!faOptions_.optionList::size())
|
||||
|
||||
Reference in New Issue
Block a user