mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Not recalculating size and alignment when meshing is over.
This commit is contained in:
@ -49,7 +49,7 @@ int main(int argc, char *argv[])
|
|||||||
"cvMeshDict",
|
"cvMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ_IF_MODIFIED,
|
IOobject::MUST_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -924,7 +924,8 @@ void Foam::conformalVoronoiMesh::updateSizesAndAlignments
|
|||||||
{
|
{
|
||||||
if
|
if
|
||||||
(
|
(
|
||||||
runTime_.timeIndex()
|
runTime_.run()
|
||||||
|
&& runTime_.timeIndex()
|
||||||
% cvMeshControls().sizeAndAlignmentRebuildFrequency() == 0
|
% cvMeshControls().sizeAndAlignmentRebuildFrequency() == 0
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user