From 9c039e438a54ebceebda885d6f4b2ee612c4a38d Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Wed, 24 Oct 2012 15:15:51 +0100 Subject: [PATCH] ENH: Moved temperatureJump boundary condition from finiteVolume library to thermo library --- src/thermophysicalModels/basic/Make/files | 1 + .../temperatureJump/temperatureJumpFvPatchScalarField.C | 1 - .../temperatureJump/temperatureJumpFvPatchScalarField.H | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/{finiteVolume/fields/fvPatchFields/derived => thermophysicalModels/basic/derivedFvPatchFields}/temperatureJump/temperatureJumpFvPatchScalarField.C (99%) rename src/{finiteVolume/fields/fvPatchFields/derived => thermophysicalModels/basic/derivedFvPatchFields}/temperatureJump/temperatureJumpFvPatchScalarField.H (98%) diff --git a/src/thermophysicalModels/basic/Make/files b/src/thermophysicalModels/basic/Make/files index 3dc3d0c082e..3ec888d37a7 100644 --- a/src/thermophysicalModels/basic/Make/files +++ b/src/thermophysicalModels/basic/Make/files @@ -11,6 +11,7 @@ derivedFvPatchFields/fixedEnergy/fixedEnergyFvPatchScalarField.C derivedFvPatchFields/gradientEnergy/gradientEnergyFvPatchScalarField.C derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.C derivedFvPatchFields/energyJump/energyJumpFvPatchScalarField.C +derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C derivedFvPatchFields/wallHeatTransfer/wallHeatTransferFvPatchScalarField.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C similarity index 99% rename from src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.C rename to src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C index 99be42e3d6f..0ace9a70e4c 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.C +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C @@ -103,7 +103,6 @@ Foam::temperatureJumpFvPatchScalarField::temperatureJumpFvPatchScalarField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - void Foam::temperatureJumpFvPatchScalarField::write(Ostream& os) const { fixedJumpFvPatchField<scalar>::write(os); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.H b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.H similarity index 98% rename from src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.H rename to src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.H index 0663a1cb867..bdb39e961f8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/temperatureJump/temperatureJumpFvPatchScalarField.H +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.H @@ -29,7 +29,7 @@ Group Description This boundary condition provides a temperature jump condition across a - coupled pair of cyclic patches. + coupled pair of cyclic patches when solving for energy. The jump is specified as a \c DataEntry type, to enable the use of, e.g. contant, polynomial, table values. @@ -61,6 +61,7 @@ Note SeeAlso Foam::fixedJumpFvPatchField + Foam::energyJumpFvPatchScalarField SourceFiles temperatureJumpFvPatchScalarField.C -- GitLab