From b4d7a319132bdaced4cd6d61e96f1905a9043624 Mon Sep 17 00:00:00 2001 From: Kutalmis Bercin Date: Wed, 24 Jan 2024 15:30:38 +0000 Subject: [PATCH] STYLE: regionFaModels: add/remove various comments --- .../KirchhoffShell/KirchhoffShell.C | 11 +++-------- .../velocityFilmShellFvPatchVectorField.C | 2 +- .../velocityFilmShellFvPatchVectorField.H | 4 ++-- .../vibrationShellFvPatchScalarField.H | 2 +- .../setTimeStepFaRegionsFunctionObject.C | 1 - .../kinematicThinFilm/kinematicThinFilm.C | 13 +++++-------- .../liquidFilm/liquidFilmBase.C | 19 ------------------- .../liquidFilm/liquidFilmBase.H | 11 +++++------ .../liquidFilmModel/liquidFilmModel.C | 8 -------- .../liquidFilmModel/liquidFilmModel.H | 15 ++++++--------- .../filmTurbulenceModel/filmTurbulenceModel.H | 6 +++--- .../filmTurbulenceModel/laminar/laminar.C | 1 - .../curvatureSeparation/curvatureSeparation.H | 3 +-- .../thermalShell/thermalShell.C | 5 +---- .../thermalShell/thermalShell.H | 8 ++++---- .../vibrationShellModel/vibrationShellModel.C | 1 - 16 files changed, 32 insertions(+), 78 deletions(-) diff --git a/src/regionFaModels/KirchhoffShell/KirchhoffShell.C b/src/regionFaModels/KirchhoffShell/KirchhoffShell.C index b3daab327e..7d0102f910 100644 --- a/src/regionFaModels/KirchhoffShell/KirchhoffShell.C +++ b/src/regionFaModels/KirchhoffShell/KirchhoffShell.C @@ -41,7 +41,6 @@ namespace regionModels // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // defineTypeNameAndDebug(KirchhoffShell, 0); - addToRunTimeSelectionTable(vibrationShellModel, KirchhoffShell, dictionary); // * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -56,10 +55,7 @@ bool KirchhoffShell::init(const dictionary& dict) void KirchhoffShell::solveDisplacement() { - if (debug) - { - InfoInFunction << endl; - } + DebugInFunction << endl; const Time& time = primaryMesh().time(); @@ -77,7 +73,7 @@ void KirchhoffShell::solveDisplacement() w_.oldTime().oldTime() = w00_; laplaceW_.oldTime() = laplaceW0_; laplace2W_.oldTime() = laplace2W0_; - } + } for ( @@ -89,7 +85,6 @@ void KirchhoffShell::solveDisplacement() !(++wSubCycle).end(); ) { - laplaceW_ = fac::laplacian(w_); laplace2W_ = fac::laplacian(laplaceW_); @@ -264,7 +259,7 @@ void KirchhoffShell::evolveRegion() nNonOrthCorr_ = solution().get