- Jan 13, 2020
-
-
Mattijs Janssens authored
ENH: regIOobject store() now also registers the object See merge request !326
-
- previously the store() method just set the ownedByRegistry flag. Now ensure that it is indeed registered first. - support register/store of tmp<> items. The tmp parameter is not cleared, but changed from PTR to CREF to allow further use. The implicit registration allows code simplification using the GeometricField::New factory method, for example. Old Code ======== volScalarField* ptr = new volScalarField ( IOobject ( fieldName, mesh.time().timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, true // Register ), mesh, dimless, zeroGradientFvPatchField<scalar>::typeName ); ptr->store(); New Code ======== auto tptr = volScalarField::New ( fieldName, mesh, dimless, zeroGradientFvPatchField<scalar>::typeName ); regIOobject::store(tptr); or even regIOobject::store ( volScalarField::New ( fieldName, mesh, dimless, zeroGradientFvPatchField<scalar>::typeName ) );
-
mattijs authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
mattijs authored
The collated container ('decomposedBlockData') is always binary but the 'payload' might be ascii so use that header information instead of the decomposeBlockData header.
-
- Jan 10, 2020
-
-
Andrew Heather authored
-
Andrew Heather authored
TUT: misc cleanup in various tutorials See merge request !324
-
Kutalmış Berçin authored
BAKW: ensures bitwise backward compatibility
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
BAKW: ensure bitwise backward compatibility
-
- Jan 09, 2020
-
-
Andrew Heather authored
BUG: wrong bounding of sensitivity contituents in case of many control boxes (Fixes #1549) Closes #1549 See merge request !325
-
Vaggelis Papoutsis authored
When more than one volumetric B-Splines control boxes are present, the sensitivity constituents corresponding to the non-active design variables were not bounded(zeroed) correctly. The resultant sensitivities, used in the optimization, were bounded correctly, so this was more a bug pertaining to the output file of the sensitivities rather than a functional one.
-
Kutalmış Berçin authored
BAKW: ensure bitwise backward compatibility
-
mattijs authored
-
mattijs authored
-
- Jan 08, 2020
-
-
Andrew Heather authored
-
- Jan 07, 2020
-
-
Andrew Heather authored
-
- Jan 06, 2020
- Jan 03, 2020
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
DEFEATURE: deprecate v2f model in favour of kEpsilonPhitF See merge request !319
-
-
- kEpsilonPhitF is a kEpsilon-based model which originated from (Durbin, 1995)’s v2-f methodology. However, the majority of v2-f model variants proved to be numerically stiff for segregated solution algorithms due to the coupled formulations of v2 and f fields, particularly on wall boundaries. The v2-f variant (i.e. OpenFOAM’s v2f model) due to (Lien and Kalitzin, 2001) reformulated the original v2-f model to enable segregated computations; however, a number of shortcomings regarding the model fidelity were reported in the literature. To overcome the shortcomings of the v2-f methodology, the v2-f approach was re-evaluated by (Laurence et al., 2005) by transforming v2 scale into its equivalent non-dimensional form, i.e. phit, to reduce the numerical stiffness. This variant, i.e. kEpsilonPhitF, is believed to provide numerical robustness, and insensitivity to grid anomalies while retaining the theoretical model fidelity of the original v2-f model. Accordingly the v2f RANS model is deprecated in favour of the variant kEpsilonPhitF model.
-
Andrew Heather authored
BUG: continuation of updateMethods with empty activeDesignVariables (#1540) See merge request !322
-
When activeDesignVariables are not set explicitly, all design variables are treated as active. These were allocated properly when starting from 0 but not when starting from an intermediate optimisation cycle (e.g. running 5 optimisation cycles, stopping and restarting). TUT: added a new tutorial including the restart of an optimisation run to help identify future regression
-
Andrew Heather authored
BUG: writeMorpherCPs expects a controlBoxes entry (#1538) See merge request !321
-
The controlBoxes wordList was removed from NURBS3DVolume in the pre-release phase but writeMorpherCPs was not updated accordingly. TUT: added the invocation of writeMorpherCPs in one of the tutotials to help identify future regression
-
Andrew Heather authored
BUG: Wrong FatalIOError message in displacementMethod and optMeshMovement (#1537) See merge request !320
-
- The core of the FatalIOError message was not printed due to exiting with FatalError instead of FatalIOError - Changed the TypeName in all derived classes of displacementMethod so that the toc printed by the FatalIOError corresponds to what the user should add in dynamicMeshDict
-
- Jan 02, 2020
-
-
sergio authored
When a contact resistance is used the T field on each coupled patch is different due to the thermal resistance. Thus, instead of solving for a unique Tw at the wall, we solve for Tw1 at one side then, the Tnbr internal becomes Tw2, which is the T of the nbr patch.
-
sergio authored
When a contact resistance is used the T field on each coupled patch is different due to the thermal resistance. Thus, instead of solving for a unique Tw at the wall, we solve for Tw1 at one side then, the Tnbr internal becomes Tw2, which is the T of the nbr patch.
-
- Dec 23, 2019
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Dec 20, 2019
-
-
Andrew Heather authored
-