diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.H index ae2e3d4fbb..461d5071e8 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.H @@ -28,44 +28,56 @@ Group grpCoupledBoundaryConditions Description - This boundary condition provides a temperatue interface to an external + This boundary condition provides a temperature interface to an external application. Values are transferred as plain text files, where OpenFOAM data is written as: - # Patch: \ - \ \ \ \ - \ \ \ \ - \ \ \ \ + \verbatim + # Patch: + + + ... - \ \ \ \ + + \endverbatim and received as the constituent pieces of the `mixed' condition, i.e. - # Patch: \ - \ \ \ - \ \ \ - \ \ \ + \verbatim + # Patch: + + + ... - \ \ \ + + \endverbatim Data is sent/received as a single file for all patches from the directory - $FOAM_CASE/\ + \verbatim + $FOAM_CASE/ + \endverbatim At start-up, the boundary creates a lock file, i.e.. + \verbatim OpenFOAM.lock + \endverbatim ... to signal the external source to wait. During the boundary condition update, boundary values are written to file, e.g. - \.out + \verbatim + .out + \endverbatim The lock file is then removed, instructing the external source to take control of the program execution. When ready, the external program should create the return values, e.g. to file - \.in + \verbatim + .in + \endverbatim ... and then re-instate the lock file. The boundary condition will then read the return values, and pass program execution back to OpenFOAM. @@ -85,13 +97,13 @@ Description Example of the boundary condition specification: \verbatim - myPatch - { - type externalCoupledTemperature; - commsDir "$FOAM_CASE/comms"; - fileName data; - calcFrequency 1; - } + myPatch + { + type externalCoupledTemperature; + commsDir "$FOAM_CASE/comms"; + fileName data; + calcFrequency 1; + } \endverbatim SeeAlso diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H index 8e1e3a8c25..241f673ad7 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H @@ -82,7 +82,7 @@ Description } \endverbatim - Note: + Note: \li Only supply \c h and \c Ta, or \c q in the dictionary (see above) \li \c kappa and \c kappaName are inherited from temperatureCoupledBase. diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H index d861f56895..4ee5df4bf2 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H @@ -22,7 +22,7 @@ License along with OpenFOAM. If not, see . Class - Foam::thermalBaffle1DFvPatchScalarField + Foam::compressible::thermalBaffle1DFvPatchScalarField Group grpThermoBoundaryConditions diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H index b288e821d9..7e4c265270 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -22,7 +22,7 @@ License along with OpenFOAM. If not, see . Class - Foam::turbulentHeatFluxTemperatureFvPatchScalarField + Foam::compressible::turbulentHeatFluxTemperatureFvPatchScalarField Description Fixed heat boundary condition to specify temperature gradient. Input diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H index c541912d1e..ffe99ac734 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H @@ -27,15 +27,13 @@ Class Description Mixed boundary condition for temperature, to be used for heat-transfer - on back-to-back baffles.Optional thin thermal layer - resistances can be specified through thicknessLayers and kappaLayers - entries. + on back-to-back baffles. Optional thin thermal layer resistances can be + specified through thicknessLayers and kappaLayers entries. The thermal conductivity, \c kappa, can either be retrieved from the mesh database using the \c lookup option, or from a \c solidThermo or \c fluidThermo thermophysical package. - Specifies gradient and temperature such that the equations are the same on both sides: - refGradient = zero gradient @@ -64,7 +62,7 @@ Description kappa lookup; kappaName kappa; thicknessLayers (0.1 0.2 0.3 0.4); - kappaLayers (1 2 3 4) + kappaLayers (1 2 3 4); value uniform 300; } \endverbatim diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.H index 6bd2aaa6e9..9a22101405 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -55,24 +55,24 @@ Description type compressible::turbulentTemperatureRadCoupledMixed; Tnbr T; kappa lookup; - KappaName kappa; + kappaName kappa; QrNbr Qr; // or none. Name of Qr field on neighbour region Qr Qr; // or none. Name of Qr field on local region thicknessLayers (0.1 0.2 0.3 0.4); - kappaLayers (1 2 3 4) + kappaLayers (1 2 3 4); value uniform 300; } \endverbatim Needs to be on underlying mapped(Wall)FvPatch. - Note: kappa : heat conduction at patch. Gets supplied how to - lookup/calculate - kappa: - - 'lookup' : lookup volScalarField (or volSymmTensorField) with name - - 'fluidThermo' : use fluidThermo and compressible::RASmodel to calculate K - - 'solidThermo' : use solidThermo kappa() - - 'directionalSolidThermo' directionalKappa() + Note: + + \li \c kappa and \c kappaName are inherited from temperatureCoupledBase. + + +SeeAlso + Foam::temperatureCoupledBase SourceFiles turbulentTemperatureRadCoupledMixedFvPatchScalarField.C